Skip to main content

Linux Kernel CVE-2025-40291

| EUVDEUVD-2025-201653 HIGH
2025-12-08 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. Access
    Gain local low-privileged code execution
  2. Delivery
    Open io_uring instance via io_uring_setup
  3. Exploit
    Register crafted oversized buffer vector
  4. Execution
    Trigger int truncation in io_estimate_bvec_size
  5. Persist
    Cause kernel heap out-of-bounds write
  6. Impact
    Groom heap and escalate to root

Vulnerability Assessment

Exploitation Conditions

Exploitation requires local access with the ability to issue io_uring syscalls (io_uring_setup/io_uring_register) on a kernel built with io_uring enabled and not restricted by kernel.io_uring_disabled or a blocking seccomp policy; the attacker must register a buffer vector large/crafted enough to trigger the int truncation in io_estimate_bvec_size(). Per the CVSS vector (PR:L), the attacker must be authenticated as a local low-privileged user, and no user interaction is required (UI:N). Limiting factors: exploitation is local-only (AV:L) - not remotely reachable - and is neutralized on hosts where io_uring is disabled for unprivileged users or where seccomp blocks the io_uring syscalls, and only kernels in the vulnerable 6.15-6.17 range (before 6.17.8/6.18) are affected.

Impact

The CVSS 3.1 base score is 7.8 (High) with vector AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, indicating local access with low privileges and no user interaction yields full CIA impact - a realistic local privilege-escalation profile for a kernel heap-corruption bug. However, the EPSS score is only 0.03% (7th percentile), the flaw is not on the CISA KEV list, and no POC is referenced, so the near-term probability of widespread exploitation is low. These signals are consistent rather than conflicting: high host-level severity if reached, but low likelihood absent a working exploit, and exploitation requires local code execution against a kernel built with io_uring enabled and reachable by the attacker. The severity is real for multi-tenant or sandbox-escape scenarios where io_uring is exposed to untrusted local users, but this is not an internet-facing, drive-by threat. No SSVC decision record is provided in the input, so automatable/technical-impact classification cannot be independently confirmed.

Exploit ScenarioDerived

A local user with the ability to run code - for example a low-privileged account, a container tenant, or a sandboxed process - registers a crafted buffer vector via io_uring so that io_estimate_bvec_size() truncates the segment count, producing an undersized allocation. The subsequent I/O operation writes past the allocated region, corrupting kernel heap memory that the attacker grooms to achieve privilege escalation. No public POC is referenced, so weaponization would require independent exploit development.

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

AnalysisAIv2 – Jul 30, 2026

Local privilege escalation and memory corruption in the Linux kernel's io_uring subsystem arises from an integer truncation flaw in io_estimate_bvec_size(), where the calculated number of registered-buffer segments is truncated into an int and can overflow values used in later allocation and copy logic. Affected are Linux kernel builds carrying the vulnerable io_uring registered buffer vector code (6.15 through the fixed 6.17.8/6.18 line); a local user able to submit io_uring operations can trigger heap corruption with high confidentiality, integrity, and availability impact. There is no public exploit identified at time of analysis, and EPSS is very low (0.03%), consistent with a bug reported and fixed upstream rather than one under active exploitation.

Earlier versions of this analysis (1)
v1 Mar 15, 2026 - 17:54

RemediationAI

Vendor-released patch: update to Linux 6.17.8 or 6.18 (or a distribution kernel that backports fix commits 826ce37a842633efe1bb763e4b13045d74060d72 / 146eb58629f45f8297e83d69e64d4eea4b28d972), as referenced at https://git.kernel.org/stable/c/826ce37a842633efe1bb763e4b13045d74060d72 and https://git.kernel.org/stable/c/146eb58629f45f8297e83d69e64d4eea4b28d972. Apply your distribution's corresponding kernel security update and reboot. Where immediate patching is not possible, the primary compensating control is to restrict io_uring exposure: set the sysctl kernel.io_uring_disabled=2 to disable io_uring for unprivileged users system-wide (trade-off: applications relying on io_uring lose that acceleration and may fall back to slower syscalls or fail), or confine untrusted workloads with seccomp profiles that block io_uring_setup/io_uring_register (as done by default in newer Docker/containerd profiles). Limiting local shell access and untrusted code execution on affected hosts also reduces reachability of the local attack vector.

Affected VersionsENISA

Linux 9ef4cbbcb4ac3786a1a4164507511b76b2a572c5 <826ce37a842633efe1bb763e4b13045d74060d72
Linux patch: 6.18
Linux 9ef4cbbcb4ac3786a1a4164507511b76b2a572c5 <146eb58629f45f8297e83d69e64d4eea4b28d972
Linux 6.15
Linux patch: 6.17.8
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

io_uring is the Linux asynchronous I/O interface that lets user space submit batched operations via shared submission/completion rings. This vulnerability lives in the registered-buffer (regbuf) path, specifically io_estimate_bvec_size(), which computes how many bio_vec (bvec) segments a registered buffer vector requires. The computed segment count is truncated to a signed int and is not checked against int overflow before being consumed by downstream size and allocation math. The root cause class is integer truncation/overflow leading to an undersized allocation or out-of-bounds handling - effectively a buffer overflow (as the input tags confirm), a classic CWE-190/CWE-681-style arithmetic error feeding a CWE-787 out-of-bounds write, even though the CWE field is formally N/A in the source 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

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
vuln.today AI 7.8 HIGH

Local unprivileged io_uring access (AV:L/PR:L) with no interaction triggers kernel heap corruption enabling full host compromise, so C:H/I:H/A:H; scope unchanged within the kernel.

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

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
Jul 30, 2026 - 06:37 NVD
7.8 (HIGH)
Patch available
Apr 16, 2026 - 05:29 EUVD
826ce37a842633efe1bb763e4b13045d74060d72,146eb58629f45f8297e83d69e64d4eea4b28d972
CVE Published
Dec 08, 2025 - 01:16 cve.org
HIGH 7.8
CVE Published
Dec 08, 2025 - 01:16 nvd
N/A

DescriptionCVE.org

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

io_uring: fix regbuf vector size truncation

There is a report of io_estimate_bvec_size() truncating the calculated number of segments that leads to corruption issues. Check it doesn't overflow "int"s used later. Rough but simple, can be improved on top.

Executive ViewAI

Why It Matters

A privilege escalation vulnerability affecting Linux kernel versions 6.15 and later (fixed in 6.17.8 and 6.18 releases) allows local users to escalate privileges and corrupt system memory through an integer truncation flaw in the io_uring subsystem. This poses significant risk to organizations operating multi-tenant systems, containerized environments, or shared infrastructure where unprivileged users have system access. A vendor patch has been released and deployment should be prioritized based on system exposure.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Prevalence
Ubiquitous
Linux kernel with io_uring runs across a huge fraction of servers and hosts
Data Quality
5 sources
Confidence: Medium

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

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 16.0 Not-Affected

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