NetSight
high7.8

CVE-2022-49385

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…

Impact

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.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 3.9 before 5.4.198
from 5.5 before 5.10.122
from 5.11 before 5.15.47
from 5.16 before 5.17.15
from 5.18 before 5.18.4

Weakness classification

References