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.
Published: 2026-07-19
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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 it is inferred that, in the unlikely event that an attacker can 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.

Generated by OpenCVE AI on August 3, 2026 at 02:06 UTC.

Remediation

No vendor fix or workaround currently provided.

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)
  • Verify that no USB debug device handling code remains in the running kernel and monitor system logs for any signs of kernel crashes related to USB device enumeration

Generated by OpenCVE AI on August 3, 2026 at 02:06 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
History

Mon, 27 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Wed, 22 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

threat_severity

Moderate


Tue, 21 Jul 2026 23:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Mon, 20 Jul 2026 14:45:00 +0000

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'}


Sun, 19 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
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.
Title usb: dwc2: Fix use after free in debug code
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:37:22.350Z

Reserved: 2026-07-19T07:54:57.021Z

Link: CVE-2026-63927

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-63927 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T02:15:05Z

Weaknesses
  • CWE-825

    Expired Pointer Dereference