Skip to main content

Linux Kernel CVE-2025-40048

HIGH
2025-10-28 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.5
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
    Guest runs uio_hv_generic UIO driver
  2. Delivery
    Driver sets inbound ring interrupt mask
  3. Exploit
    Host queues message without interrupt
  4. Execution
    User space clears mask, calls pread()
  5. Persist
    Missed empty-to-nonempty transition
  6. Impact
    pread() hangs, service denial

Vulnerability Assessment

Exploitation Conditions

Requires a Linux guest running under Microsoft Hyper-V with the uio_hv_generic driver actively bridging a VMBus channel to a user-space UIO consumer (such as hv_fcopy_uio_daemon) - a non-default, specialized deployment. The hang is triggered only within a specific timing/race window in which the driver sets interrupt_mask to 1 while user space is between emptying the ring and resetting the mask to 0, and a host message must arrive during that window while the ring is non-empty. Limiting factors: the vulnerable driver must be loaded and in use (it is absent from typical bare-metal, non-Hyper-V, or non-UIO deployments), impact is confined to the affected guest, and exploitation depends on race timing rather than direct attacker control - which is why EPSS is low and no POC exists.

Impact

The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, base 7.5) scores this as a network, unauthenticated, availability-only issue, but that rating is inconsistent with the described mechanism. The condition is a timing race between the in-guest kernel driver and the in-guest user-mode UIO driver, not something a remote unauthenticated attacker crafts over the network - it is closer to a local, configuration-dependent reliability defect triggered by ordinary host/guest message timing. The input Tags label this 'Information Disclosure,' which directly conflicts with the CVSS impact metrics (C:N/I:N) and the description, both of which indicate an availability/hang impact only; the 'Information Disclosure' tag appears to be mislabeled. EPSS is low (0.21%), there is no KEV listing and no POC, all consistent with a hard-to-weaponize timing bug rather than an attacker-driven exploit. Net assessment: real but low priority; the raw 7.5 overstates practical attacker risk because AV:N and PR:N do not reflect the local, race-triggered nature of the flaw. CVSS indicates a network vector but the description implies a local guest-side race - verify the attack vector with the vendor.

Exploit ScenarioDerived

On a Hyper-V Linux guest using uio_hv_generic, the kernel driver sets the inbound ring interrupt mask while the host places a message in the ring without generating an interrupt; the user-mode driver then clears the mask and calls pread() to wait, but because the ring is already non-empty no further interrupt is raised and pread() blocks forever, hanging the service. There is no public exploit code, and the condition arises from message/timing races rather than a crafted attacker payload, making deliberate exploitation impractical.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 30, 2026

Denial of service in the Linux kernel's uio_hv_generic driver affects Hyper-V guest VMs that expose VMBus channels to userspace UIO drivers, where the kernel driver improperly manipulated the ring-buffer interrupt mask concurrently with user space. This race causes the guest user-mode driver to miss a host interrupt and hang indefinitely inside pread(), stalling the affected service. No public exploit identified at time of analysis; EPSS is low (0.21%, 12th percentile) and it is not on the CISA KEV list.

RemediationAI

Update to a Linux kernel build that includes the fix removing the driver-side interrupt_mask writes; the fix is distributed as the stable-tree commits referenced (for example https://git.kernel.org/stable/c/a44f61f878f32071d6378e8dd7c2d47f9490c8f7 and the seven sibling commits), so apply your distribution's kernel update that incorporates the matching stable commit for your branch. Upstream fix available (commit); a single released/tagged patched version is not independently confirmed from the input, so consult your distro advisory for the exact package version. As a compensating measure where you cannot immediately patch, ensure user-space UIO daemons set the inbound interrupt mask to 0 promptly and avoid delaying that operation (the described reproduction relies on delaying it); if the uio_hv_generic userspace path is not required, unbind or avoid loading the driver so the vulnerable code path is not exercised - the trade-off is loss of Hyper-V userspace VMBus functionality such as file-copy operations.

Affected ProductsAI

The affected product is the Linux kernel, specifically the uio_hv_generic driver used by Hyper-V guests that expose VMBus channels to user space (e.g., via hv_fcopy_uio_daemon). No CPE strings or explicit version ranges were provided in the input; the eight git.kernel.org/stable commit references (01ce972e, 2af39ab5, 37bd91f2, 540aac11, 65d40acd, a44f61f8, b15b7d2a, e29587c0) indicate the fix was applied to mainline and backported across multiple stable kernel branches, but the exact vulnerable version ranges are not stated in the available data. Only Linux guests running under Hyper-V with the UIO generic VMBus driver in use are practically affected.

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

The affected component is uio_hv_generic, the userspace I/O (UIO) bridge for Microsoft Hyper-V VMBus channels, used by helper daemons such as hv_fcopy_uio_daemon. VMBus communication uses inbound/outbound ring buffers, and the host only raises a guest interrupt when a ring transitions from empty to non-empty. An interrupt_mask bit governs whether the host signals the guest. The bug is a concurrency/race condition (functionally a CWE-362-class defect, though the input lists CWE as N/A): the kernel driver set interrupt_mask by default and inside hv_uio_channel_cb(), while by design that bit is meant to be owned exclusively by user space via writes of 0/1 to /dev/uioX. If the driver sets the mask while user space is operating on the ring, the guest can miss the empty-to-non-empty transition and never be woken. The fix removes all driver-side interrupt_mask writes except the one in set_event(), returning full control of the mask to user space.

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.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 4.7 MEDIUM

Local race in a specialized in-guest driver rather than a remote payload gives AV:L/AC:H; the UIO driver must be deployed and in use (PR:L); impact is a hang, availability only.

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

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

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

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

DescriptionCVE.org

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

uio_hv_generic: Let userspace take care of interrupt mask

Remove the logic to set interrupt mask by default in uio_hv_generic driver as the interrupt mask value is supposed to be controlled completely by the user space. If the mask bit gets changed by the driver, concurrently with user mode operating on the ring, the mask bit may be set when it is supposed to be clear, and the user-mode driver will miss an interrupt which will cause a hang.

For eg- when the driver sets inbound ring buffer interrupt mask to 1, the host does not interrupt the guest on the UIO VMBus channel. However, setting the mask does not prevent the host from putting a message in the inbound ring buffer. So let’s assume that happens, the host puts a message into the ring buffer but does not interrupt.

Subsequently, the user space code in the guest sets the inbound ring buffer interrupt mask to 0, saying “Hey, I’m ready for interrupts”. User space code then calls pread() to wait for an interrupt. Then one of two things happens:

  • The host never sends another message. So the pread() waits forever.
  • The host does send another message. But because there’s already a

message in the ring buffer, it doesn’t generate an interrupt. This is the correct behavior, because the host should only send an interrupt when the inbound ring buffer transitions from empty to not-empty. Adding an additional message to a ring buffer that is not empty is not supposed to generate an interrupt on the guest. Since the guest is waiting in pread() and not removing messages from the ring buffer, the pread() waits forever.

This could be easily reproduced in hv_fcopy_uio_daemon if we delay setting interrupt mask to 0.

Similarly if hv_uio_channel_cb() sets the interrupt_mask to 1, there’s a race condition. Once user space empties the inbound ring buffer, but before user space sets interrupt_mask to 0, the host could put another message in the ring buffer but it wouldn’t interrupt. Then the next pread() would hang.

Fix these by removing all instances where interrupt_mask is changed, while keeping the one in set_event() unchanged to enable userspace control the interrupt mask by writing 0/1 to /dev/uioX.

Executive ViewAI

Why It Matters

CVE-2025-40048 affects specific Linux-on-Hyper-V configurations and can cause production service hangs until manual intervention, impacting organizational availability. Although no public exploit identified at time of analysis, the vulnerability requires immediate inventory of affected systems and mitigation planning. Organizations must prioritize identifying which services run affected configurations and implementing interim protections.

Business Impact: Medium
Compensating Controls

Disable non-essential VMBus channels if architecturally feasible; implement service monitoring with automated restart mechanisms for affected drivers; route critical workloads to non-Hyper-V infrastructure during patch deployment phase; establish weekly vendor advisory monitoring for patch releases.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Low
niche Hyper-V uio_hv_generic userspace VMBus driver, rarely deployed
Data Quality
4 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.2%
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
Open
Automatable· derived
Yes
Human Impact
Medium

Priority Score

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

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
Container suse/hpc/warewulf4-x86_64/sle-hpc-node:latest Image SLES15-SP6 Image SLES15-SP6-BYOS Image SLES15-SP6-BYOS-Azure Image SLES15-SP6-BYOS-EC2 Image SLES15-SP6-BYOS-GCE Image SLES15-SP6-CHOST-BYOS Image SLES15-SP6-CHOST-BYOS-Aliyun Image SLES15-SP6-CHOST-BYOS-Azure Image SLES15-SP6-CHOST-BYOS-EC2 Image SLES15-SP6-CHOST-BYOS-GCE Image SLES15-SP6-CHOST-BYOS-GDC Image SLES15-SP6-CHOST-BYOS-SAP-CCloud Image SLES15-SP6-EC2 Image SLES15-SP6-EC2-ECS-HVM Image SLES15-SP6-GCE Image SLES15-SP6-HPC-BYOS Image SLES15-SP6-HPC-BYOS-Azure Image SLES15-SP6-HPC-BYOS-EC2 Image SLES15-SP6-HPC-BYOS-GCE Image SLES15-SP6-HPC-EC2 Image SLES15-SP6-HPC-GCE Image SLES15-SP6-Hardened-BYOS Image SLES15-SP6-Hardened-BYOS-Azure Image SLES15-SP6-Hardened-BYOS-EC2 Image SLES15-SP6-Hardened-BYOS-GCE Image SLES15-SP6-SAP Image SLES15-SP6-SAP-Azure Image SLES15-SP6-SAP-EC2 Image SLES15-SP6-SAP-GCE Image SLES15-SP6-SAPCAL Image SLES15-SP6-SAPCAL-Azure Image SLES15-SP6-SAPCAL-EC2 Image SLES15-SP6-SAPCAL-GCE Affected
Container suse/sl-micro/6.0/baremetal-os-container:latest Container suse/sl-micro/6.0/toolbox:latest Affected
Container suse/sl-micro/6.0/base-os-container:2.1.3-7.95 Image SLE-Micro Image SLE-Micro-Azure Image SLE-Micro-BYOS Image SLE-Micro-BYOS-Azure Image SLE-Micro-BYOS-EC2 Image SLE-Micro-BYOS-GCE Image SLE-Micro-EC2 Image SLE-Micro-GCE Affected
Container suse/sl-micro/6.0/kvm-os-container:2.1.3-6.114 Affected
Container suse/sl-micro/6.0/rt-os-container:2.1.3-7.116 Affected

References

Advisories & patches
ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:21080/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:21147/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:21180/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4393/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4422/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4505/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4506/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4515/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4516/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4517/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4521/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0029/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0033/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0034/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20039/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20059/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20334/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20473/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20478/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20496/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20519/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20561/ REF https://git.kernel.org/stable/c/01ce972e6f9974a7c76943bcb7e93746917db83a REF https://git.kernel.org/stable/c/2af39ab5e6dc46b835a52e80a22d0cad430985e3 REF https://git.kernel.org/stable/c/37bd91f22794dc05436130d6983302cb90ecfe7e REF https://git.kernel.org/stable/c/540aac117eaea5723cef5e4cbf3035c4ac654d92 REF https://git.kernel.org/stable/c/65d40acd911c7011745cbbd2aaac34eb5266d11e REF https://git.kernel.org/stable/c/a44f61f878f32071d6378e8dd7c2d47f9490c8f7 REF https://git.kernel.org/stable/c/b15b7d2a1b09ef5428a8db260251897405a19496 REF https://git.kernel.org/stable/c/e29587c07537929684faa365027f4b0d87521e1b

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