Skip to main content

Linux Kernel EUVDEUVD-2026-26512

| CVE-2026-31703 HIGH
Use After Free (CWE-416)
2026-05-01 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

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

  1. Recon
    Obtain local user access
  2. Delivery
    Trigger cgroup writeback switches via file I/O
  3. Exploit
    Race llist_del_all() and work queue execution
  4. Install
    Cause use-after-free on wb structure
  5. C2
    Spray kernel heap to control freed memory
  6. Execute
    Execute arbitrary kernel code
  7. Impact
    Escalate to root 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

Requires authenticated local access with standard user privileges (PR:L from CVSS vector) on a Linux system running affected kernel versions 6.18 through 7.1-rc1. Exploitation specifically requires the ability to trigger inode writeback operations, typically through file I/O to cgroup-controlled filesystems or memory-backed filesystems with writeback enabled. The attacker must be able to create sufficient concurrent writeback context switches to trigger the race condition between work queue processing (inode_switch_wbs_work_fn loop) and writeback structure deallocation. Systems with cgroup v2 writeback support enabled and accessible to unprivileged users present the highest risk. Limiting factors include the race condition timing requirement (attacker must win race between llist_del_all and memory free), the need for specific kernel memory layout knowledge for reliable exploitation, and kernel hardening features like KASLR, SMAP/SMEP, and control-flow integrity that increase exploitation complexity beyond the theoretical AC:L rating.

Impact

This vulnerability presents moderate real-world risk despite the high CVSS 7.8 score. The CVSS vector (AV:L/AC:L/PR:L) indicates local access with low complexity and low privileges required, while scope is unchanged with high confidentiality, integrity, and availability impact. However, EPSS score of 0.02% (4th percentile) suggests minimal observed exploitation probability, and there is no CISA KEV listing indicating active exploitation. The practical attack surface is limited to authenticated local users who can trigger writeback operations, typically requiring legitimate system access or chained exploitation from another vulnerability. Successful exploitation requires winning a race condition between work queue processing and memory deallocation, adding complexity despite the AC:L rating. The availability of vendor patches across multiple stable kernel branches (6.18.25, 7.0.2, 7.1-rc1) mitigates long-term risk for systems with regular update cycles. Priority should be given to systems with untrusted local users, multi-tenant environments, or configurations where local privilege escalation vectors are critical. The use-after-free primitive could enable kernel memory corruption for privilege escalation, making this a concern for container orchestration platforms and shared hosting environments running vulnerable kernel versions.

Exploit ScenarioDerived

An authenticated local attacker with standard user privileges gains shell access to a Linux system running vulnerable kernel version 6.18 through 7.0.1. The attacker crafts a program that rapidly triggers cgroup writeback context switches through repeated file I/O operations while simultaneously monitoring memory allocation patterns. By timing operations to win the race condition between llist_del_all() processing and work queue execution, the attacker causes the writeback structure to be freed while work remains pending. When the delayed work executes, it accesses freed memory (use-after-free), allowing the attacker to control kernel memory contents through heap spraying techniques, ultimately achieving arbitrary code execution in kernel context and escalating to root privileges.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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 – May 03, 2026

Use-after-free condition in Linux kernel writeback subsystem allows local authenticated attackers to potentially execute arbitrary code, escalate privileges, or trigger kernel crashes. The vulnerability affects Linux kernel versions 6.18.x through 7.1-rc1 and arises from improper synchronization between work queue processing and memory deallocation in inode_switch_wbs_work_fn(). Vendor patches are available across stable kernel branches (6.18.25, 7.0.2, 7.1-rc1) with low EPSS score (0.02%) indicating minimal observed exploitation activity, though the CVSS 7.8 score reflects significant impact if successfully exploited by authenticated local users.

RemediationAI

Upgrade to patched Linux kernel versions immediately: 6.18.25 or later for the 6.18.x series, 7.0.2 or later for the 7.0.x series, or 7.1-rc1 or later for development branches. Patches are available from the official kernel.org stable repositories at the URLs listed in references. For systems unable to apply kernel updates immediately, implement compensating controls by restricting local user access to trusted accounts only, disabling unprivileged user namespaces via sysctl kernel.unprivileged_userns_clone=0 (reducing attack surface for local exploitation), and implementing mandatory access controls (SELinux/AppArmor) with policies that limit writeback subsystem access. Note that disabling user namespaces may break container runtimes like Docker or Podman requiring rootless mode, and MAC policies require careful tuning to avoid breaking legitimate applications. Enable kernel address space layout randomization (KASLR) if not already active to increase exploitation difficulty, though this provides defense-in-depth rather than complete mitigation. Monitor systems for kernel panics or unexpected reboots that could indicate exploitation attempts targeting memory corruption.

Affected VersionsENISA

Linux patch: 6.18.25
Linux 6.18
Linux patch: 7.0.2
Linux e1b849cfa6b61f1c866a908c9e8dd9b5aaab820b <028103656b84273c73e9e271cf95c9f3421f4b8a
Linux patch: 7.1-rc1
Linux e1b849cfa6b61f1c866a908c9e8dd9b5aaab820b <6689f01d6740cf358932b3e97ee968c6099800d9
Linux e1b849cfa6b61f1c866a908c9e8dd9b5aaab820b <9223e5f30403a9b506d6d0bff4f2e29a2d7d46af
Linux patch: 0

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 exists in the Linux kernel's writeback subsystem, specifically in the inode writeback switching mechanism that manages memory-backed cgroups writeback contexts. The code implements a lock-free list (llist) design where inode_switch_wbs_work_fn() processes writeback context switches via work queues. The flaw stems from a race condition in the work processing loop: the function uses llist_del_all() in a loop, which can empty the switch_wbs_ctxs list while the switch_work remains queued. This creates a window where the writeback structure (wb) can be deallocated while pending work still holds references, leading to use-after-free when the work eventually executes. The vulnerability represents a classic temporal memory safety issue where object lifetime assumptions break down under concurrent access patterns. The fix removes the loop from inode_switch_wbs_work_fn(), ensuring one-to-one correspondence between queued work and list items, thereby maintaining reference count integrity throughout the object lifecycle.

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

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
SUSE HIGH
Red Hat 7.0 HIGH

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

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

Lifecycle Timeline

4
CVSS changed
May 03, 2026 - 07:22 NVD
7.8 (HIGH)
Patch released
May 03, 2026 - 07:16 nvd
Patch available
Patch available
May 01, 2026 - 15:02 EUVD
CVE Published
May 01, 2026 - 14:16 nvd
HIGH 7.8

DescriptionCVE.org

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

writeback: Fix use after free in inode_switch_wbs_work_fn()

inode_switch_wbs_work_fn() has a loop like:

wb_get(new_wb); while (1) { list = llist_del_all(&new_wb->switch_wbs_ctxs); /* Nothing to do? */ if (!list) break; ... process the items ... }

Now adding of items to the list looks like:

wb_queue_isw() if (llist_add(&isw->list, &wb->switch_wbs_ctxs)) queue_work(isw_wq, &wb->switch_work);

Because inode_switch_wbs_work_fn() loops when processing isw items, it can happen that wb->switch_work is pending while wb->switch_wbs_ctxs is empty. This is a problem because in that case wb can get freed (no isw items -> no wb reference) while the work is still pending causing use-after-free issues.

We cannot just fix this by cancelling work when freeing wb because that could still trigger problematic 0 -> 1 transitions on wb refcount due to wb_get() in inode_switch_wbs_work_fn(). It could be all handled with more careful code but that seems unnecessarily complex so let's avoid that until it is proven that the looping actually brings practical benefit. Just remove the loop from inode_switch_wbs_work_fn() instead. That way when wb_queue_isw() queues work, we are guaranteed we have added the first item to wb->switch_wbs_ctxs and nobody is going to remove it (and drop the wb reference it holds) until the queued work runs.

Executive ViewAI

Why It Matters

CVE-2026-31703 is a use-after-free vulnerability in the Linux kernel writeback subsystem that allows authenticated local users to execute arbitrary code or escalate privileges. This affects Linux kernel versions 6.18.x through 7.1-rc1 and poses a significant risk to organizations running vulnerable kernel versions, particularly in multi-user environments or where local access controls are not strictly enforced.

Business Impact: High
Compensating Controls

Apply vendor patch. Until patched, restrict local user access through strict account provisioning policies, disable unnecessary local user accounts, implement kernel-level access controls (AppArmor/SELinux) to limit privilege escalation vectors, and monitor for suspicious kernel crash events or unexpected privilege elevation attempts.

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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
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: High
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