Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: phylib: fix potential use-after-free Commit bafbdd527d56 ("phylib: Add device reset GPIO support") added call to phy_device_reset(phydev) after the put_device() call in phy_detach(). The comment before the put_device() call says that the phydev might go away with put_device(). Fix potential use-after-free by calling phy_device_reset() before put_device().
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.16, < 4.19.228 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/67d271760b037ce0806d687ee6057edc8afd4205Patch
- https://git.kernel.org/stable/c/aefaccd19379d6c4620269a162bfb88ff687f289Patch
- https://git.kernel.org/stable/c/bd024e36f68174b1793906c39ca16cee0c9295c2Patch
- https://git.kernel.org/stable/c/cb2fab10fc5e7a3aa1bb0a68a3abdcf3e37852afPatch
- https://git.kernel.org/stable/c/cbda1b16687580d5beee38273f6241ae3725960cPatch
- https://git.kernel.org/stable/c/f39027cbada43b33566c312e6be3db654ca3ad17Patch
- https://git.kernel.org/stable/c/67d271760b037ce0806d687ee6057edc8afd4205Patch
- https://git.kernel.org/stable/c/aefaccd19379d6c4620269a162bfb88ff687f289Patch
- https://git.kernel.org/stable/c/bd024e36f68174b1793906c39ca16cee0c9295c2Patch
- https://git.kernel.org/stable/c/cb2fab10fc5e7a3aa1bb0a68a3abdcf3e37852afPatch
- https://git.kernel.org/stable/c/cbda1b16687580d5beee38273f6241ae3725960cPatch
- https://git.kernel.org/stable/c/f39027cbada43b33566c312e6be3db654ca3ad17Patch
FAQ
What is CVE-2022-48754?
CVE-2022-48754 is a vulnerability with a CVSS score of 8.4 (HIGH). In the Linux kernel, the following vulnerability has been resolved: phylib: fix potential use-after-free Commit bafbdd527d56 ("phylib: Add device reset GPIO support") added call to phy_device_reset(...
How severe is CVE-2022-48754?
CVE-2022-48754 has been rated HIGH with a CVSS base score of 8.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-48754?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.