Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttach as malicious USB host
-
DeliverySend crafted WebUSB GET_URL SETUP packet
-
ExploitUnderflow landing_page_length via tiny wLength
-
ExecutionOversized memcpy reads out of bounds
-
ImpactKernel 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
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.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionNVD
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
EUVD-2026-45669
GHSA-5hvq-fg66-prgg
NVD
CVE.org
EPSS
VulDB
Exploit-DB