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.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | — | Upgrade linux | Jul 27, 2026 | Jul 27, 2026 |
| Redhat_linux | — | No solution existsUpgrade kernelUpgrade kernel-rt | Dec 5, 2024 | Feb 26, 2024 |
| Ubuntu | — | Upgrade linux-image-azureUpgrade linux-image-oem-22.04Upgrade linux-image-6.5.0-1021-nvidia-64kUpgrade linux-image-oem-22.04aUpgrade linux-image-6.5.0-41-lowlatencyUpgrade linux-image-6.5.0-1024-oracle-64kUpgrade linux-image-oem-22.04cUpgrade linux-image-lowlatency-64k-hwe-22.04Upgrade linux-image-generic-64kUpgrade linux-image-starfiveUpgrade linux-image-6.5.0-1015-starfiveUpgrade linux-image-raspiUpgrade linux-image-nvidia-6.5Upgrade linux-image-lowlatency-hwe-22.04Upgrade linux-image-genericUpgrade linux-image-azure-fdeUpgrade linux-image-6.5.0-1022-azure-fdeUpgrade linux-image-6.5.0-41-lowlatency-64kUpgrade linux-image-nvidia-64k-hwe-22.04Upgrade linux-image-6.5.0-1024-oracleUpgrade linux-image-lowlatency-64kUpgrade linux-image-generic-lpaeUpgrade linux-image-6.5.0-41-genericUpgrade linux-image-lowlatencyUpgrade linux-image-virtual-hwe-22.04Upgrade linux-image-6.5.0-1017-laptopUpgrade linux-image-oem-22.04dUpgrade linux-image-oracleUpgrade linux-image-kvmUpgrade linux-image-gcpUpgrade linux-image-6.5.0-1021-nvidiaUpgrade linux-image-oem-22.04bUpgrade linux-image-raspi-nolpaeUpgrade linux-image-6.5.0-1021-awsUpgrade linux-image-generic-64k-hwe-22.04Upgrade linux-image-6.5.0-1018-raspiUpgrade linux-image-awsUpgrade linux-image-laptop-23.10Upgrade linux-image-6.5.0-1022-gcpUpgrade linux-image-nvidia-64k-6.5Upgrade linux-image-nvidia-hwe-22.04Upgrade linux-image-6.5.0-1022-azureUpgrade linux-image-generic-hwe-22.04Upgrade linux-image-6.5.0-1024-oemUpgrade linux-image-virtualUpgrade linux-image-6.5.0-41-generic-64kUpgrade linux-image-oracle-64k | May 17, 2024 | Feb 26, 2024 |
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