CVE-2025-21776: 
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-21776 affects the Linux kernel's USB hub driver, where a vulnerability was discovered that could lead to a NULL pointer dereference. The issue was discovered by Robert Morris and disclosed in February 2025. The vulnerability exists when a USB hub device violates the USB 2.0 specification by having more than one configuration or interface, causing the usb_hub_to_struct_hub() function to potentially dereference a NULL or inappropriate pointer (NVD).

Technical details

The vulnerability occurs when a USB hub device has two interfaces, causing the hub driver to bind to interface 1 instead of interface 0, where usb_hub_to_struct_hub() expects to find the hub structure. This can result in a general protection fault with a non-canonical address access. The issue manifests as a NULL pointer dereference in the usb_hub_adjust_deviceremovable function. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (MEDIUM) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

When exploited, this vulnerability can cause a kernel crash through a NULL pointer dereference, leading to a denial of service condition. The impact is limited to local attacks and requires low privileges to execute (NVD).

Exploitability

The vulnerability can be triggered by a specially crafted test program that creates a non-compliant USB hub device with multiple interfaces. Robert Morris demonstrated the exploit by creating such a test program that could reliably trigger the NULL pointer dereference (Kernel Patch).

Mitigation and workarounds

The issue has been patched in the Linux kernel by adding validation checks in the hub_probe function to reject USB hub devices that violate the USB 2.0 specification by having more than one configuration or interface. The fix prevents the vulnerability by returning -EINVAL when such non-compliant devices are detected (Kernel Patch).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux: 6.1.129-1

Fixed

sid

linux: 6.12.16-1

Fixed

trixie

linux: 6.12.16-1

Fixed

Ubuntu

Fixed

bionic (esm-infra)

linux

Affected

bionic (fips-updates)

linux-fips

Affected

bionic (fips)

linux-fips

Affected

devel

linux

Not Affected

focal

linux: 5.4.0-216.236

Fixed

focal (esm-infra)

linux: 5.4.0-216.236

Fixed

focal (fips-updates)

linux-fips: 5.4.0-1120.130

Fixed

focal (fips)

linux-fips

Affected

RHEL / CentOS

Affected

RHEL 8

kernel-rt.src

Affected

RHEL 9

kernel-rt.src

Affected

RHEL 10

kernel.src

Affected

Source: This report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-98274NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesOct 06, 2026
CVE-2026-98259NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel6.18
NoYesOct 06, 2026
CVE-2026-98244NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel6.18
NoYesOct 06, 2026
CVE-2026-98240NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesOct 06, 2026
CVE-2026-98226NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesOct 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management