Vulnerability in Linux

CVE-2023-53012

In the Linux kernel, the following vulnerability has been resolved:

thermal: core: call put_device() only after device_register() fails

put_device() shouldn't be called before a prior call to
device_register(). __thermal_cooling_device_register() doesn't follow
that properly and needs fixing. Also
thermal_cooling_device_destroy_sysfs() is getting called unnecessarily
on few error paths.

Fix all this by placing the calls at the right place.

Based on initial work done by Caleb Connolly.

Published · last modified .

CVSS v3 metric

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

EPSS exploit prediction

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

Affected products

  • Linux — versions e0d8b51bbe84d6a98c162e06344de2d773d9e722, 80bb3b901abe6560620505e5c734d140c4f73a07, c408b3d1d9bbc7de5fb0304fea424ef2539da616
  • Linux Kernel — versions 6.2

References