CVE-2022-48754

published 20 Jun 2024 · updated 5 Aug 2026

phylib: fix potential use-after-free

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 67d271760b037ce0806d687ee6057edc8afd4205, Kernel aefaccd19379d6c4620269a162bfb88ff687f289, Kernel bd024e36f68174b1793906c39ca16cee0c9295c2 and 3 more.

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().

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.16, >=bafbdd527d569c8200521f2f7579f65a044271be <67d271760b037ce0806d687ee6057edc8afd4205, >=bafbdd527d569c8200521f2f7579f65a044271be <aefaccd19379d6c4620269a162bfb88ff687f289, >=bafbdd527d569c8200521f2f7579f65a044271be <bd024e36f68174b1793906c39ca16cee0c9295c2, >=bafbdd527d569c8200521f2f7579f65a044271be <cb2fab10fc5e7a3aa1bb0a68a3abdcf3e37852af, >=bafbdd527d569c8200521f2f7579f65a044271be <cbda1b16687580d5beee38273f6241ae3725960c, >=bafbdd527d569c8200521f2f7579f65a044271be <f39027cbada43b33566c312e6be3db654ca3ad1767d271760b037ce0806d687ee6057edc8afd4205, aefaccd19379d6c4620269a162bfb88ff687f289, bd024e36f68174b1793906c39ca16cee0c9295c2, cb2fab10fc5e7a3aa1bb0a68a3abdcf3e37852af, cbda1b16687580d5beee38273f6241ae3725960c, f39027cbada43b33566c312e6be3db654ca3ad17

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-48754 severity on Zeptric[![CVE-2022-48754](https://zeptric.io/badge/cve/CVE-2022-48754.svg)](https://zeptric.io/cve/CVE-2022-48754)