CVE-2022-49385
driver: base: fix UAF when driver_attach failed
Vexday Risk Score
21Low
SSVC decision (CISA)
Track
No exploitation signal → monitor
CVSS 7.8EPSS 0.3%KEV nãoPoC —Nuclei —Metasploit —Patch —
Lifecycle
26 Feb 2025Published on NVD
Recommendation: Monitor — no exploitation signal at the moment.
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:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
Linux · LinuxWant to know if your infrastructure is exposed to this?
Talk to TrueHacking →References
https://git.kernel.org/stable/c/310862e574001a97ad02272bac0fd13f75f42a27https://git.kernel.org/stable/c/5389101257828d1913d713d9a40acbe14f5961dfhttps://git.kernel.org/stable/c/5d709f58c743166fe1c6914b9de0ae8868600d9bhttps://git.kernel.org/stable/c/823f24f2e329babd0330200d0b74882516fe57f4https://git.kernel.org/stable/c/c059665c84feab46b7173d3a1bf36c2fb7f9df86https://git.kernel.org/stable/c/cdf1a683a01583bca4b618dd16223cbd6e462e21