CVE
CVE-2023-53308
CNA description
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 versions
All Linux kernel vulnerabilities →
- 6.4-rc2This version only
- 6.4-rc1This version only
- ≥ 6.2, < 6.3.4Fixed in 6.3.4
- ≥ 5.16, < 6.1.30Fixed in 6.1.30
- ≥ 5.11, < 5.15.113Fixed in 5.15.113
- ≥ 5.5, < 5.10.181Fixed in 5.10.181
- ≥ 5.4.1, < 5.4.244Fixed in 5.4.244
- 5.4This version only
- ≥ 5.3.15, < 5.4Fixed in 5.4
- ≥ 4.19.88, < 4.19.284Fixed in 4.19.284
- ≥ 4.14.158, < 4.14.316Fixed in 4.14.316
- ≥ 4.9.206, < 4.10Fixed in 4.10
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/83996d317b1deddc85006376082e8886f55aa709 · Patch
- git.kernel.org/stable/c/9407454a9b18bbeff216e8ecde87ffb2171e9ccf · Patch
- git.kernel.org/stable/c/b22b514209ff8c4287abb853399890ab97e1b5ca · Patch
- git.kernel.org/stable/c/be85912c36ddca3e8b2eef1b5392cd8db6bdb730 · Patch
- git.kernel.org/stable/c/c1bc2870f14e526a01897e14c747a0a0ca125231 · Patch
- git.kernel.org/stable/c/d52a0cca591e899d4e5c8ab19e067b4c6b7d104f · Patch
- git.kernel.org/stable/c/e02d8d5b1602689b98d9b91550a11b9b57baedbe · Patch
- git.kernel.org/stable/c/f816b9829b19394d318e01953aa3b2721bca040d · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.