Skip to main content

Linux Kernel CVE-2026-31607

| EUVDEUVD-2026-25500 CRITICAL
Out-of-bounds Write (CWE-787)
2026-04-24 Linux GHSA-fcfj-3h7q-75mq
9.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

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

  1. Recon
    Client connects to malicious USB/IP server
  2. Delivery
    Client submits isochronous USB transfer
  3. Exploit
    Server sends crafted RET_SUBMIT with inflated number_of_packets
  4. Install
    Kernel overwrites urb->number_of_packets without validation
  5. C2
    usbip_recv_iso() writes beyond allocated heap buffer
  6. Execute
    Kernel memory corruption enables code execution
  7. Impact
    Arbitrary code runs with kernel privileges

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
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 victim Linux system to be configured as USB/IP client with vhci-hcd kernel module loaded and actively connecting to an attacker-controlled or attacker-compromised USB/IP server. Victim must initiate or already have established a USB/IP session processing isochronous USB transfers (audio, video, or certain storage devices that use isochronous endpoints). Attacker must control the server endpoint specified in the client's USB/IP connection configuration (typically set via usbip attach command with explicit server IP/port). Exploitation LIMITED by: (1) USB/IP is not a default-enabled service - requires explicit administrator configuration on client side, (2) client must specifically choose to connect to attacker's server IP, (3) isochronous transfer must occur (not all USB devices use isochronous endpoints), (4) USB/IP traffic is typically local/lab network rather than internet-facing. Default Linux installations do not load vhci-hcd or connect to USB/IP servers without administrator action.

Impact

Real-world risk assessment reveals significant divergence between the CVSS 9.8 Critical score and actual exploitation likelihood. The CVSS vector (AV:N/AC:L/PR:N/UI:N) suggests trivial remote exploitation, but this is misleading because USB/IP is NOT exposed to the internet by default - it requires explicit configuration to connect a client to a specific server IP/port. The vulnerability requires the victim system to be configured as a USB/IP client actively connecting to a malicious server, which is a relatively rare deployment scenario typically found in specialized embedded systems, test labs, or virtualization environments. EPSS score of 0.02% (5th percentile) strongly supports this assessment, indicating security researchers and attackers alike view this as low real-world risk. No CISA KEV listing confirms no active exploitation campaigns. The high CVSS score reflects the severe impact IF exploitation occurs (arbitrary kernel code execution), but the low EPSS reflects the narrow attack surface. Primary risk scenarios: (1) attacker compromises a legitimate USB/IP server in a trusted environment, (2) man-in-the-middle attack on unencrypted USB/IP traffic, (3) social engineering to connect to malicious server. Organizations using USB/IP should prioritize patching, but this is NOT a drop-everything emergency for general Linux deployments. Critical discrepancy to note: CVSS PR:N (no privileges required) is technically correct from network protocol perspective, but operationally misleading because attacker must control or impersonate the server the client chooses to connect to.

Exploit ScenarioDerived

Attacker operates a malicious USB/IP server or compromises a legitimate server trusted by the victim client. When the victim Linux system (configured as USB/IP client via vhci-hcd) connects and submits an isochronous USB transfer request (common for webcams, audio devices, or USB storage), the malicious server responds with a crafted RET_SUBMIT packet containing number_of_packets value larger than the original request (e.g., original request had 8 packets, response claims 128). The kernel's usbip_recv_iso() function writes attacker-controlled data to iso_frame_desc[] array indices beyond the allocated heap region, corrupting adjacent kernel memory structures. By carefully crafting the overflow data, attacker achieves arbitrary kernel code execution with ring-0 privileges, leading to full system compromise. KASAN detection in kernel 7.0.0-rc5 confirms 320-byte region overflow as documented in the vulnerability description. No public POC identified at time of analysis, but the vulnerability is well-documented with specific exploitation mechanics, making POC development straightforward for skilled attackers.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
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 – Apr 27, 2026

Heap buffer overflow in Linux kernel USB/IP client allows malicious USB/IP servers to execute arbitrary code with kernel privileges via crafted RET_SUBMIT responses. A rogue server can specify a larger number_of_packets value than originally submitted, causing out-of-bounds writes when processing isochronous USB transfers. Patched in kernel versions 6.12.83, 6.18.24, 6.19.14, and 7.0.1. EPSS score of 0.02% (5th percentile) suggests low probability of widespread exploitation despite CVSS 9.8 criticality, indicating this is primarily a risk in environments using USB/IP with untrusted servers rather than a general internet-facing threat.

RemediationAI

Upgrade to patched Linux kernel versions: 6.12.83 or later for 6.12.x series, 6.18.24 or later for 6.18.x series, 6.19.14 or later for 6.19.x series, or 7.0.1 or later for 7.x series. Upstream git commits available at https://git.kernel.org/stable/c/ef8ebb1c637b4cfb61a9dd2e013376774ee2033b (6.12), https://git.kernel.org/stable/c/906f16a836de13fe61f49cdce2f66f2dbd14caf4 (6.18), https://git.kernel.org/stable/c/8d155e2d1c4102f74f82a2bf9c016164bb0f7384 (6.19), and https://git.kernel.org/stable/c/5e1c4ece08ccdc197177631f111845a2c68eede3 (7.0). For systems where immediate kernel upgrade is not feasible, disable USB/IP client functionality by blacklisting the vhci-hcd kernel module (echo 'blacklist vhci-hcd' > /etc/modprobe.d/disable-usbip.conf && update-initramfs -u) - this completely removes USB/IP client capability but eliminates attack surface. If USB/IP must remain enabled, implement network-level controls to restrict USB/IP client connections only to explicitly trusted server IPs using firewall rules, and deploy USB/IP traffic over encrypted tunnels (VPN/SSH port forwarding) to prevent man-in-the-middle attacks. Note that disabling the module prevents all USB/IP client usage; there is no granular per-server configuration mitigation. Organizations using USB/IP in production should audit which systems have vhci-hcd loaded (lsmod | grep vhci) and review trust relationships with connected servers.

Affected VersionsENISA

Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <ef8ebb1c637b4cfb61a9dd2e013376774ee2033b
Linux patch: 6.12.83
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <8d155e2d1c4102f74f82a2bf9c016164bb0f7384
Linux patch: 7.0.1
Linux patch: 6.18.24
Linux patch: 6.19.14
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <906f16a836de13fe61f49cdce2f66f2dbd14caf4
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <5e1c4ece08ccdc197177631f111845a2c68eede3

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

USB/IP is a kernel subsystem that allows USB devices to be shared over IP networks by virtualizing the USB protocol stack. The vulnerability exists in the client-side RET_SUBMIT response handler (usbip_pack_ret_submit() in drivers/usb/usbip/). When processing isochronous USB transfers, the kernel allocates a URB (USB Request Block) with a flexible array member iso_frame_desc[] sized based on the number_of_packets field from the original CMD_SUBMIT request. The vulnerable code unconditionally overwrites urb->number_of_packets with the server-supplied value from the network PDU without validation. Subsequent functions usbip_recv_iso() and usbip_pad_iso() use this attacker-controlled value as a loop bound to index into iso_frame_desc[], creating a classic heap buffer overflow condition. This is a CWE-787 (Out-of-bounds Write) vulnerability, though the CWE field is not populated in the CVE record. The Linux kernel CPE strings indicate this affects the core kernel module rather than a specific distribution.

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 (Linux) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SUSE CRITICAL
Red Hat 7.3 HIGH

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

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

Lifecycle Timeline

4
Patch released
Apr 28, 2026 - 15:11 nvd
Patch available
CVSS changed
Apr 27, 2026 - 15:22 NVD
9.8 (CRITICAL)
Patch available
Apr 24, 2026 - 16:16 EUVD
CVE Published
Apr 24, 2026 - 14:42 nvd
CRITICAL 9.8

DescriptionCVE.org

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

usbip: validate number_of_packets in usbip_pack_ret_submit()

When a USB/IP client receives a RET_SUBMIT response, usbip_pack_ret_submit() unconditionally overwrites urb->number_of_packets from the network PDU. This value is subsequently used as the loop bound in usbip_recv_iso() and usbip_pad_iso() to iterate over urb->iso_frame_desc[], a flexible array whose size was fixed at URB allocation time based on the *original* number_of_packets from the CMD_SUBMIT.

A malicious USB/IP server can set number_of_packets in the response to a value larger than what was originally submitted, causing a heap out-of-bounds write when usbip_recv_iso() writes to urb->iso_frame_desc[i] beyond the allocated region.

KASAN confirmed this with kernel 7.0.0-rc5:

BUG: KASAN: slab-out-of-bounds in usbip_recv_iso+0x46a/0x640 Write of size 4 at addr ffff888106351d40 by task vhci_rx/69

The buggy address is located 0 bytes to the right of allocated 320-byte region [ffff888106351c00, ffff888106351d40)

The server side (stub_rx.c) and gadget side (vudc_rx.c) already validate number_of_packets in the CMD_SUBMIT path since commits c6688ef9f297 ("usbip: fix stub_rx: harden CMD_SUBMIT path to handle malicious input") and b78d830f0049 ("usbip: fix vudc_rx: harden CMD_SUBMIT path to handle malicious input"). The server side validates against USBIP_MAX_ISO_PACKETS because no URB exists yet at that point. On the client side we have the original URB, so we can use the tighter bound: the response must not exceed the original number_of_packets.

This mirrors the existing validation of actual_length against transfer_buffer_length in usbip_recv_xbuff(), which checks the response value against the original allocation size.

Kelvin Mbogo's series ("usb: usbip: fix integer overflow in usbip_recv_iso()", v2) hardens the receive-side functions themselves; this patch complements that work by catching the bad value at its source -- in usbip_pack_ret_submit() before the overwrite -- and using the tighter per-URB allocation bound rather than the global USBIP_MAX_ISO_PACKETS limit.

Fix this by checking rpdu->number_of_packets against urb->number_of_packets in usbip_pack_ret_submit() before the overwrite. On violation, clamp to zero so that usbip_recv_iso() and usbip_pad_iso() safely return early.

Executive ViewAI

Why It Matters

CVE-2026-31607 is a critical kernel-level heap buffer overflow in Linux USB/IP client implementations that could allow a malicious USB/IP server to execute arbitrary code with kernel privileges. This vulnerability poses significant risk only to organizations using USB/IP protocol with untrusted or insufficiently validated servers; the extremely low EPSS score (0.02%) indicates minimal real-world exploitation probability, making this primarily a targeted threat rather than a widespread internet-facing risk.

Business Impact: Medium
Compensating Controls

Apply vendor patch. If immediate patching is not feasible: (1) Restrict USB/IP client connectivity to known, trusted USB/IP servers only via firewall/network policies; (2) Disable USB/IP client functionality on systems where it is not required; (3) Monitor kernel logs for unusual USB/IP transaction patterns or connection attempts from untrusted sources; (4) Isolate systems using USB/IP from critical network segments until patched.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% 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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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

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

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.

Vendor StatusVendor

SUSE

Severity: Critical
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