# CVE-2022-49385: linux: In the Linux kernel, the following vulnerability has been resolved:  driver: base: fix UAF when driver_attach failed...

CVE-2022-49385 is fixed in linux on 1 platform, first by DEBIAN-CVE-2022-49385, released February 26, 2025. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2022-49385
- Priority: High
- CVSS: 7.8 (high)
- EPSS: 0.0030
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Feb 26, 2025

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | linux Debian 12.15 (bookworm) | 5.18.5-1 | [DEBIAN-CVE-2022-49385](https://patchblox.com/security/data/fix/linux/debian-cve-2022-49385.md) | Feb 26, 2025 |
| Linux | linux Debian 13.5 (trixie) | 5.18.5-1 | [DEBIAN-CVE-2022-49385](https://patchblox.com/security/data/fix/linux/debian-cve-2022-49385.md) | Feb 26, 2025 |
| Linux | linux Debian 14 | 5.18.5-1 | [DEBIAN-CVE-2022-49385](https://patchblox.com/security/data/fix/linux/debian-cve-2022-49385.md) | Feb 26, 2025 |

---

Data as of 2026-11-07T12:40:37Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo
