Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2026-31541
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2026-31541 is a use-after-free (UAF) vulnerability in the Linux kernel's tracing subsystem, specifically in the trace_marker copy linked list management. When the copy_trace_marker option is enabled for a tracing instance, a race condition during instance deletion can cause synchronize_rcu() to be skipped, leaving a dangling pointer to freed memory accessible by RCU readers. The vulnerability affects Linux kernel versions 6.16 through 6.18.19, 6.19 through 6.19.9, and 7.0-rc1 through 7.0-rc4. It carries a CVSS v3.1 base score of 7.8 (High) (Red Hat Advisory, Red Hat Bugzilla).

Technical details

The root cause is a use-after-free (CWE-416 / CWE-825: Expired Pointer Dereference) in the kernel tracing subsystem's handling of the marker_copies RCU-protected linked list. When a tracing instance with copy_trace_marker enabled is deleted, the code clears all flags first and then calls update_marker_trace() to remove the instance's trace_array descriptor from the list. Because the flag was already cleared before this call, update_marker_trace() detects no state change and returns false — causing synchronize_rcu() to never be invoked. As a result, RCU readers may still access the now-freed trace_array descriptor, creating a UAF condition. The fix reorders operations so that update_marker_trace() is called before the flags are cleared, ensuring synchronize_rcu() is properly triggered; additionally, update_marker_trace() is updated to check the flag state rather than list emptiness (Red Hat Bugzilla, Kernel Patch).

Impact

A local attacker with low privileges and access to the kernel tracing subsystem (/sys/kernel/tracing) could exploit this UAF to read or write freed kernel memory. Successful exploitation could lead to sensitive kernel data disclosure (confidentiality impact), memory corruption (integrity impact), or system instability/crash (availability impact). In a worst-case scenario, the vulnerability could be leveraged for local privilege escalation to root (Red Hat Advisory, Feedly).

Exploitability

No public proof-of-concept exploit code is known to exist, and there is no evidence of in-the-wild exploitation at this time. The vulnerability requires local access with low privileges (e.g., access to /sys/kernel/tracing) and is not remotely exploitable. The EPSS score is approximately 0.017% (0.000170), reflecting a low probability of near-term exploitation. The vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog (Red Hat Advisory, Feedly).

Exploitation steps

  1. Reconnaissance: Identify a target system running a vulnerable Linux kernel version (6.16–6.18.19, 6.19–6.19.9, or 7.0-rc1 through 7.0-rc4) with access to /sys/kernel/tracing.
  2. Enable copy_trace_marker: As a low-privileged user with tracing access, create a tracing instance and enable the copy_trace_marker option, causing the instance's trace_array descriptor to be added to the marker_copies RCU-protected linked list.
  3. Trigger instance deletion: Delete the tracing instance. Due to the ordering bug, flags are cleared before update_marker_trace() is called, causing synchronize_rcu() to be skipped and leaving the freed trace_array descriptor in the list.
  4. Exploit UAF: Craft a concurrent read or write operation (e.g., writing to /sys/kernel/tracing/trace_marker) that triggers an RCU traversal of the marker_copies list while the freed memory is still accessible, enabling read of sensitive kernel data or memory corruption for privilege escalation.

Mitigation and workarounds

Update the Linux kernel to a patched version: 6.18.20 or later (for the 6.18.x branch), 6.19.10 or later (for the 6.19.x branch), or 7.0 (stable release). As a configuration-based workaround, restrict access to /sys/kernel/tracing to trusted administrative users only, and limit the ability to create and delete tracing instances. Monitoring for unusual tracing subsystem activity on affected kernel versions is also recommended (Red Hat Advisory, Kernel Patch).

Community reactions

The vulnerability was disclosed via the Linux kernel CVE announcement mailing list and tracked by Red Hat's Product Security team. No notable independent researcher commentary or significant social media discussion has been observed beyond standard CVE tracking and vendor advisory publication (Red Hat Bugzilla, Kernel CVE Announce).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux

Fixed

sid

linux: 6.19.10-1

Fixed

trixie

linux

Fixed

Ubuntu

Affected

bionic

linux

Not Affected

bionic (esm-infra)

linux

Not Affected

bionic (fips-updates)

linux-fips

Not Affected

bionic (fips)

linux-fips

Not Affected

devel

linux

Not Affected

focal

linux

Not Affected

focal (esm-infra)

linux

Not Affected

focal (fips-updates)

linux-fips

Not Affected

RHEL / CentOS

Affected

RHEL 8

Not Affected

RHEL 9

Not Affected

RHEL 10

Not Affected

SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-93189HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-aws-7.0
NoYesSep 17, 2026
CVE-2026-93188MEDIUM6.5
  • Linux Kernel logoLinux Kernel
  • linux-aws-7.0
NoYesSep 17, 2026
CVE-2026-93182NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-hwe-6.17
NoYesSep 17, 2026
CVE-2026-93181NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-nvidia-6.14
NoNoSep 17, 2026
CVE-2026-93174NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-7.0
NoYesSep 17, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management