Skip to main content

Linux Kernel EUVDEUVD-2026-28708

| CVE-2026-43402 CRITICAL
Use After Free (CWE-416)
2026-05-08 Linux GHSA-v6fj-q6v9-3hmm
Critical
Disputed · 9.8 Vendor: Linux
View

Attack ChainAIDerived

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

  1. Recon
    Gain local kernel code execution
  2. Delivery
    Trigger abnormal kthread exit via make_task_dead()
  3. Exploit
    Skip affinity_node cleanup in free_kthread_struct()
  4. Install
    Rapidly allocate pid structures into freed memory
  5. C2
    Another kthread performs list_del() on corrupted affinity_node
  6. Execute
    Overwrite RCU callback function pointer
  7. Impact
    Trigger RCU callback execution
  8. Step 8
    Execute arbitrary code with kernel privileges

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires kernel-level code execution capability to manipulate kernel thread creation and termination sequences. Specifically requires: (1) CONFIG_SLAB_MERGE_DEFAULT and SLAB_HWCACHE_ALIGN kernel build options enabled (common in distribution kernels), causing struct pid and struct kthread to share SLAB cache allocation pools; (2) ability to trigger kernel thread exits via make_task_dead() path rather than normal kthread_exit(); (3) capability to rapidly allocate pid structures to win race condition for reallocating freed kthread memory; (4) kernel version from commit 4d13f4304fa43471bfea101658a11feec7b28ac0 onwards (post-pidfs rhashtable conversion). The CVSS network vector (AV:N) is misclassified - realistic exploitation requires local access with CAP_SYS_MODULE or equivalent kernel-level privileges to manipulate thread lifecycle. No user interaction required once kernel access achieved. Not exploitable against default configurations via network attack alone despite CVSS rating.

Impact

This presents a significant discrepancy between rated severity and real-world exploitability signals. CVSS 9.8 with AV:N (network vector) appears fundamentally misclassified - kernel thread manipulation requires local kernel code execution capability, making this realistically AV:L with PR:H (high privileges). The EPSS score of 0.02% (4th percentile) aligns with the practical difficulty: exploitation requires (1) ability to trigger specific kernel thread exit paths, (2) CONFIG_SLAB_MERGE_DEFAULT enabled, (3) precise timing to win the race condition between memory free and reallocation, and (4) controlled memory layout to corrupt useful function pointers. No CISA KEV listing and no public POC indicate this remains a theoretical risk discovered through testing rather than observed exploitation. The technical complexity (AC:L rating questionable) and requirement for kernel-level access make this a lower priority than the CVSS suggests for most environments. Primary risk is to systems running vulnerable kernel versions with heavy kthread workloads (container orchestration, high I/O) where the race condition becomes more probable. Defender priority should focus on patch deployment during normal maintenance windows rather than emergency response, unless systems are already compromised at kernel level.

Exploit ScenarioDerived

An attacker with local kernel code execution capability (via a separate kernel vulnerability or malicious kernel module) triggers specific kernel thread termination sequences that invoke make_task_dead() instead of the normal kthread_exit() path. This causes the affinity_node cleanup to be skipped while the kthread structure is freed to the SLAB allocator. The attacker then rapidly creates new pid structures that get allocated from the same SLAB cache into the freed kthread memory. When another legitimate kernel thread performs list operations on the global kthread_affinity_list, list_del() writes through the dangling pointers, corrupting the RCU callback function pointer (pid.rcu.func) in the reused memory. By carefully timing allocations and controlling memory layout, the attacker can overwrite the function pointer with an attacker-controlled address, achieving arbitrary code execution when the RCU callback is later invoked with kernel privileges.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
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 – May 11, 2026

Use-after-free in Linux kernel kthread subsystem enables memory corruption leading to arbitrary code execution or denial of service. The vulnerability arises when kernel threads exit via make_task_dead() instead of kthread_exit(), bypassing affinity_node cleanup. This causes dangling pointers in the global kthread_affinity_list that corrupt freed memory reused by the SLAB allocator, specifically overwriting RCU callback function pointers in struct pid objects. CVSS rates this 9.8 critical, though the network attack vector appears misclassified since kernel thread manipulation requires local code execution. EPSS score of 0.02% (4th percentile) indicates low predicted exploitation likelihood despite severity. Vendor patches available for Linux 6.18.19, 6.19.9, and 7.0 via upstream commits.

RemediationAI

Upgrade to patched Linux kernel versions: 6.18.19, 6.19.9, 7.0 or later. Patches available via upstream Git commits 4729c7b00a347fd37d0cbc265b85f2884c3e06b6, 5a591d7a5e48d30100943940a30a6ab41b15c672, and 28aaa9c39945b7925a1cc1d513c8f21ed38f5e4f consolidating kthread exit paths. Distribution-specific kernel updates should be obtained through normal vendor channels (apt, yum, zypper). For systems unable to immediately patch, no effective workaround exists since the vulnerability resides in core kernel thread management. Disabling CONFIG_SLAB_MERGE_DEFAULT requires kernel recompilation and significantly impacts memory efficiency (not recommended for production). Compensating controls are limited to reducing attack surface by minimizing local access and enforcing strict privilege separation, though this only raises the bar for attackers already possessing kernel-level access. Organizations should prioritize patch deployment during standard maintenance windows given the low EPSS score and absence of active exploitation. Critical infrastructure and systems with untrusted local users should prioritize faster patching timelines.

Affected VersionsENISA

Linux patch: 6.18.19
Linux patch: 7.0
Linux 4d13f4304fa43471bfea101658a11feec7b28ac0 <5a591d7a5e48d30100943940a30a6ab41b15c672
Linux 4d13f4304fa43471bfea101658a11feec7b28ac0 <28aaa9c39945b7925a1cc1d513c8f21ed38f5e4f
Linux patch: 0
Linux patch: 6.19.9
Linux 6.14
Linux 4d13f4304fa43471bfea101658a11feec7b28ac0 <4729c7b00a347fd37d0cbc265b85f2884c3e06b6

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

This vulnerability affects the Linux kernel's kthread (kernel thread) management subsystem, specifically the interaction between thread exit paths and SLAB memory allocator reuse. The root cause involves a memory layout collision introduced by the pidfs rhashtable conversion that replaced rb_node (24 bytes) with rhash_head (8 bytes) in struct pid, shrinking it from 160 to 144 bytes. With CONFIG_SLAB_MERGE_DEFAULT and SLAB_HWCACHE_ALIGN enabled, struct pid and struct kthread both round to 192 bytes and share the same SLAB cache. Critical overlapping fields are struct pid.rcu.func and struct kthread.affinity_node at offset 0x78. When kthread exits via make_task_dead() bypassing proper cleanup, free_kthread_struct() frees memory while affinity_node remains linked in the global kthread_affinity_list. Subsequent list_del() operations by other kernel threads write through dangling list pointers into freed memory that has been reallocated for struct pid objects, corrupting RCU callback function pointers. The fix consolidates exit paths by making kthread_exit() call do_exit() and adding kthread_do_exit() invoked from do_exit() for all PF_KTHREAD tasks, guaranteeing cleanup regardless of exit path.

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

Sources disagree (Medium–Critical)
Vendor (Linux) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SUSE CRITICAL
Red Hat 5.5 MEDIUM

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorVendor: Linux

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

Lifecycle Timeline

4
CVSS changed
May 11, 2026 - 08:22 NVD
9.8 (CRITICAL)
Patch available
May 08, 2026 - 16:18 EUVD
CVE Published
May 08, 2026 - 14:21 nvd
UNKNOWN (no severity yet)
CVE Published
May 08, 2026 - 14:21 nvd
CRITICAL 9.8

DescriptionCVE.org

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

kthread: consolidate kthread exit paths to prevent use-after-free

Guillaume reported crashes via corrupted RCU callback function pointers during KUnit testing. The crash was traced back to the pidfs rhashtable conversion which replaced the 24-byte rb_node with an 8-byte rhash_head in struct pid, shrinking it from 160 to 144 bytes.

struct kthread (without CONFIG_BLK_CGROUP) is also 144 bytes. With CONFIG_SLAB_MERGE_DEFAULT and SLAB_HWCACHE_ALIGN both round up to 192 bytes and share the same slab cache. struct pid.rcu.func and struct kthread.affinity_node both sit at offset 0x78.

When a kthread exits via make_task_dead() it bypasses kthread_exit() and misses the affinity_node cleanup. free_kthread_struct() frees the memory while the node is still linked into the global kthread_affinity_list. A subsequent list_del() by another kthread writes through dangling list pointers into the freed and reused memory, corrupting the pid's rcu.func pointer.

Instead of patching free_kthread_struct() to handle the missed cleanup, consolidate all kthread exit paths. Turn kthread_exit() into a macro that calls do_exit() and add kthread_do_exit() which is called from do_exit() for any task with PF_KTHREAD set. This guarantees that kthread-specific cleanup always happens regardless of the exit path - make_task_dead(), direct do_exit(), or kthread_exit().

Replace __to_kthread() with a new tsk_is_kthread() accessor in the public header. Export do_exit() since module code using the kthread_exit() macro now needs it directly.

Executive ViewAI

Why It Matters

CVE-2026-43402 is a critical use-after-free vulnerability in the Linux kernel kthread subsystem that enables arbitrary code execution through memory corruption when kernel threads exit improperly. This affects Linux systems running kernels prior to version 6.18.19, 6.19.9, or 7.0, and requires local code execution to exploit, making it a significant privilege escalation risk for multi-tenant environments and systems with untrusted local users. Organizations must prioritize patching to prevent attackers from achieving kernel-level code execution on affected infrastructure.

Business Impact: Severe
Compensating Controls

Apply vendor patch. Until patches are deployed, implement strict local access controls: disable unnecessary user accounts, restrict sudo/privilege escalation mechanisms, enforce mandatory code review for locally-running applications, and monitor process execution for suspicious kthread manipulation patterns. Consider isolating high-risk systems until patched.

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Data Quality
6 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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Out-of-Cycle
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

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

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Critical
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

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