
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-49385 is a Use-After-Free (UAF) vulnerability discovered in the Linux kernel's driver core. The vulnerability was disclosed and patched in 2022, affecting the driver base subsystem. The issue occurs when driver_attach(drv) fails, causing the driver_private to be freed while it remains added to the bus, resulting in a use-after-free condition (NVD).
The vulnerability exists in the bus_add_driver function within the Linux kernel's driver core. When driver_attach(drv) fails, the driver_private structure is freed, but it remains linked to the bus, leading to a use-after-free condition. The CVSS v3.1 base score for this vulnerability is 7.8 (High), with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (CISA-ADP).
The vulnerability could potentially lead to privilege escalation, system crashes, or arbitrary code execution in the context of the kernel. The high CVSS score indicates significant potential impact on the confidentiality, integrity, and availability of the affected system (NVD).
The vulnerability requires local access and low privileges to exploit. The attack complexity is low, requiring no user interaction, making it relatively straightforward to exploit if an attacker has local access to the system (CISA-ADP).
The vulnerability has been patched by adding code to delete the driver_private from the bus when driver_attach fails. The fix involves modifying the error handling path in the bus_add_driver function to call klist_del(&priv->knode_bus) before freeing the driver_private structure (Kernel Commit).
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."