CVE-2024-26747: usb: roles: fix NULL pointer issue when put module's reference
In the Linux kernel, the following vulnerability has been resolved:
usb: roles: fix NULL pointer issue when put module's reference
In current design, usb role class driver will get usb_role_switch parent's
module reference after the user get usb_role_switch device and put the
reference after the user put the usb_role_switch device. However, the
parent device of usb_role_switch may be removed before the user put the
usb_role_switch. If so, then, NULL pointer issue will be met when the user
put the parent module's reference.
This will save the module pointer in structure of usb_role_switch. Then,
we don't need to find module by iterating long relations.
Security readout for executives and security teams
Plain-English summary
CVE-2024-26747 is a Linux kernel availability bug in USB role switching. A local highly privileged user could trigger a NULL pointer condition after related device removal, potentially crashing the system. It is not reported as actively exploited in the provided sources.
Executive priority
Treat as scheduled kernel maintenance unless affected systems have high uptime requirements or many local privileged users. The business risk is service interruption, not data theft, based on the provided CVSS and sources.
Technical view
The USB role class driver could dereference missing parent/module state when a usb_role_switch parent device is removed before the switch reference is released. The kernel fix stores the module pointer in usb_role_switch, avoiding lookup through parent relationships after removal.
Likely exposure
Exposure is limited to Linux systems running affected kernel lines and using the USB role switch subsystem. The CVE data lists affected 4.19, 5.10.211, 5.15.150, 6.1.80, 6.6.19, 6.7.7, and 6.8 ranges.
Exploitation context
The CVSS vector is local, low complexity, high privileges required, no user interaction, and availability-only impact. The provided bundle marks KEV as false, so there is no source-supported evidence of active exploitation.
Researcher notes
Evidence supports a kernel NULL pointer availability issue fixed in stable commits. The source bundle does not provide a public exploit, affected hardware list, or detailed distribution package matrix beyond the Debian LTS reference.
Mitigation direction
Update to vendor-supported Linux kernel builds containing the referenced stable fixes.
Check distribution advisories, including Debian LTS, for packaged kernel updates.
Prioritize systems where local privileged users or workloads can interact with USB role switching.
Apply normal kernel reboot procedures after installing patched packages.
Validation and detection
Inventory kernel versions across Linux hosts and appliances.
Compare installed kernels with vendor advisories and stable fix references.
Check kernel changelogs for the CVE or referenced USB role switch commits.
Review logs for NULL pointer crashes involving USB role switching.
Regression-test USB role switching on hardware that depends on it.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-476: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-476 · source CWE mapping
NULL Pointer Dereference
NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.