Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2023-53308

net: fec: Better handle pm_runtime_get() failing in .remove()

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 982d424239d7fae74938557428d45c717567ea9b to < d52a0cca591e899d4e5c8ab19e067b4c6b7d104faffected
  • 04748841f7a02ec6ff07fadfc5d1f8e24e61946d to < be85912c36ddca3e8b2eef1b5392cd8db6bdb730affected
  • a31eda65ba210741b598044d045480494d0ed52a to < b22b514209ff8c4287abb853399890ab97e1b5caaffected
  • a31eda65ba210741b598044d045480494d0ed52a to < 83996d317b1deddc85006376082e8886f55aa709affected
  • a31eda65ba210741b598044d045480494d0ed52a to < c1bc2870f14e526a01897e14c747a0a0ca125231affected
  • a31eda65ba210741b598044d045480494d0ed52a to < 9407454a9b18bbeff216e8ecde87ffb2171e9ccfaffected
  • a31eda65ba210741b598044d045480494d0ed52a to < e02d8d5b1602689b98d9b91550a11b9b57baedbeaffected
  • a31eda65ba210741b598044d045480494d0ed52a to < f816b9829b19394d318e01953aa3b2721bca040daffected
  • d961a58dcc9778948502847303d29d018a49710aaffected
  • d9c7531fb4708eb3f22cccdb0b7371834d37555aaffected
  • 4.14.158 to < 4.14.316affected
  • 4.19.88 to < 4.19.284affected
  • 4.9.206 to < 4.10affected
  • 5.3.15 to < 5.4affected

Linux Linux

Default version status: affected

  • 5.4affected
  • 0 to < 5.4unaffected
  • 4.14.316 to ≤ 4.14.*unaffected
  • 4.19.284 to ≤ 4.19.*unaffected
  • 5.4.244 to ≤ 5.4.*unaffected
  • 5.10.181 to ≤ 5.10.*unaffected
  • 5.15.113 to ≤ 5.15.*unaffected
  • 6.1.30 to ≤ 6.1.*unaffected
  • 6.3.4 to ≤ 6.3.*unaffected
  • 6.4 to ≤ *unaffected

References