In the Linux kernel, the following vulnerability has been resolved:
thermal: core: Address thermal zone removal races with resume
Since thermal_zone_pm_complete() and thermal_zone_device_resume() re-initialize the poll_queue delayed work for the given thermal zone, the cancel_delayed_work_sync() in thermal_zone_device_unregister() may miss some already running work items and the thermal zone may be freed prematurely [1].
There are two failing scenarios that both start with running thermal_pm_notify_complete() right before invoking thermal_zone_device_unregister() for one of the thermal zones.
In the first scenario, there is a work item already running for the given thermal zone when thermal_pm_notify_complete() calls thermal_zone_pm_complete() for that thermal zone and it continues to run when thermal_zone_device_unregister() starts. Since the poll_queue delayed work has been re-initialized by thermal_pm_notify_complete(), the running work item will be missed by the cancel_delayed_work_sync() in thermal_zone_device_unregister() and if it continues to run past the freeing of the thermal zone object, a use-after-free will occur.
In the second scenario, thermal_zone_device_resume() queued up by thermal_pm_notify_complete() runs right after the thermal_zone_exit() called by thermal_zone_device_unregister() has returned. The poll_queue delayed work is re-initialized by it before cancel_delayed_work_sync() is called by thermal_zone_device_unregister(), so it may continue to run after the freeing of the thermal zone object, which also leads to a use-after-free.
Address the first failing scenario by ensuring that no thermal work items will be running when thermal_pm_notify_complete() is called. For this purpose, first move the cancel_delayed_work() call from thermal_zone_pm_complete() to thermal_zone_pm_prepare() to prevent new work from entering the workqueue going forward. Next, switch over to using a dedicated workqueue for thermal events and update the code in thermal_pm_notify() to flush that workqueue after thermal_pm_notify_prepare() has returned which will take care of all leftover thermal work already on the workqueue (that leftover work would do nothing useful anyway because all of the thermal zones have been flagged as suspended).
The second failing scenario is addressed by adding a tz->state check to thermal_zone_device_resume() to prevent it from re-initializing the poll_queue delayed work if the thermal zone is going away.
Note that the above changes will also facilitate relocating the suspend and resume of thermal zones closer to the suspend and resume of devices, respectively.
CVSS Details
- CVSS 3.1 Base Score: 7.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | — | Upgrade linux | Jul 23, 2026 | Jul 23, 2026 |
| Redhat_linux | — | No solution exists | Jul 17, 2026 | May 1, 2026 |
| Ubuntu | — | Upgrade linux-image-generic-lpaeUpgrade linux-image-nvidia-tegra-6.8Upgrade linux-image-oem-20.04dUpgrade linux-image-azure-fde-lts-24.04Upgrade linux-image-gcp-fips-6.8Upgrade linux-image-lowlatency-64kUpgrade linux-image-6.8.0-1062-azure-fdeUpgrade linux-image-azureUpgrade linux-image-gcp-64k-lts-24.04Upgrade linux-image-generic-64kUpgrade linux-image-oem-20.04cUpgrade linux-image-gke-6.8Upgrade linux-image-fipsUpgrade linux-image-generic-64k-6.8Upgrade linux-image-azure-fips-6.8Upgrade linux-image-6.8.0-1061-aws-64kUpgrade linux-image-aws-6.8Upgrade linux-image-azure-fdeUpgrade linux-image-ibm-classicUpgrade linux-image-6.8.0-1059-nvidia-lowlatency-64kUpgrade linux-image-ibm-6.8Upgrade linux-image-generic-6.8Upgrade linux-image-oem-22.04cUpgrade linux-image-virtual-hwe-22.04Upgrade linux-image-oem-22.04aUpgrade linux-image-raspi-realtime-6.8Upgrade linux-image-oracle-lts-24.04Upgrade linux-image-gcp-64kUpgrade linux-image-6.8.0-1030-nvidia-tegraUpgrade linux-image-oem-22.04Upgrade linux-image-6.8.0-1059-nvidia-64kUpgrade linux-image-raspiUpgrade linux-image-generic-hwe-22.04Upgrade linux-image-oracle-64k-lts-24.04Upgrade linux-image-virtual-6.8Upgrade linux-image-ibmUpgrade linux-image-6.8.0-1059-gkeUpgrade linux-image-aws-64k-6.8Upgrade linux-image-6.8.0-1059-nvidia-lowlatencyUpgrade linux-image-6.8.0-1061-raspiUpgrade linux-image-lowlatency-6.8Upgrade linux-image-oem-20.04bUpgrade linux-image-6.8.0-136-genericUpgrade linux-image-raspi-6.8Upgrade linux-image-nvidia-tegra-rtUpgrade linux-image-6.8.0-1063-azureUpgrade linux-image-6.8.0-1059-gke-64kUpgrade linux-image-nvidia-lowlatency-6.8Upgrade linux-image-nvidia-tegraUpgrade linux-image-oem-22.04bUpgrade linux-image-nvidia-lowlatencyUpgrade linux-image-xilinx-6.8Upgrade linux-image-nvidia-64k-hwe-22.04Upgrade linux-image-6.8.0-1058-oracleUpgrade linux-image-realtime-6.8.1Upgrade linux-image-6.8.0-1030-nvidia-tegra-rtUpgrade linux-image-gcp-fipsUpgrade linux-image-nvidiaUpgrade linux-image-gke-64k-6.8Upgrade linux-image-gkeopUpgrade linux-image-gkeop-6.8Upgrade linux-image-ibm-lts-24.04Upgrade linux-image-oracle-64k-6.8Upgrade linux-image-6.8.0-1058-oracle-64kUpgrade linux-image-6.8.0-1063-azure-fipsUpgrade linux-image-nvidia-64kUpgrade linux-image-azure-fipsUpgrade linux-image-fips-6.8Upgrade linux-image-lowlatencyUpgrade linux-image-gke-64kUpgrade linux-image-azure-lts-24.04Upgrade linux-image-6.8.0-1046-gkeopUpgrade linux-image-genericUpgrade linux-image-aws-64k-lts-24.04Upgrade linux-image-azure-fde-6.8Upgrade linux-image-lowlatency-64k-6.8Upgrade linux-image-laptop-23.10Upgrade linux-image-awsUpgrade linux-image-6.8.0-1061-ibmUpgrade linux-image-nvidia-hwe-22.04Upgrade linux-image-gcp-6.8Upgrade linux-image-nvidia-64k-6.8Upgrade linux-image-gcp-lts-24.04Upgrade linux-image-aws-64kUpgrade linux-image-6.8.1-1056-realtimeUpgrade linux-image-oracle-64kUpgrade linux-image-oracle-6.8Upgrade linux-image-lowlatency-64k-hwe-22.04Upgrade linux-image-nvidia-lowlatency-64kUpgrade linux-image-intel-iot-realtimeUpgrade linux-image-aws-lts-24.04Upgrade linux-image-xilinx-zynqmpUpgrade linux-image-xilinxUpgrade linux-image-nvidia-6.8Upgrade linux-image-6.8.0-136-lowlatency-64kUpgrade linux-image-azure-6.8Upgrade linux-image-realtime-hwe-22.04Upgrade linux-image-6.8.0-1061-awsUpgrade linux-image-6.8.0-1033-xilinxUpgrade linux-image-oem-20.04Upgrade linux-image-6.8.0-2050-raspi-realtimeUpgrade linux-image-raspi-realtimeUpgrade linux-image-realtimeUpgrade linux-image-aws-fips-6.8Upgrade linux-image-6.8.0-1064-gcp-64kUpgrade linux-image-6.8.0-1064-gcpUpgrade linux-image-nvidia-tegra-rt-6.8Upgrade linux-image-gcp-64k-6.8Upgrade linux-image-6.8.0-1061-aws-fipsUpgrade linux-image-6.8.0-136-fipsUpgrade linux-image-6.8.0-1059-nvidiaUpgrade linux-image-oracleUpgrade linux-image-oem-22.04dUpgrade linux-image-kvmUpgrade linux-image-gcpUpgrade linux-image-6.8.0-136-lowlatencyUpgrade linux-image-6.8.0-136-generic-64kUpgrade linux-image-intel-iotgUpgrade linux-image-gkeUpgrade linux-image-generic-64k-hwe-22.04Upgrade linux-image-6.8.0-1064-gcp-fipsUpgrade linux-image-virtualUpgrade linux-image-nvidia-lowlatency-64k-6.8Upgrade linux-image-lowlatency-hwe-22.04Upgrade linux-image-aws-fips | May 25, 2026 | May 1, 2026 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jul 10, 2026 | May 1, 2026 |
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