CVE-2026-31731

HIGHNVD 7.87.8
EchelonGraph scoreMEDIUM confidence

Score 7.8 from GitHub Security Advisory (severity: HIGH) published 2026-05-01. NVD baseline CVSS 7.8; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: epss, ghsa, nvd
7.8EG
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 0%CVSS: 7.8Exploit: None knownExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

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 v3
7.8
EG Score
7.8(medium)
EG Risk
40(Track)
EG Risk 40/100SSVC: Track

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity78% × 45%
Exploitation0% × 40%
Automatability30% × 15%
Action: Routine — remediate on your standard cadence.
EPSS PROB
0%
EPSS %ILE
3%
KEV
Not listed

Published

May 1, 2026

Last Modified

August 5, 2026

Advisory Details (4)

Auto-updated May 7, 2026
No patch confirmed yet.
generic

thermal: core: Address thermal zone removal races with resume - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/c4593f1654f7dea3bcf9bb1851ded86311d4f370
generic

thermal: core: Address thermal zone removal races with resume - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/45b859b0728267a6199ee5002d62e6c6f3e8c89d
generic

thermal: core: Address thermal zone removal races with resume - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/2dbe93f344f10b432b95a23304006be805c097a1
generic

thermal: core: Address thermal zone removal races with resume - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/1a6d2b001eb730d85f00da39ae7db6f3b4edc540

Patch Availability(1)

Vendor / EcosystemFixed in / PatchReleasedSource
linuxKernel @ 6.12.83osv

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(2 across 2 ecosystems)
Debian:13(1)
PackageVulnerable rangeFixed inDependents
linux6.12.38-1 ... 6.12.85-1~bpo12+1 (17 versions)6.12.85-1
Debian:14(1)
PackageVulnerable rangeFixed inDependents
linux6.12.100-1 ... 6.19~rc8-1~exp1 (125 versions)6.19.12-1

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

All Vendor Advisories

(13)

Data Freshness Timeline

(refreshed 5× in last 7d / 31× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

Showing the most recent 100 of 233 total refreshes for this CVE.

  1. 2026-09-13 16:47 UTCEPSS rescore
  2. 2026-09-12 15:01 UTCEPSS rescore
  3. 2026-09-11 14:52 UTCEPSS rescore
  4. 2026-09-10 09:34 UTCEPSS rescore
  5. 2026-09-08 22:00 UTCEPSS rescore
  6. 2026-09-07 16:01 UTCEPSS rescore
  7. 2026-09-06 13:47 UTCEPSS rescore
  8. 2026-09-06 13:47 UTCEPSS rescore
  9. 2026-09-04 05:06 UTCEPSS rescore
  10. 2026-09-04 00:59 UTCOSV refresh
  11. 2026-09-01 13:53 UTCEPSS rescore
  12. 2026-09-01 04:39 UTCEPSS rescore
  13. 2026-09-01 04:39 UTCEPSS rescore
  14. 2026-08-30 19:17 UTCEPSS rescore
  15. 2026-08-30 01:22 UTCEPSS rescore
  16. 2026-08-28 21:41 UTCEPSS rescore
  17. 2026-08-27 14:25 UTCEPSS rescore
  18. 2026-08-26 14:46 UTCEPSS rescore
  19. 2026-08-25 13:49 UTCEPSS rescore
  20. 2026-08-24 14:17 UTCEPSS rescore
  21. 2026-08-23 00:19 UTCEPSS rescore
  22. 2026-08-21 23:49 UTCEPSS rescore
  23. 2026-08-20 22:55 UTCEPSS rescore
  24. 2026-08-20 22:55 UTCEPSS rescore
  25. 2026-08-19 17:03 UTCEPSS rescore
Show 75 more
  1. 2026-08-18 13:48 UTCEPSS rescore
  2. 2026-08-17 13:47 UTCEPSS rescore
  3. 2026-08-17 13:44 UTCEG score recompute
  4. 2026-08-17 13:44 UTCVendor advisory
  5. 2026-08-17 13:44 UTCGHSA enrichment
  6. 2026-08-16 14:56 UTCEPSS rescore
  7. 2026-08-16 05:18 UTCEG score recompute
  8. 2026-08-16 05:18 UTCVendor advisory
  9. 2026-08-16 05:18 UTCGHSA enrichment
  10. 2026-08-16 02:14 UTCEPSS rescore
  11. 2026-08-15 01:30 UTCEPSS rescore
  12. 2026-08-14 16:44 UTCVendor advisory
  13. 2026-08-14 16:44 UTCGHSA enrichment
  14. 2026-08-14 03:47 UTCEG score recompute
  15. 2026-08-14 03:47 UTCVendor advisory
  16. 2026-08-14 03:47 UTCGHSA enrichment
  17. 2026-08-13 22:00 UTCEPSS rescore
  18. 2026-08-13 06:42 UTCVendor advisory
  19. 2026-08-13 06:42 UTCGHSA enrichment
  20. 2026-08-12 17:25 UTCEG score recompute
  21. 2026-08-12 17:25 UTCVendor advisory
  22. 2026-08-12 17:24 UTCGHSA enrichment
  23. 2026-08-12 13:50 UTCEPSS rescore
  24. 2026-08-11 16:22 UTCEG score recompute
  25. 2026-08-11 16:22 UTCVendor advisory
  26. 2026-08-11 16:22 UTCGHSA enrichment
  27. 2026-08-11 01:49 UTCEG score recompute
  28. 2026-08-11 01:49 UTCVendor advisory
  29. 2026-08-11 01:49 UTCGHSA enrichment
  30. 2026-08-11 00:00 UTCEPSS rescore
  31. 2026-08-10 04:20 UTCVendor advisory
  32. 2026-08-10 04:20 UTCGHSA enrichment
  33. 2026-08-09 15:38 UTCEG score recompute
  34. 2026-08-09 15:38 UTCVendor advisory
  35. 2026-08-09 15:38 UTCGHSA enrichment
  36. 2026-08-09 13:46 UTCEPSS rescore
  37. 2026-08-09 02:56 UTCEG score recompute
  38. 2026-08-09 02:56 UTCVendor advisory
  39. 2026-08-09 02:56 UTCGHSA enrichment
  40. 2026-08-08 16:37 UTCEPSS rescore
  41. 2026-08-08 13:44 UTCVendor advisory
  42. 2026-08-08 13:44 UTCGHSA enrichment
  43. 2026-08-08 01:00 UTCEG score recompute
  44. 2026-08-08 01:00 UTCVendor advisory
  45. 2026-08-08 01:00 UTCGHSA enrichment
  46. 2026-08-07 12:19 UTCVendor advisory
  47. 2026-08-07 12:19 UTCGHSA enrichment
  48. 2026-08-06 17:05 UTCEG score recompute
  49. 2026-08-06 17:05 UTCVendor advisory
  50. 2026-08-06 17:05 UTCGHSA enrichment
  51. 2026-08-06 13:46 UTCEPSS rescore
  52. 2026-08-06 01:17 UTCEG score recompute
  53. 2026-08-06 01:17 UTCVendor advisory
  54. 2026-08-06 01:17 UTCGHSA enrichment
  55. 2026-08-05 19:17 UTCEPSS rescore
  56. 2026-08-05 12:35 UTCEG score recompute
  57. 2026-08-05 12:35 UTCVendor advisory
  58. 2026-08-05 12:35 UTCGHSA enrichment
  59. 2026-08-04 15:10 UTCEPSS rescore
  60. 2026-08-04 10:38 UTCEPSS rescore
  61. 2026-08-03 20:24 UTCEG score recompute
  62. 2026-08-03 20:24 UTCVendor advisory
  63. 2026-08-03 20:24 UTCGHSA enrichment
  64. 2026-08-03 10:36 UTCEPSS rescore
  65. 2026-08-02 18:25 UTCVendor advisory
  66. 2026-08-02 18:25 UTCGHSA enrichment
  67. 2026-08-02 05:40 UTCEG score recompute
  68. 2026-08-02 05:40 UTCVendor advisory
  69. 2026-08-02 05:40 UTCGHSA enrichment
  70. 2026-08-02 02:27 UTCEPSS rescore
  71. 2026-08-01 04:16 UTCEPSS rescore
  72. 2026-07-30 16:28 UTCEPSS rescore
  73. 2026-07-30 01:30 UTCEPSS rescore
  74. 2026-07-28 15:36 UTCEPSS rescore
  75. 2026-07-26 14:54 UTCEPSS rescore

Frequently asked(5)

What is CVE-2026-31731?
CVE-2026-31731 is a high vulnerability published on May 1, 2026. In the Linux kernel, the following vulnerability has been resolved: thermal: core: Address thermal zone removal races with resume Since thermalzonepmcomplete() and thermalzonedeviceresume() re-initialize the poll_queue delayed work for the given thermal zone, the canceldelayedworksync() in…
When was CVE-2026-31731 disclosed?
CVE-2026-31731 was first published in the National Vulnerability Database on May 1, 2026, with the most recent update on August 5, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-31731 actively exploited?
CVE-2026-31731 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0% probability of exploitation in the next 30 days, which ranks it in the top 97.5% of all scored CVEs.
What is the CVSS score of CVE-2026-31731?
CVE-2026-31731 has a CVSS v3 base score of 7.8 (NVD).
How do I remediate CVE-2026-31731?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-31731, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-31731

Explore →

Is Your Infrastructure Affected by CVE-2026-31731?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.