CVE-2024-26716: usb: core: Prevent null pointer dereference in update_port_device_state
In the Linux kernel, the following vulnerability has been resolved:
usb: core: Prevent null pointer dereference in update_port_device_state
Currently, the function update_port_device_state gets the usb_hub from
udev->parent by calling usb_hub_to_struct_hub.
However, in case the actconfig or the maxchild is 0, the usb_hub would
be NULL and upon further accessing to get port_dev would result in null
pointer dereference.
Fix this by introducing an if check after the usb_hub is populated.
Security readout for executives and security teams
Plain-English summary
CVE-2024-26716 is a Linux kernel USB core flaw that can trigger a null pointer dereference during USB port state updates. In practical terms, the most defensible business concern from the provided sources is system instability or crash risk, especially on machines exposed to untrusted USB devices. Severity and exploitability are not scored in the bundle.
Executive priority
Handle through normal kernel patch management, with faster action for kiosks, workstations, labs, and other systems where untrusted USB devices may be attached. Current evidence supports availability concern, not confirmed remote compromise or active exploitation.
Technical view
The flaw is in update_port_device_state. The code derives a usb_hub from udev->parent, but when actconfig or maxchild is 0, that hub can be NULL. Later access to port_dev can dereference NULL. The listed kernel fix adds a NULL check after usb_hub is populated.
Likely exposure
Likely exposure is Linux systems running affected kernel versions in the USB core path. Risk is most relevant where physical or logical USB device attachment is possible. The bundle does not identify affected distributions, appliances, package versions, or network-reachable attack paths.
Exploitation context
The provided sources do not report active exploitation, and the CVE is not listed as KEV. No public exploit status, CVSS vector, CWE, privilege requirement, or attack complexity is provided. Treat exploitability as unconfirmed from this bundle.
Researcher notes
Evidence is limited to the CVE description and Linux stable references. The affected-version data in the bundle is sparse and not distribution-specific. Do not infer remote exploitability, privilege boundaries, or fixed package names without vendor confirmation.
Mitigation direction
Check Linux kernel and distribution vendor guidance for patched builds.
Update to a kernel release containing the referenced stable fixes.
Prioritize systems exposed to untrusted USB peripherals or public physical access.
Restrict unnecessary USB access where operationally feasible.
Track vendor advisories for backported fixes in supported distributions.
Validation and detection
Inventory Linux kernel versions on systems with USB exposure.
Confirm vendor packages include the upstream null-check fix.
Review kernel changelogs against the referenced stable commits.
Check crash telemetry for USB hub or port-state related kernel oops events.
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.
cve · low confidence lookup
CVE-2024-26716 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
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.