CVE-2022-49385

HIGH

Linux Kernel - Use-After-Free in Driver Attach Failure Handling

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 7.8
EPSS 0.0028
EPSS Percentile 19.9%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-416
Status published
Products (20)
linux/Kernel 3.9.0 - 5.4.198linux
linux/Kernel 5.11.0 - 5.15.47linux
linux/Kernel 5.16.0 - 5.17.15linux
linux/Kernel 5.18.0 - 5.18.4linux
linux/Kernel 5.5.0 - 5.10.122linux
Linux/Linux < 3.9
Linux/Linux 190888ac01d059e38ffe77a2291d44cafa9016fb - 310862e574001a97ad02272bac0fd13f75f42a27
Linux/Linux 190888ac01d059e38ffe77a2291d44cafa9016fb - 5389101257828d1913d713d9a40acbe14f5961df
Linux/Linux 190888ac01d059e38ffe77a2291d44cafa9016fb - 5d709f58c743166fe1c6914b9de0ae8868600d9b
Linux/Linux 190888ac01d059e38ffe77a2291d44cafa9016fb - 823f24f2e329babd0330200d0b74882516fe57f4
... and 10 more
Published Feb 26, 2025
Tracked Since Feb 18, 2026