GHSA-WF98-RR2P-8P9M
Vulnerability from github – Published: 2026-11-19 15:31 – Updated: 2026-11-19 15:31In 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.
{
"affected": [],
"aliases": [
"CVE-2026-99446"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-19T15:17:58Z",
"severity": null
},
"details": "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.",
"id": "GHSA-wf98-rr2p-8p9m",
"modified": "2026-11-19T15:31:24Z",
"published": "2026-11-19T15:31:24Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99446"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/090055ee629523092688da42428558ba56d4272f"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/2156c5aefd2c97a60766520bd04f4790f3b38f64"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/2ea5385758a7cc863d9e2f6b642c8e7820437980"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/8a9f16b5237eb5690cc109d37a545f034afa81de"
}
],
"schema_version": "1.4.0",
"severity": []
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.