NetSight
high7.8

CVE-2023-53308

In the Linux kernel, the following vulnerability has been resolved: net: fec: Better handle pm_runtime_get() failing in .remove() In the (unlikely) event that …

Impact

In the Linux kernel, the following vulnerability has been resolved: net: fec: Better handle pm_runtime_get() failing in .remove() In the (unlikely) event that pm_runtime_get() (disguised as pm_runtime_resume_and_get()) fails, the remove callback returned an error early. The problem with this is that the driver core ignores the error value and continues removing the device. This results in a resource leak. Worse the devm allocated resources are freed and so if a callback of the driver is called later the register mapping is already gone which probably results in a crash.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 4.9.206 before 4.10
from 4.14.158 before 4.14.316
from 4.19.88 before 4.19.284
from 5.3.15 before 5.4
from 5.4.1 before 5.4.244
from 5.5 before 5.10.181

Weakness classification

References