CVE-2022-49385

published 26 Feb 2025 · updated 5 Aug 2026

driver: base: fix UAF when driver_attach failed

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 310862e574001a97ad02272bac0fd13f75f42a27, Kernel 5389101257828d1913d713d9a40acbe14f5961df, Kernel 5d709f58c743166fe1c6914b9de0ae8868600d9b and 3 more.

In the Linux kernel, the following vulnerability has been resolved: driver: base: fix UAF when driver_attach failed When driver_attach(drv); failed, the driver_private will be freed. But it has been added to the bus, which caused a UAF. To fix it, we need to delete it from the bus when failed.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=3.9, >=190888ac01d059e38ffe77a2291d44cafa9016fb <310862e574001a97ad02272bac0fd13f75f42a27, >=190888ac01d059e38ffe77a2291d44cafa9016fb <5389101257828d1913d713d9a40acbe14f5961df, >=190888ac01d059e38ffe77a2291d44cafa9016fb <5d709f58c743166fe1c6914b9de0ae8868600d9b, >=190888ac01d059e38ffe77a2291d44cafa9016fb <823f24f2e329babd0330200d0b74882516fe57f4, >=190888ac01d059e38ffe77a2291d44cafa9016fb <c059665c84feab46b7173d3a1bf36c2fb7f9df86, >=190888ac01d059e38ffe77a2291d44cafa9016fb <cdf1a683a01583bca4b618dd16223cbd6e462e21310862e574001a97ad02272bac0fd13f75f42a27, 5389101257828d1913d713d9a40acbe14f5961df, 5d709f58c743166fe1c6914b9de0ae8868600d9b, 823f24f2e329babd0330200d0b74882516fe57f4, c059665c84feab46b7173d3a1bf36c2fb7f9df86, cdf1a683a01583bca4b618dd16223cbd6e462e21

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-49385 severity on Zeptric[![CVE-2022-49385](https://zeptric.io/badge/cve/CVE-2022-49385.svg)](https://zeptric.io/cve/CVE-2022-49385)