CVE-2022-49385: Use-After-Free in Linux Kernel driver_attach
- Vendor
- Linux
CVE-2022-49385 is a use-after-free vulnerability in the Linux kernel driver core. When driver_attach() fails, its associated driver_private object is freed but remains registered on the bus, leaving a dangling bus reference that can subsequently be used. The upstream correction removes the driver from the bus when attachment fails.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
A successful trigger creates a dangling reference to freed driver-private memory and results in a use-after-free condition in the kernel driver core. The available information does not establish a specific post-exploitation primitive such as kernel code execution or information disclosure.
Mitigation
If you can’t patch tonight, do this now.
Where an updated kernel cannot immediately be deployed, restrict local access and limit the ability of untrusted users to load, configure, or interact with unnecessary kernel drivers and modules. No complete non-patch mitigation is specified.
Remediation
Patch, then assume compromise.
Install a kernel update containing the driver_attach() failure-path fix, which removes the driver from the bus when attachment fails. For Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions, Red Hat supplied fixes in RHSA-2025:14744 (kernel version 5.14.0-70.144.1.el9_0) and RHSA-2025:14749 (kernel-rt version 5.14.0-70.144.1.rt21.216.el9_0). Reboot after installing the updated kernel packages.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2022-49385 exploited in the wild?
- As of Sep 30, 2026, Mallory has no reports of CVE-2022-49385 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2022-49385?
- As of Sep 30, 2026, Mallory has found no public exploit for CVE-2022-49385.
- Is there a patch for CVE-2022-49385?
- Install a kernel update containing the driver_attach() failure-path fix, which removes the driver from the bus when attachment fails. For Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions, Red Hat supplied fixes in RHSA-2025:14744 (kernel version 5.14.0-70.144.1.el9_0) and RHSA-2025:14749 (kernel-rt version 5.14.0-70.144.1.rt21.216.el9_0).
- What products are affected by CVE-2022-49385?
- Linux Kernel.
- How severe is CVE-2022-49385?
- CVE-2022-49385 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.31% (16th percentile) as of Sep 30, 2026.
Recent activity
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.