{"id":"CVE-2026-99446","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-19T15:17:58.280","lastModified":"2026-11-23T08:17:48.473","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/phy/phy-core.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"ff764963479a1b18721ab96e531404c50fefe8b1","lessThan":"bcf7154dee9399c8e51686830d48cb61fee2a915","versionType":"git","status":"affected"},{"version":"ff764963479a1b18721ab96e531404c50fefe8b1","lessThan":"ad72ea0fd5f00a234f17fe4e3f8c9936e638b6c8","versionType":"git","status":"affected"},{"version":"ff764963479a1b18721ab96e531404c50fefe8b1","lessThan":"d34440199817f1570bce2164cf3504b9ff45805a","versionType":"git","status":"affected"},{"version":"ff764963479a1b18721ab96e531404c50fefe8b1","lessThan":"e4061a95067d9aed4b35fa8cd25493ac010e7a2f","versionType":"git","status":"affected"},{"version":"ff764963479a1b18721ab96e531404c50fefe8b1","lessThan":"2156c5aefd2c97a60766520bd04f4790f3b38f64","versionType":"git","status":"affected"},{"version":"ff764963479a1b18721ab96e531404c50fefe8b1","lessThan":"2ea5385758a7cc863d9e2f6b642c8e7820437980","versionType":"git","status":"affected"},{"version":"ff764963479a1b18721ab96e531404c50fefe8b1","lessThan":"8a9f16b5237eb5690cc109d37a545f034afa81de","versionType":"git","status":"affected"},{"version":"ff764963479a1b18721ab96e531404c50fefe8b1","lessThan":"090055ee629523092688da42428558ba56d4272f","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/phy/phy-core.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"3.13","status":"affected"},{"version":"0","lessThan":"3.13","versionType":"semver","status":"unaffected"},{"version":"5.10.275","lessThanOrEqual":"5.10.*","versionType":"semver","status":"unaffected"},{"version":"5.15.226","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.61","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.2","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/090055ee629523092688da42428558ba56d4272f","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/2156c5aefd2c97a60766520bd04f4790f3b38f64","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/2ea5385758a7cc863d9e2f6b642c8e7820437980","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/8a9f16b5237eb5690cc109d37a545f034afa81de","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/ad72ea0fd5f00a234f17fe4e3f8c9936e638b6c8","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/bcf7154dee9399c8e51686830d48cb61fee2a915","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/d34440199817f1570bce2164cf3504b9ff45805a","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/e4061a95067d9aed4b35fa8cd25493ac010e7a2f","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}