Skip to main content

Linux Kernel EUVDEUVD-2026-32402

| CVE-2026-46021 MEDIUM
Memory Leak (CWE-401)
2026-05-27 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-7x76-cw6q-rm95
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Gain local shell access with low privileges
  2. Delivery
    Identify active thermal zone with writable sysfs governor attribute
  3. Exploit
    Initiate concurrent writes to /sys/class/thermal/thermal_zoneN/policy
  4. Install
    Trigger or await thermal zone device unregistration in kernel
  5. C2
    Race thermal_set_governor() call in unregister path without lock
  6. Execute
    Use-after-free dereference in kernel thermal core
  7. Impact
    Kernel panic / system crash (denial of service)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup, leak prevention
Exploitation Conditions

The use-after-free race condition requires that the attacker have local access to a system with an active thermal zone device and be able to write to the corresponding sysfs governor attribute - in default Linux configurations, /sys/class/thermal/thermal_zoneN/policy is typically writable only by root, making the CVSS PR:L assessment optimistic for hardened systems and PR:H more accurate in standard deployments. Exploitation further requires that a thermal zone unregistration event (triggered by hardware removal, driver unbind, or module unloading) occur concurrently with the sysfs write, introducing a timing dependency that makes reliable triggering non-trivial. The memory leak path requires inducing a failure in thermal_zone_device_register_with_trips() after governor attachment, which is not normally reachable from userspace without fault injection. Systems running in containers without /sys mounted, systems with read-only sysfs mounts, or systems with no thermal zone devices (e.g., some virtual machines or minimal embedded deployments) are not exposed to the race condition. Thermal management daemons such as thermald that legitimately write to these sysfs nodes could inadvertently trigger the race if a zone unregistration occurs during normal operation, without any malicious actor.

Impact

Real-world risk is low to moderate. CVSS 3.1 assigns a Medium score of 5.5 with AV:L/AC:L/PR:L, but the more critical of the two defects - the use-after-free - is fundamentally a race condition between kernel unregistration and a sysfs write, which in practice implies higher attack complexity than AC:L suggests. An independent assessment places this at AC:H, reducing the realistic exploitability score further. EPSS at 0.02% (5th percentile) strongly corroborates low exploitation likelihood, and the vulnerability is not listed in CISA's KEV catalog; no public proof-of-concept has been identified. The 'Information Disclosure' tag applied by ENISA EUVD is inconsistent with the NVD CVSS vector, which scores C:N - while use-after-free bugs can theoretically leak kernel memory, no confirmed confidentiality impact is established by the available data, and the NVD assessment should be treated as authoritative. The primary real-world threat is denial-of-service via kernel panic on systems where an attacker can write to thermal sysfs attributes while a thermal zone unregistration is in progress. Privilege escalation to root is not indicated by the available data. The memory leak component is a secondary concern relevant mainly in long-running systems with repeated thermal device registration failures.

Exploit ScenarioDerived

A local attacker with low-privilege shell access on a Linux system spawns two concurrent threads: one repeatedly writes alternative governor names to /sys/class/thermal/thermal_zone0/policy while the other triggers or waits for the kernel to unregister the associated thermal zone device (for example, by hot-removing a device or via a module reload). The missing lock acquisition in thermal_zone_device_unregister() allows both the sysfs write path and the unregistration path to call thermal_set_governor() simultaneously, causing a use-after-free dereference of the stale governor pointer and resulting in a kernel panic and system reboot. No public proof-of-concept exists; successfully winning the race requires precise timing and repeated attempts, limiting practical exploitability.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 16, 2026

Two related memory-management defects in the Linux kernel thermal zone governor subsystem expose local low-privileged users to system availability loss. The first is a memory leak (CWE-401) in the registration error path of thermal_zone_device_register_with_trips(), which fails to remove an attached governor when registration fails mid-way. The second, and more critically impactful, is a race condition in thermal_zone_device_unregister(), which calls thermal_set_governor() without first acquiring the thermal zone lock - permitting a concurrent sysfs-based governor update to produce a use-after-free, which can trigger a kernel panic. No public exploit code exists and EPSS is 0.02% (5th percentile); vendor-released patches are available across multiple stable kernel branches including 6.6.140, 6.12.86, 6.18.27, and 7.0.4.

RemediationAI

The primary fix is to upgrade to a patched kernel version: 6.6.140 or later for the 6.6.x stable branch, 6.12.86 or later for the 6.12.x branch, 6.18.27 or later for the 6.18.x branch, 7.0.4 or later for the 7.0.x branch, or any release at or after mainline commit 37a430a2d4e66ec8238da6c7f7e48809bf265e13 (7.1-rc1). Fix commits are available at https://git.kernel.org/stable/c/37a430a2d4e66ec8238da6c7f7e48809bf265e13 and the four related stable-branch commits referenced in NVD. Distribution-specific kernel updates should be obtained from the respective vendor security channels and may already bundle these fixes. As a compensating control prior to patching, restrict write access to sysfs thermal zone governor attributes (typically located at /sys/class/thermal/thermal_zoneN/policy) via udev rules, filesystem ACLs, or an LSM policy such as SELinux or AppArmor, preventing unprivileged users from writing to these files; note that this may interfere with userspace thermal management daemons that depend on dynamic governor switching. Container deployments that do not mount /sys or that use a read-only sysfs bind mount are not exposed to the race condition vector. No additional workarounds for the memory leak path are necessary given its lower severity and the availability of patches.

Affected VersionsENISA

Linux patch: 0
Linux patch: 6.12.86
Linux patch: 7.1-rc1
Linux e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8 <64d4ebf91d082034bbc5ae3ba2d7fd800bc02d06
Linux e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8 <75f8f3c3e09122270986de9d7aa347d701676761
Linux e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8 <41ff66baf81c6541f4f985dd7eac4494d03d9440
Linux patch: 6.6.140
Linux 4.2
Linux e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8 <f412e541d25a3dfaf3d53e012ade6ff03cae8a45
Linux patch: 6.18.27
Linux e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8 <37a430a2d4e66ec8238da6c7f7e48809bf265e13
Linux patch: 7.0.4

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The Linux kernel thermal management subsystem (drivers/thermal/thermal_core.c) manages thermal zones - abstract representations of hardware temperature sensors - paired with thermal governors (control algorithms such as 'step_wise' or 'power_allocator') and trip points. Thermal zone lifecycle is managed via thermal_zone_device_register_with_trips() for registration and thermal_zone_device_unregister() for removal. The governor attachment and detachment function, thermal_set_governor(), modifies shared state and must be called while holding the thermal zone lock to prevent concurrent access. CWE-401 (Missing Release of Memory after Effective Lifetime) manifests in the registration error path: when thermal_zone_device_register_with_trips() fails after a governor has already been attached, it does not call thermal_set_governor(NULL) to detach and free the governor reference, leaving orphaned memory. The race condition arises because thermal_zone_device_unregister() calls thermal_set_governor() without the zone lock, creating a TOCTOU window where a concurrent write to the sysfs governor attribute (e.g., /sys/class/thermal/thermal_zoneN/policy) can modify the governor pointer concurrently, resulting in a use-after-free dereference. The fix introduces thermal_set_governor() calls in both thermal_release() and the registration error path to close both gaps. Affected CPE: cpe:2.3:o:linux:linux_kernel across multiple version branches back to approximately kernel 4.2 per EUVD data.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 4.7 MEDIUM

Race condition between sysfs write and kernel unregistration warrants AC:H; PR:L reflects sysfs write access; no confidentiality or integrity impact is confirmed by available data.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 7.0 HIGH
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Red Hat 7.0 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
Jun 16, 2026 - 16:07 NVD
5.5 (MEDIUM)
Patch available
May 27, 2026 - 19:46 EUVD
CVE Published
May 27, 2026 - 14:17 nvd
MEDIUM 5.5
CVE Published
May 27, 2026 - 14:17 nvd
UNKNOWN (no severity yet)

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

thermal: core: Fix thermal zone governor cleanup issues

If thermal_zone_device_register_with_trips() fails after adding a thermal governor to the thermal zone being registered, the governor is not removed from it as appropriate which may lead to a memory leak.

In turn, thermal_zone_device_unregister() calls thermal_set_governor() without acquiring the thermal zone lock beforehand which may race with a governor update via sysfs and may lead to a use-after-free in that case.

Address these issues by adding two thermal_set_governor() calls, one to thermal_release() to remove the governor from the given thermal zone, and one to the thermal zone registration error path to cover failures preceding the thermal zone device registration.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Threat Intel
2
1 sources
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat Yes
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: +10
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
Container suse/sl-micro/6.0/base-os-container:2.1.3-7.158 Container suse/sl-micro/6.1/base-os-container:2.2.1-5.144 Affected
Container suse/sl-micro/6.0/kvm-os-container:2.1.3-6.173 Container suse/sl-micro/6.1/kvm-os-container:2.2.1-5.144 Affected
Container suse/sle-micro-rancher/5.3:latest Container suse/sle-micro-rancher/5.4:5.4.4.5.127 Affected
SUSE Linux Enterprise High Availability Extension 15 SP4 Fixed
SUSE Linux Enterprise High Availability Extension 16.0 Fixed

Threat IntelligenceMISP

CISA Advisories
Sources: Microsoft MSRC, CISA (public domain)

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy