{"id":"CVE-2026-99446","aliases":[],"title":"phy: core: Fix race-condition between _of_phy_get() and try_module_get()","originalDescription":"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.","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":{"score":0.0022,"percentile":0.13458},"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"Linux","range":">=ff764963479a1b18721ab96e531404c50fefe8b1, <090055ee629523092688da42428558ba56d4272f","fixed":"090055ee629523092688da42428558ba56d4272f"},{"ecosystem":"vendor","name":"Linux","range":">=ff764963479a1b18721ab96e531404c50fefe8b1, <2156c5aefd2c97a60766520bd04f4790f3b38f64","fixed":"2156c5aefd2c97a60766520bd04f4790f3b38f64"},{"ecosystem":"vendor","name":"Linux","range":">=ff764963479a1b18721ab96e531404c50fefe8b1, <2ea5385758a7cc863d9e2f6b642c8e7820437980","fixed":"2ea5385758a7cc863d9e2f6b642c8e7820437980"},{"ecosystem":"vendor","name":"Linux","range":">=ff764963479a1b18721ab96e531404c50fefe8b1, <8a9f16b5237eb5690cc109d37a545f034afa81de","fixed":"8a9f16b5237eb5690cc109d37a545f034afa81de"},{"ecosystem":"vendor","name":"Linux","range":">=ff764963479a1b18721ab96e531404c50fefe8b1, <ad72ea0fd5f00a234f17fe4e3f8c9936e638b6c8","fixed":"ad72ea0fd5f00a234f17fe4e3f8c9936e638b6c8"},{"ecosystem":"vendor","name":"Linux","range":">=ff764963479a1b18721ab96e531404c50fefe8b1, <bcf7154dee9399c8e51686830d48cb61fee2a915","fixed":"bcf7154dee9399c8e51686830d48cb61fee2a915"},{"ecosystem":"vendor","name":"Linux","range":">=ff764963479a1b18721ab96e531404c50fefe8b1, <d34440199817f1570bce2164cf3504b9ff45805a","fixed":"d34440199817f1570bce2164cf3504b9ff45805a"},{"ecosystem":"vendor","name":"Linux","range":">=ff764963479a1b18721ab96e531404c50fefe8b1, <e4061a95067d9aed4b35fa8cd25493ac010e7a2f","fixed":"e4061a95067d9aed4b35fa8cd25493ac010e7a2f"}],"references":[{"url":"https://git.kernel.org/stable/c/2156c5aefd2c97a60766520bd04f4790f3b38f64","type":"other"},{"url":"https://git.kernel.org/stable/c/2ea5385758a7cc863d9e2f6b642c8e7820437980","type":"other"},{"url":"https://git.kernel.org/stable/c/8a9f16b5237eb5690cc109d37a545f034afa81de","type":"other"},{"url":"https://git.kernel.org/stable/c/090055ee629523092688da42428558ba56d4272f","type":"other"},{"url":"https://git.kernel.org/stable/c/bcf7154dee9399c8e51686830d48cb61fee2a915","type":"other"},{"url":"https://git.kernel.org/stable/c/ad72ea0fd5f00a234f17fe4e3f8c9936e638b6c8","type":"other"},{"url":"https://git.kernel.org/stable/c/d34440199817f1570bce2164cf3504b9ff45805a","type":"other"},{"url":"https://git.kernel.org/stable/c/e4061a95067d9aed4b35fa8cd25493ac010e7a2f","type":"other"}],"sources":[{"name":"nvd","at":"2026-11-23T08:46:27.192Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99446","license":"NVD terms of use","firstSeenAt":"2026-11-19T15:43:48.062Z"},{"name":"cvelistV5","at":"2026-11-23T21:30:53.956Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99446","license":"CVE Terms of Use","firstSeenAt":"2026-11-19T15:00:33.853Z"}],"firstSeenAt":"2026-11-19T15:00:33.853Z","publishedAt":"2026-11-19T14:41:35.219Z","modifiedAt":"2026-11-23T08:17:48.473Z"}