CVE-2024-26716: Linux kernel · usb: core: Prevent null pointer dereference in update_port_device_state
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium · fixed in 6.5.0-1023.23~22.04.1 : update Linux kernel when convenient.
Data as of 24 Nov 2026, 19:25 UTC
- Patch
- Available – fixed in 6.5.0-1023.23~22.04.1, 6.5.0-1024.25~22.04.1, 6.5.0-1024.26~22.04.1 +7
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 3 Apr 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu Pro Realtime 24.04 LTSlinux-raspi-realtimepkg:deb/ubuntu/linux-raspi-realtime?arch=source&distro=realtime/nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSlinux-allwinner-5.19pkg:deb/ubuntu/linux-allwinner-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-5.19pkg:deb/ubuntu/linux-aws-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-6.2pkg:deb/ubuntu/linux-aws-6.2?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-6.5pkg:deb/ubuntu/linux-aws-6.5?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSlinux-azure-5.19pkg:deb/ubuntu/linux-azure-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.
References
- ubuntu.com/security/CVE-2024-26716 (opens in a new tab)
- git.kernel.org/linus/12783c0b9e2c7915a50d5ec829630ff2da50472c (opens in a new tab)
- git.kernel.org/stable/c/ed85777c640cf9e6920bb1b60ed8cd48e1f4d873 (opens in a new tab)
- git.kernel.org/stable/c/465b545d1d7ef282192ddd4439b08279bdb13f6f (opens in a new tab)
- git.kernel.org/stable/c/12783c0b9e2c7915a50d5ec829630ff2da50472c (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-26716 (opens in a new tab)
- ubuntu.com/security/notices/USN-6895-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6895-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6900-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6895-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-6895-4 (opens in a new tab)