CVE-2024-26716

published 3 Apr 2024 · updated 11 May 2026

usb: core: Prevent null pointer dereference in update_port_device_state

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 12783c0b9e2c7915a50d5ec829630ff2da50472c, Kernel 465b545d1d7ef282192ddd4439b08279bdb13f6f and Kernel ed85777c640cf9e6920bb1b60ed8cd48e1f4d873.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.5, >=83cb2604f641cecadc275ca18adbba4bf262320f <12783c0b9e2c7915a50d5ec829630ff2da50472c, >=83cb2604f641cecadc275ca18adbba4bf262320f <465b545d1d7ef282192ddd4439b08279bdb13f6f, >=83cb2604f641cecadc275ca18adbba4bf262320f <ed85777c640cf9e6920bb1b60ed8cd48e1f4d87312783c0b9e2c7915a50d5ec829630ff2da50472c, 465b545d1d7ef282192ddd4439b08279bdb13f6f, ed85777c640cf9e6920bb1b60ed8cd48e1f4d873

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-26716 severity on Zeptric[![CVE-2024-26716](https://zeptric.io/badge/cve/CVE-2024-26716.svg)](https://zeptric.io/cve/CVE-2024-26716)