CVE-2022-49385 Details
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.
A use-after-free vulnerability has been identified in the Linux kernel's driver management system. When the driver_attach function fails, it inadvertently frees the driver_private data while the driver is still registered on the bus. This mismatch creates a use-after-free condition. The vulnerability affects several versions of the Linux kernel, though specific versions are not detailed. The issue arises in the driver attachment process, where improper handling of driver data can lead to memory management errors.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 27, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/310862e574001a97ad02272bac0fd13f75f42a27 | kernel.org | Patch |
| https://git.kernel.org/stable/c/5389101257828d1913d713d9a40acbe14f5961df | kernel.org | Patch |
| https://git.kernel.org/stable/c/5d709f58c743166fe1c6914b9de0ae8868600d9b | kernel.org | Patch |
| https://git.kernel.org/stable/c/823f24f2e329babd0330200d0b74882516fe57f4 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c059665c84feab46b7173d3a1bf36c2fb7f9df86 | kernel.org | Patch |
| https://git.kernel.org/stable/c/cdf1a683a01583bca4b618dd16223cbd6e462e21 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux 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 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 25, 2025 | Initial Analysis | [email protected] |
| Feb 27, 2025 | CVE Modified | CISA-ADP |
| Feb 26, 2025 | New CVE Received | kernel.org |