Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2026-31731
linux linux kernel

Score7.8 High
CVSS 3.1
Exploit probability (EPSS)0.14%
within the next 30 days
CategoryMemory corruption
Published1 May 2026
Last modified: 11 November 2026

In short

This vulnerability can be exploited with local access to the device, with a regular user account, without any user interaction.

A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.

Weakness type: Use after free.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

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: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness: CWE-416 – Use after free, CWE-362 – Race condition

Affected products

VendorProductVersions
linuxlinux kernel>=6.8 <6.12.83
linuxlinux kernel>=6.13 <6.18.22
linuxlinux kernel>=6.19 <6.19.12
linuxlinux kernel7.0

Sources

Latest in the same category

  • CVE-2026-119002 High 8.4
    OOB read vulnerability in the image processing module. Impact: Successful exploitation of this vulnerability may affect service confidentiality.
    Memory corruption · 1 December 2026
  • CVE-2026-119001 High 8.4
    OOB write vulnerability in the image processing module. Impact: Successful exploitation of this vulnerability may affect availability.
    Memory corruption · 1 December 2026
  • CVE-2026-109104 Medium 4.5
    A post-authentication out-of-bounds write vulnerability in the ZON function of Zyxel GS1200-5v3 switch firmware versions through 1.00(ACPS.4)C0 could allow a LAN-based authenticated attacker with administrator…
    Memory corruption · 1 December 2026
  • CVE-2026-109103 Medium 6.8
    A post-authentication buffer overflow vulnerability in the password modification CGI program of Zyxel GS1200-5v3 switch firmware versions through 1.00(ACPS.4)C0 could allow an authenticated attacker on the LAN with…
    Memory corruption · 1 December 2026
  • CVE-2026-109102 High 8.8
    A buffer overflow vulnerability in the logon CGI program of Zyxel GS1200-5v3 switch firmware versions through 1.00(ACPS.4)C0 could allow an unauthenticated attacker on the LAN to overwrite a return address and enable…
    Memory corruption · 1 December 2026
  • CVE-2026-109101 Medium 6.8
    A post-authentication buffer overflow vulnerability in the configuration-restoration CGI program of Zyxel GS1200-5v3 switch firmware versions through 1.00(ACPS.4)C0 could allow an authenticated attacker on the LAN with…
    Memory corruption · 1 December 2026