{"id":"CVE-2026-99446","published":"2026-11-19T14:41:35Z","modified":"2026-11-19T14:41:35Z","title":"phy: core: Fix race-condition between _of_phy_get() and try_module_get()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nphy: core: Fix race-condition between _of_phy_get() and try_module_get()\n\nSashiko asked during a patch review if the existing usage pattern had a\nrace condition; specifically in of_phy_get() if it was possible between\nreturning from _of_phy_get() and running try_module_get() that a module\nmight be unbound leading to use-after-free.\n\nLooking at the code this appears to be so, there is no linkage between the\nphy and module under a synchronisation primitive.\n\nUsing the phy_provider_mutex in phy_get() will ensure there is a link between\nthe returned phy pointer and the module_get() bumping the module reference\ncount.\n\nAmend phy_get(), of_phy_get() and devm_of_phy_get_by_index() to fix the\nsame usage pattern.\n\nphy_provider_unregister() must take the phy_provider_mutex so amending\nphy_get()/of_phy_get() to take that same mutex guarantees there is no\nuse-after-free.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0022,"percentile":0.12624,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/2156c5aefd2c97a60766520bd04f4790f3b38f64","tags":[]},{"url":"https://git.kernel.org/stable/c/2ea5385758a7cc863d9e2f6b642c8e7820437980","tags":[]},{"url":"https://git.kernel.org/stable/c/8a9f16b5237eb5690cc109d37a545f034afa81de","tags":[]},{"url":"https://git.kernel.org/stable/c/090055ee629523092688da42428558ba56d4272f","tags":[]}],"priority":{"score":2.5,"factors":[{"name":"EPSS percentile","points":2.52}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= ff764963479a1b18721ab96e531404c50fefe8b1, < 2156c5aefd2c97a60766520bd04f4790f3b38f64",">= ff764963479a1b18721ab96e531404c50fefe8b1, < 2ea5385758a7cc863d9e2f6b642c8e7820437980",">= ff764963479a1b18721ab96e531404c50fefe8b1, < 8a9f16b5237eb5690cc109d37a545f034afa81de",">= ff764963479a1b18721ab96e531404c50fefe8b1, < 090055ee629523092688da42428558ba56d4272f"]},{"vendor":"Linux","product":"Linux","versions":["3.13"]}],"euvd":{"id":"EUVD-2026-130112","exploited":false,"provenance":"source"}}