Skip to content
7.8 High

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

Affected products and versions

Product Affected versions Fixed in
Linux 5.19 earliest → < 5.19 5.19
Linux 5.18 earliest → < 5.18.4 5.18.4
Linux 5.17 earliest → < 5.17.15 5.17.15
Linux 5.15 earliest → < 5.15.47 5.15.47
Linux 5.10 earliest → < 5.10.122 5.10.122
Linux 5.4 earliest → < 5.4.198 5.4.198
Linux 3.9 No fix stated

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.

The 20771 CVEs of Linux →
Track this CVE