Skip to main content

Linux Kernel CVE-2026-63896

| EUVDEUVD-2026-45669 MEDIUM
Integer Overflow or Wraparound (CWE-190)
2026-07-19 Linux GHSA-5hvq-fg66-prgg
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Attach as malicious USB host
  2. Delivery
    Send crafted WebUSB GET_URL SETUP packet
  3. Exploit
    Underflow landing_page_length via tiny wLength
  4. Execution
    Oversized memcpy reads out of bounds
  5. Impact
    Kernel slab-out-of-bounds crash (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the target Linux device to be running in USB gadget/device mode with the WebUSB feature enabled (webusb/use=1) AND a landingPage configured - a non-default configuration found on phones, embedded systems, and single-board computers acting as USB devices. The attacker must be the USB host physically connected to that gadget; a single GET_URL SETUP packet with wLength below WEBUSB_URL_DESCRIPTOR_HEADER_LENGTH triggers the underflow. Limiting factors: the specific non-default WebUSB+landingPage gadget configuration must be present, the device must be in gadget mode, and the adversary needs physical USB host connectivity - gadgets not using WebUSB, or devices in host mode, are not affected. Impact is limited to a kernel crash (availability); there is no confidentiality or integrity impact.

Impact

This is a localized denial-of-service issue, not a high-priority threat. The supplied CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, base 5.5) scores Medium with availability-only impact, and all other signals agree it is low urgency: EPSS is 0.20% (10th percentile), the CVE is NOT on CISA KEV, no exploit/PoC code is present in the input, and the vuln.today Decision label is 'this_month' (routine patching, not act_now/emergency). The signals are internally consistent - low exploitation probability, no active exploitation, and the vendor-style priority all point to scheduled patching rather than an incident. One discrepancy must be flagged: the input CVSS uses AV:L and PR:L, but the description states the flaw is reached by a USB host sending a single SETUP packet to a Linux device operating in USB gadget mode - that is a physically-connected malicious host requiring no credentials on the target, which maps more naturally to AV:P/PR:N than AV:L/PR:L. This changes the mechanism (physical USB adversary) but not the overall conclusion: an attacker who can physically attach as a USB host to a specifically-configured gadget can crash the kernel. Impact is confined to availability (kernel slab-out-of-bounds crash); there is no confidentiality or integrity impact and no indication of code execution, so this is a real-but-low priority defect for the narrow population of devices running the affected configuration.

Exploit ScenarioDerived

A Linux device operating in USB gadget mode with WebUSB enabled (webusb/use=1) and a landing page configured is attached to a malicious USB host. The host sends a single crafted WebUSB GET_URL SETUP packet with a wLength smaller than WEBUSB_URL_DESCRIPTOR_HEADER_LENGTH, causing the unsigned landing_page_length subtraction to underflow and the subsequent memcpy to copy close to UINT_MAX bytes out of bounds, crashing the kernel (KASAN slab-out-of-bounds / FORTIFY_SOURCE trap). No public exploit code is identified in the provided data; the trigger path, however, is described in detail in the fix commit.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 – Nov 12, 2026

An integer underflow in the Linux kernel's USB gadget composite_setup() WebUSB GET_URL handler lets a physically attached USB host crash the device with a single malformed control request. Only Linux systems running in USB gadget/device mode with the WebUSB function enabled (webusb/use=1) and a landingPage configured are affected; that is a non-default configuration seen on phones, embedded systems, and single-board computers acting as USB peripherals. When the host supplies a wLength smaller than WEBUSB_URL_DESCRIPTOR_HEADER_LENGTH, an unsigned subtraction wraps and the follow-on memcpy attempts a near-UINT_MAX-byte copy into a 252-byte descriptor buffer, producing a slab-out-of-bounds write that KASAN and FORTIFY_SOURCE both flag. Impact is availability only (kernel crash; no confidentiality or integrity effect), the assessed vector is AV:P/AC:L/PR:N/UI:N, and no public exploit has been identified at time of analysis; EPSS is 0.20% (10th percentile) and the priority is this month.

RemediationAI

Vendor-released patches are available: upgrade to Linux 6.6.143, 6.12.93, 6.18.35, 7.0.12 or 7.1, or apply the matching stable commit (046870ff6b6f7b743c953c061043a9b30700d491, f5869dfaa89854dcf34121036294d42d6c7acb8f, f8f5a8f48c7cae3fac85e04b593bd47939f9725f, a20f0ccf45708af6e063c7234c215d364b00de25, or 6c5dbc104dadd79fc2923497c20bae759a18758c) and rebuild the gadget composite function; Ubuntu kernels are covered by https://ubuntu.com/security/notices/USN-8593-1. Where patching must wait, the practical compensating control is to stop exposing the vulnerable code path: remove the landingPage property from the WebUSB configuration or disable the WebUSB function entirely (webusb/use=0) in the gadget's configfs/USB descriptor setup and rebind the gadget, accepting that userspace WebUSB device access is lost while the gadget remains usable for its other functions. Physical USB access on untrusted hosts can additionally be restricted by only attaching the gadget to trusted hosts or by using data-blocking charge-only cables/ports, with the obvious trade-off of losing data functionality. Kernels in host mode or without the WebUSB gadget function require no action for this CVE.

Affected VersionsENISA

Linux patch: 7.0.12
Linux 93c473948c588978cd55d9a3adad8b3e8057aa21 <f5869dfaa89854dcf34121036294d42d6c7acb8f
Linux patch: 0
Linux patch: 6.6.143
Linux 93c473948c588978cd55d9a3adad8b3e8057aa21 <046870ff6b6f7b743c953c061043a9b30700d491
Linux 93c473948c588978cd55d9a3adad8b3e8057aa21 <6c5dbc104dadd79fc2923497c20bae759a18758c
Linux 93c473948c588978cd55d9a3adad8b3e8057aa21 <f8f5a8f48c7cae3fac85e04b593bd47939f9725f
Linux 93c473948c588978cd55d9a3adad8b3e8057aa21 <a20f0ccf45708af6e063c7234c215d364b00de25
Linux patch: 6.18.35
Linux patch: 6.12.93
Linux 6.3
Linux patch: 7.1

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

The flaw is CWE-190 (integer overflow/underflow) in the USB gadget composite layer, where the WebUSB descriptor handler in composite_setup() services standard GET_URL control requests on behalf of a gadget. Per the patch description, the handler narrows the stored landing page length to the host-supplied wLength with an unsigned expression (w_length - WEBUSB_URL_DESCRIPTOR_HEADER_LENGTH + landing_page_offset); when wLength is below WEBUSB_URL_DESCRIPTOR_HEADER_LENGTH the subtraction wraps, and the subsequent memcpy from cdev->landing_page + landing_page_offset into url_descriptor->URL is sized to the wrapped value. Kernel instrumentation reported a slab-out-of-bounds in composite_setup on the kmalloc-2k gadget_info allocation and FORTIFY_SOURCE trapped a 4294967293-byte field-spanning write into url_descriptor->URL, which has a declared size of 252 bytes. The fix short-circuits the small-wLength case before the arithmetic: setting landing_page_length to landing_page_offset makes the existing memcpy a no-op, keeps behavior unchanged for all larger wLength values, and avoids restructuring the descriptor path. The trigger is reachable from a single SETUP packet issued by the USB host against any gadget advertising WebUSB with a landing page; kernels without that gadget configuration, or running in host mode, never reach the code path.

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

A physically-attached malicious USB host (AV:P) needs no target credentials (PR:N) and a single reliable packet triggers it (AC:L); impact is a kernel crash only, so C:N/I:N/A:H.

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

Lifecycle Timeline

4
CVSS changed
Nov 12, 2026 - 15:07 NVD
5.5 (MEDIUM)
Patch available
Jul 19, 2026 - 17:19 EUVD
CVE Published
Jul 19, 2026 - 14:55 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 19, 2026 - 14:55 nvd
MEDIUM 5.5

DescriptionNVD

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

usb: gadget: composite: fix integer underflow in WebUSB GET_URL handling

The WebUSB GET_URL handler in composite_setup() narrows landing_page_length to fit the host-supplied wLength using

landing_page_length = w_length

  • WEBUSB_URL_DESCRIPTOR_HEADER_LENGTH + landing_page_offset;

If wLength is smaller than WEBUSB_URL_DESCRIPTOR_HEADER_LENGTH the unsigned subtraction wraps, and the subsequent

memcpy(url_descriptor->URL, cdev->landing_page + landing_page_offset, landing_page_length - landing_page_offset);

ends up copying close to UINT_MAX bytes from cdev->landing_page into cdev->req->buf. KASAN reports a slab-out-of-bounds in composite_setup on the kmalloc-2k gadget_info allocation, and FORTIFY_SOURCE traps the memcpy as a 4294967293-byte field-spanning write into url_descriptor->URL (size 252).

A USB host can reach this from a single SETUP packet against any gadget that has webusb/use=1 and a landingPage configured.

Handle the small-wLength case before the math: when the host requested fewer bytes than the URL descriptor header, only the header is meaningful and no URL bytes need to be copied. Setting landing_page_length to landing_page_offset makes the existing memcpy a no-op and leaves the descriptor returned to the host unchanged for all larger wLength values.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Low
Linux is ubiquitous, but the vulnerable WebUSB gadget-mode config is 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

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

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.

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

Vendor StatusVendor

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