net: fec: Better handle pm_runtime_get() failing in .remove()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f816b9829b19394d318e01953aa3b2721bca040d, Kernel 4.19.284, Kernel 4.10 and 14 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=a31eda65ba210741b598044d045480494d0ed52a <f816b9829b19394d318e01953aa3b2721bca040d, >=4.19.88 <4.19.284, >=4.9.206 <4.10, >=5.3.15 <5.4, >=982d424239d7fae74938557428d45c717567ea9b <d52a0cca591e899d4e5c8ab19e067b4c6b7d104f, >=a31eda65ba210741b598044d045480494d0ed52a <83996d317b1deddc85006376082e8886f55aa709, >=a31eda65ba210741b598044d045480494d0ed52a <9407454a9b18bbeff216e8ecde87ffb2171e9ccf, >=a31eda65ba210741b598044d045480494d0ed52a <b22b514209ff8c4287abb853399890ab97e1b5ca, >=a31eda65ba210741b598044d045480494d0ed52a <c1bc2870f14e526a01897e14c747a0a0ca125231, >=a31eda65ba210741b598044d045480494d0ed52a <e02d8d5b1602689b98d9b91550a11b9b57baedbe, =5.4, =d961a58dcc9778948502847303d29d018a49710a, =d9c7531fb4708eb3f22cccdb0b7371834d37555a, >=04748841f7a02ec6ff07fadfc5d1f8e24e61946d <be85912c36ddca3e8b2eef1b5392cd8db6bdb730, >=4.14.158 <4.14.316 | f816b9829b19394d318e01953aa3b2721bca040d, 4.19.284, 4.10, 5.4, d52a0cca591e899d4e5c8ab19e067b4c6b7d104f, 83996d317b1deddc85006376082e8886f55aa709, 9407454a9b18bbeff216e8ecde87ffb2171e9ccf, b22b514209ff8c4287abb853399890ab97e1b5ca, c1bc2870f14e526a01897e14c747a0a0ca125231, e02d8d5b1602689b98d9b91550a11b9b57baedbe, be85912c36ddca3e8b2eef1b5392cd8db6bdb730, 4.14.316 |
| linux-kernel: Kernel | >=4.19.88 <4.19.284, >=4.9.206 <4.10, >=5.11.0 <5.15.113, >=5.16.0 <6.1.30, >=5.3.15 <5.4, >=5.4.0 <5.4.244, >=5.5.0 <5.10.181, >=6.2.0 <6.3.4, >=4.14.158 <4.14.316 | 4.19.284, 4.10, 5.15.113, 6.1.30, 5.4, 5.4.244, 5.10.181, 6.3.4, 4.14.316 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket