
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-48754 is a use-after-free vulnerability in the Linux kernel's phylib subsystem. The issue was discovered in the phy_detach() function where a call to phy_device_reset(phydev) was incorrectly placed after the put_device() call, potentially leading to a use-after-free condition. The vulnerability affects Linux kernel version 4.16 and later versions (ASEC).
The vulnerability was introduced by commit bafbdd527d56 ("phylib: Add device reset GPIO support") which added a call to phy_device_reset(phydev) after the put_device() call in phy_detach(). The comment before the put_device() call indicates that the phydev might be deallocated after put_device(), making any subsequent access to phydev potentially dangerous. The CVSS v3.1 base score for this vulnerability is 8.4 (HIGH), with the vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD).
This use-after-free vulnerability could potentially lead to memory corruption, system crashes, or privilege escalation in affected Linux systems. The high CVSS score indicates that successful exploitation could result in complete compromise of system confidentiality, integrity, and availability (CISA-ADP).
The vulnerability requires local access to the system and no special privileges or user interaction for exploitation. The attack complexity is rated as low, indicating that the vulnerability is relatively straightforward to exploit under the right conditions (NVD).
The vulnerability has been fixed by moving the phy_device_reset(phydev) call before the put_device() call in the phy_detach() function. Users should update their Linux kernel to a patched version. The fix has been backported to various stable kernel versions and is available through distribution-specific security updates (Kernel Git).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."