In the Linux kernel, the following vulnerability has been resolved:
thermal: core: Fix NULL pointer dereference in zone registration error path
If device_register() in thermal_zone_device_register_with_trips() returns an error, the tz variable is set to NULL and subsequently dereferenced in kfree(tz->tzp).
Commit adc8749b150c ("thermal/drivers/core: Use put_device() if device_register() fails") added the tz = NULL assignment in question to avoid a possible double-free after dropping the reference to the zone device. However, after commit 4649620d9404 ("thermal: core: Make thermal_zone_device_unregister() return after freeing the zone"), that assignment has become redundant, because dropping the reference to the zone device does not cause the zone object to be freed any more.
Drop it to address the NULL pointer dereference.
CVSS Details
- CVSS 3.1 Base Score: 5.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | — | Upgrade linux | Jul 27, 2026 | Jul 27, 2026 |
| Redhat_linux | — | Upgrade kernel-rtNo solution existsUpgrade kernel | Dec 5, 2024 | Feb 26, 2024 |
| Ubuntu | — | Upgrade linux-image-azureUpgrade linux-image-raspiUpgrade linux-image-nvidia-6.5Upgrade linux-image-6.5.0-1021-nvidia-64kUpgrade linux-image-lowlatency-64kUpgrade linux-image-6.5.0-41-lowlatency-64kUpgrade linux-image-generic-64kUpgrade linux-image-oem-22.04Upgrade linux-image-oem-22.04cUpgrade linux-image-6.5.0-1024-oracle-64kUpgrade linux-image-6.5.0-1022-azure-fdeUpgrade linux-image-6.5.0-1015-starfiveUpgrade linux-image-6.5.0-1024-oracleUpgrade linux-image-azure-fdeUpgrade linux-image-6.5.0-41-genericUpgrade linux-image-lowlatency-hwe-22.04Upgrade linux-image-starfiveUpgrade linux-image-6.5.0-1017-laptopUpgrade linux-image-lowlatencyUpgrade linux-image-oem-22.04aUpgrade linux-image-virtual-hwe-22.04Upgrade linux-image-nvidia-64k-hwe-22.04Upgrade linux-image-lowlatency-64k-hwe-22.04Upgrade linux-image-6.5.0-41-lowlatencyUpgrade linux-image-generic-lpaeUpgrade linux-image-genericUpgrade linux-image-generic-hwe-22.04Upgrade linux-image-kvmUpgrade linux-image-6.5.0-41-generic-64kUpgrade linux-image-raspi-nolpaeUpgrade linux-image-6.5.0-1022-gcpUpgrade linux-image-oracle-64kUpgrade linux-image-nvidia-hwe-22.04Upgrade linux-image-6.5.0-1024-oemUpgrade linux-image-6.5.0-1022-azureUpgrade linux-image-gcpUpgrade linux-image-oracleUpgrade linux-image-6.5.0-1018-raspiUpgrade linux-image-awsUpgrade linux-image-oem-22.04dUpgrade linux-image-6.5.0-1021-nvidiaUpgrade linux-image-laptop-23.10Upgrade linux-image-6.5.0-1021-awsUpgrade linux-image-generic-64k-hwe-22.04Upgrade linux-image-virtualUpgrade linux-image-oem-22.04bUpgrade linux-image-nvidia-64k-6.5 | May 17, 2024 | Feb 26, 2024 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub