Skip to main content

Linux Kernel CVE-2025-38453

MEDIUM
2025-07-25 416baaa9-dc9f-4396-8d5f-8c081fb06d67
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Gain local user access
  2. Delivery
    Open two io_uring instances
  3. Exploit
    Issue IORING_OP_MSG_RING cross-ring operation
  4. Execution
    io_kiocb freed prematurely without RCU deferral
  5. Persist
    Concurrent task_work add dereferences freed memory
  6. Impact
    Kernel use-after-free triggers panic (DoS)

Vulnerability Assessment

Exploitation Conditions

Exploitation requires local system access and sufficient permissions to open and use io_uring file descriptors (PR:L), which is the default for unprivileged users on most Linux distributions unless restricted via the kernel.io_uring_disabled or kernel.io_uring_group sysctl, or via seccomp/Landlock/AppArmor policies. The race specifically requires the IORING_OP_MSG_RING opcode to be used across two distinct io_uring instances so that io_msg_remote_post triggers the cross-ring task_work path. This vulnerability is limited to Linux kernel 6.16-rc1 through rc5 only - no stable kernel release is affected. Production systems not running pre-release kernels are categorically not vulnerable.

Impact

The NVD-assigned CVSS 3.1 score of 5.5 (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) correctly captures the local-only, low-privilege attack vector with purely availability impact. EPSS at 0.14% (4th percentile) and no CISA KEV listing place this firmly in the low-exploitation-probability category. No public proof-of-concept exploit code has been identified; the only public reproduction is via syzbot's automated fuzzing, which requires significant kernel infrastructure to replicate. Critically, the vulnerable versions are exclusively pre-release 6.16 release candidates (rc1-rc5), meaning production systems running any stable kernel branch are not affected. The real-world risk is therefore confined to developers and CI/CD pipelines running mainline pre-release kernels. Severity is further limited by the impact being restricted to availability (kernel crash/DoS) with no confidentiality or integrity consequences, and the requirement for local access.

Exploit ScenarioDerived

A local user opens two io_uring instances and issues a IORING_OP_MSG_RING operation directing one ring to post a completion message to the other. Under race timing, the source ring's io_kiocb is freed before __io_req_task_work_add on the destination ring completes its dereference, triggering a kernel use-after-free that KASAN detects and which can cause a kernel panic. No public POC beyond syzbot's automated reproduction exists.

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

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

Alert me

AnalysisAIv1 – Jul 30, 2026

Use-after-free in the Linux kernel io_uring msg_ring subsystem allows a local, low-privileged attacker to crash the kernel via denial of service. Specifically, io_kiocb request objects allocated by msg_ring are freed immediately rather than deferred through an RCU grace period, creating a race where task_work addition races against premature object reclamation. Confirmed by KASAN via syzbot on 6.16-rc4; no public exploit identified at time of analysis and EPSS is negligible at 0.14% (4th percentile).

RemediationAI

Apply one of the three upstream kernel patches available via kernel.org stable tree: https://git.kernel.org/stable/c/094ba14a471cc6c68078c7ad488539eaf32c2277, https://git.kernel.org/stable/c/e5b3432f4a6b418b8bd8fc91f38efbf17a77167a, or https://git.kernel.org/stable/c/fc582cd26e888b0652bc1494f252329453fd3b23. The fix adds an rcu_head member to the relevant structure and replaces direct kfree() calls in io_msg_tw_complete() and its sibling free site with kfree_rcu(), deferring deallocation until the RCU grace period expires. No exact patched stable release version has been independently confirmed from the available references - only upstream git commits exist. Because this affects only pre-release 6.16-rc kernels, the primary workaround for production environments is to avoid running 6.16-rc kernels. For development or CI environments that must run rc kernels, disabling io_uring via the kernel parameter io_uring.disabled=1 (available since 5.10) eliminates the attack surface entirely, though it also disables all io_uring functionality.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

io_uring is the Linux kernel's high-performance asynchronous I/O interface introduced in 5.1; msg_ring is its inter-ring messaging mechanism that lets one io_uring instance post completion events to another. The io_kiocb structure represents an in-flight I/O request. Unlike requests managed through io_uring's normal slab allocator (which handles RCU-safe freeing), msg_ring allocates and frees io_kiocb objects independently via its own path. The flaw manifests in io_msg_tw_complete() and a second free site: when the cross-ring message delivers via io_msg_remote_post → io_msg_data_remote → __io_msg_ring_data, the source ring's io_kiocb is freed immediately. A concurrent CPU executing __io_req_task_work_add can then dereference the already-freed pointer, triggering a KASAN use-after-free report (functionally CWE-416). The fix adds an rcu_head to the structure and replaces kfree() with kfree_rcu(), deferring reclamation until all RCU readers have completed their grace period. Affected CPEs: cpe:2.3:o:linux:linux_kernel:6.16:rc1 through rc5.

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 5.5 MEDIUM

Local access and low privilege sufficient to use io_uring; only availability impacted via kernel crash; no confidentiality or integrity consequences.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 7.8 HIGH
AV:L/AC:L/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

DescriptionNVD

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

io_uring/msg_ring: ensure io_kiocb freeing is deferred for RCU

syzbot reports that defer/local task_work adding via msg_ring can hit a request that has been freed:

CPU: 1 UID: 0 PID: 19356 Comm: iou-wrk-19354 Not tainted 6.16.0-rc4-syzkaller-00108-g17bbde2e1716 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: <TASK> dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:408 [inline] print_report+0xd2/0x2b0 mm/kasan/report.c:521 kasan_report+0x118/0x150 mm/kasan/report.c:634 io_req_local_work_add io_uring/io_uring.c:1184 [inline] __io_req_task_work_add+0x589/0x950 io_uring/io_uring.c:1252 io_msg_remote_post io_uring/msg_ring.c:103 [inline] io_msg_data_remote io_uring/msg_ring.c:133 [inline] __io_msg_ring_data+0x820/0xaa0 io_uring/msg_ring.c:151 io_msg_ring_data io_uring/msg_ring.c:173 [inline] io_msg_ring+0x134/0xa00 io_uring/msg_ring.c:314 __io_issue_sqe+0x17e/0x4b0 io_uring/io_uring.c:1739 io_issue_sqe+0x165/0xfd0 io_uring/io_uring.c:1762 io_wq_submit_work+0x6e9/0xb90 io_uring/io_uring.c:1874 io_worker_handle_work+0x7cd/0x1180 io_uring/io-wq.c:642 io_wq_worker+0x42f/0xeb0 io_uring/io-wq.c:696 ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 </TASK>

which is supposed to be safe with how requests are allocated. But msg ring requests alloc and free on their own, and hence must defer freeing to a sane time.

Add an rcu_head and use kfree_rcu() in both spots where requests are freed. Only the one in io_msg_tw_complete() is strictly required as it has been visible on the other ring, but use it consistently in the other spot as well.

This should not cause any other issues outside of KASAN rightfully complaining about it.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Ubiquitous
Linux kernel is ubiquitous, but vulnerable 6.16-rc is pre-release only
Data Quality
3 sources
Confidence: Low

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.1%
Patch available Yes
Active threat No
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
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

Priority Score

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

Attack Technique

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

Affected Products (CPE)NVD

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc5:*:*:*:*:*:*

Vendor StatusVendor

SUSE

Severity: Important
Product Status
Image SLES-Azure-3P Image SLES-Azure-Basic Image SLES-Azure-Standard Image SLES-BYOS-Azure Image SLES-BYOS-EC2 Image SLES-BYOS-GCE Image SLES-CHOST-BYOS-Aliyun Image SLES-CHOST-BYOS-Azure Image SLES-CHOST-BYOS-EC2 Image SLES-CHOST-BYOS-GCE Image SLES-CHOST-BYOS-GDC Image SLES-CHOST-BYOS-SAP-CCloud Image SLES-EC2 Image SLES-EC2-ECS Image SLES-GCE Image SLES-GCE-3P Image SLES-Hardened-BYOS-Azure Image SLES-Hardened-BYOS-EC2 Image SLES-Hardened-BYOS-GCE Image SLES-SAPCAL-Azure Image SLES-SAPCAL-EC2 Image SLES-SAPCAL-GCE Affected
Image SLES-SAP-Azure Image SLES-SAP-Azure-3P Image SLES-SAP-BYOS-Azure Image SLES-SAP-BYOS-EC2 Image SLES-SAP-BYOS-GCE Image SLES-SAP-EC2 Image SLES-SAP-GCE Image SLES-SAP-GCE-3P Affected
Image SLES15-SP7-Azure-3P Image SLES15-SP7-Azure-Basic Image SLES15-SP7-Azure-Standard Image SLES15-SP7-HPC-Azure Affected
Image SLES15-SP7-BYOS-Azure Image SLES15-SP7-BYOS-EC2 Image SLES15-SP7-BYOS-GCE Image SLES15-SP7-CHOST-BYOS-Aliyun Image SLES15-SP7-CHOST-BYOS-Azure Image SLES15-SP7-CHOST-BYOS-EC2 Image SLES15-SP7-CHOST-BYOS-GCE Image SLES15-SP7-CHOST-BYOS-GDC Image SLES15-SP7-CHOST-BYOS-SAP-CCloud Image SLES15-SP7-EC2 Image SLES15-SP7-EC2-ECS-HVM Image SLES15-SP7-GCE Image SLES15-SP7-GCE-3P Image SLES15-SP7-HPC-BYOS-Azure Image SLES15-SP7-HPC-BYOS-EC2 Image SLES15-SP7-HPC-BYOS-GCE Image SLES15-SP7-Hardened-BYOS-Azure Image SLES15-SP7-Hardened-BYOS-EC2 Image SLES15-SP7-Hardened-BYOS-GCE Image SLES15-SP7-SAPCAL-Azure Image SLES15-SP7-SAPCAL-EC2 Image SLES15-SP7-SAPCAL-GCE Affected
Image SLES15-SP7-SAP-Azure Image SLES15-SP7-SAP-Azure-3P Image SLES15-SP7-SAP-Azure-LI-BYOS-Production Image SLES15-SP7-SAP-Azure-VLI-BYOS-Production Image SLES15-SP7-SAP-BYOS-Azure Image SLES15-SP7-SAP-BYOS-EC2 Image SLES15-SP7-SAP-BYOS-GCE Image SLES15-SP7-SAP-EC2 Image SLES15-SP7-SAP-GCE Image SLES15-SP7-SAP-GCE-3P Image SLES15-SP7-SAP-Hardened-Azure Image SLES15-SP7-SAP-Hardened-BYOS-Azure Image SLES15-SP7-SAP-Hardened-BYOS-EC2 Image SLES15-SP7-SAP-Hardened-BYOS-GCE Image SLES15-SP7-SAP-Hardened-GCE Affected

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