CVE-2022-49385: driver: base: fix UAF when driver_attach failed
Vulnerability summary
CVE-2022-49385 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.30% chance of exploitation in the next 30 days, higher than 22.4% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 9 · Related 7Timeline
- 26-02-2025PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.30%
Chance of exploitation in the next 30 days
Percentile
22%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.30% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu111 products
- linuxAll versions (No fix recorded) | < 5.4.0-126.142 | < 5.15.0-48.54
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.4.0-1085.92 | < 5.15.0-1020.24
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 190888ac01d059e38ffe77a2291d44cafa9016fb, < 5d709f58c743166fe1c6914b9de0ae8868600d9b | ≥ 190888ac01d059e38ffe77a2291d44cafa9016fb, < 823f24f2e329babd0330200d0b74882516fe57f4 | ≥ 190888ac01d059e38ffe77a2291d44cafa9016fb, < cdf1a683a01583bca4b618dd16223cbd6e462e21 | ≥ 190888ac01d059e38ffe77a2291d44cafa9016fb, < 5389101257828d1913d713d9a40acbe14f5961df | ≥ 190888ac01d059e38ffe77a2291d44cafa9016fb, < c059665c84feab46b7173d3a1bf36c2fb7f9df86 | ≥ 190888ac01d059e38ffe77a2291d44cafa9016fb, < 310862e574001a97ad02272bac0fd13f75f42a27 | 3.9
- linux_kernel≥ 3.9, < 5.4.198 | ≥ 5.5, < 5.10.122 | ≥ 5.11, < 5.15.47 | ≥ 5.16, < 5.17.15 | ≥ 5.18, < 5.18.4
Debian1 product
- linux< 5.18.5-1
3 vendors · 114 products