# CVE-2026-99446: phy: core: Fix race-condition between _of_phy_get() and try_module_get()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-11-19T14:41:35.219Z
- Modified: 2026-11-23T08:17:48.473Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

phy: core: Fix race-condition between _of_phy_get() and try_module_get()

Sashiko asked during a patch review if the existing usage pattern had a
race condition; specifically in of_phy_get() if it was possible between
returning from _of_phy_get() and running try_module_get() that a module
might be unbound leading to use-after-free.

Looking at the code this appears to be so, there is no linkage between the
phy and module under a synchronisation primitive.

Using the phy_provider_mutex in phy_get() will ensure there is a link between
the returned phy pointer and the module_get() bumping the module reference
count.

Amend phy_get(), of_phy_get() and devm_of_phy_get_by_index() to fix the
same usage pattern.

phy_provider_unregister() must take the phy_provider_mutex so amending
phy_get()/of_phy_get() to take that same mutex guarantees there is no
use-after-free.

(As written by CVE List.)

## Affected

- Linux Linux: from ff764963479a1b18721ab96e531404c50fefe8b1 before bcf7154dee9399c8e51686830d48cb61fee2a915; from ff764963479a1b18721ab96e531404c50fefe8b1 before ad72ea0fd5f00a234f17fe4e3f8c9936e638b6c8; from ff764963479a1b18721ab96e531404c50fefe8b1 before d34440199817f1570bce2164cf3504b9ff45805a; from ff764963479a1b18721ab96e531404c50fefe8b1 before e4061a95067d9aed4b35fa8cd25493ac010e7a2f; from ff764963479a1b18721ab96e531404c50fefe8b1 before 2156c5aefd2c97a60766520bd04f4790f3b38f64; from ff764963479a1b18721ab96e531404c50fefe8b1 before 2ea5385758a7cc863d9e2f6b642c8e7820437980; from ff764963479a1b18721ab96e531404c50fefe8b1 before 8a9f16b5237eb5690cc109d37a545f034afa81de; from ff764963479a1b18721ab96e531404c50fefe8b1 before 090055ee629523092688da42428558ba56d4272f; 3.13 (not affected: before 3.13; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.61 up to 6.18.*; from 7.3.2 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/bcf7154dee9399c8e51686830d48cb61fee2a915>
- <https://git.kernel.org/stable/c/ad72ea0fd5f00a234f17fe4e3f8c9936e638b6c8>
- <https://git.kernel.org/stable/c/d34440199817f1570bce2164cf3504b9ff45805a>
- <https://git.kernel.org/stable/c/e4061a95067d9aed4b35fa8cd25493ac010e7a2f>
- <https://git.kernel.org/stable/c/2156c5aefd2c97a60766520bd04f4790f3b38f64>
- <https://git.kernel.org/stable/c/2ea5385758a7cc863d9e2f6b642c8e7820437980>
- <https://git.kernel.org/stable/c/8a9f16b5237eb5690cc109d37a545f034afa81de>
- <https://git.kernel.org/stable/c/090055ee629523092688da42428558ba56d4272f>

## Sources

- CVE List: [CVE-2026-99446](https://www.cve.org/CVERecord?id=CVE-2026-99446), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-99446](https://nvd.nist.gov/vuln/detail/CVE-2026-99446), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-99446 · Whole record: https://cve.day/CVE-2026-99446.json · Rebuilt by cve.day 2026-11-25T22:59:52.073Z
