CVE-2026-63927

usb: dwc2: Fix use after free in debug code

Published Jul 19, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

usb: dwc2: Fix use after free in debug code

We're not allowed to dereference "urb" after calling
usb_hcd_giveback_urb() so save the urb->status ahead of time.

Analysis

AI-generated

Technical impact

The vulnerability consists of a use‑after‑free in the DWC2 USB controller driver within the Linux kernel. After a USB request block (URB) is released via usb_hcd_giveback_urb(), the debug code may subsequently dereference the same URB pointer, writing to freed memory. This memory corruption can cause kernel crashes, and based on the description it is inferred that if an attacker could influence the freed object, arbitrary code execution might be possible. The flaw is confined to debug paths, so normal USB operation is unaffected unless debug logging is enabled.

Affected Systems

All Linux kernel configurations that include the DWC2 USB controller driver without the pending patch are at risk. The vulnerability is present in any kernel released before the commits linked in the advisory. Because version specifics are not provided, all current Linux kernel releases containing the DWC2 module are considered vulnerable until the fix is applied.

Risk and Exploitability

The CVSS score of 7.8 classifies the issue as high severity. The EPSS score of <1% indicates a very low likelihood of exploitation in the wild, which aligns with the vulnerability being limited to debug code paths. The issue is not listed in CISA KEV, so no known widespread attacks have been reported. The likely attack vector requires an attacker to have physical or direct access to the target system and to trigger the driver’s debug features, a scenario typical of development or troubleshooting environments. Thus, while the theoretical impact could be significant, the practical exploitability is constrained to niche use cases.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the DWC2 use‑after‑free patch, such as applying the Git commit that removes the dereference of "urb" after usb_hcd_giveback_urb()
  • If updating the kernel is not immediately feasible, recompile the kernel with the DWC2 debug features disabled (e.g., unset CONFIG_DWC2_DEBUG or CONFIG_USB_DEBUG)
  • Monitor system logs for kernel crashes related to USB device enumeration

Generated by OpenCVE AI on October 20, 2026 at 13:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8663-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8664-1 Linux kernel (NVIDIA BaseOS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-3 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-8875-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8877-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8878-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8879-1 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-8903-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8904-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8905-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8906-1 Linux kernel (IBM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8875-2 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8903-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8905-2 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9029-1 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
History
Type Values Removed Values Added
CPEs cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:*
Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 8:17 PM
Reserved
Jul 19, 2026, 7:54 AM
Status
Analyzed
Published
Jul 19, 2026, 4:17 PM
Modified
Oct 27, 2026, 1:01 PM
Severity
Moderate
Public date
Jul 19, 2026, 12:00 AM