Double Free in Linux

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 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.

Vulnerability class: Double Free

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS 0.002, 7.1th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 6.1.30, d961a58dcc9778948502847303d29d018a49710a, 5.10.181
  • Linux Kernel — versions 5.4, 6.4

Weakness classification (CWE)

References