CVE-2024-26716: usb: core: Prevent null pointer dereference in update_port_device_state

Published Apr 3, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

usb: core: Prevent null pointer dereference in updateportdevicestate

Currently, the function updateportdevicestate gets the usbhub from udev->parent by calling usbhubtostructhub. However, in case the actconfig or the maxchild is 0, the usbhub would be NULL and upon further accessing to get portdev would result in null pointer dereference.

Fix this by introducing an if check after the usbhub is populated.

Affected Software

5 affected componentsFixes available
Linux Linux kernel>=6.5<6.6.18
Linux Linux kernel>=6.7<6.7.6
Linux Linux kernel=6.8-rc1
Linux Linux kernel=6.8-rc2
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Event History

Apr 3, 2024
CVE Published
via MITRE·02:55 PM
Data Sourced
via MITRE·02:55 PM
Description
Jul 12, 2024
Data Sourced
via Launchpad·12:46 PM
Description
Jan 12, 2025
Data Sourced
via Ubuntu·01:17 PM
RemedyDescriptionSeverityAffected Software
Apr 23, 2025
Data Sourced
via Debian·12:13 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-26716?

CVE-2024-26716 has been classified with a moderate severity as it can lead to unexpected behavior in the Linux kernel's USB subsystem.

2

How do I fix CVE-2024-26716?

To fix CVE-2024-26716, you should upgrade to the patched versions of the Linux kernel listed in the vulnerability advisory.

3

What versions of Linux kernel are affected by CVE-2024-26716?

CVE-2024-26716 affects multiple versions of the Linux kernel, specifically from versions 6.5 to 6.6.18 and some release candidate versions.

4

Is CVE-2024-26716 exploitable in a typical user environment?

While CVE-2024-26716 can be exploited, the likelihood of exploitation in a typical user environment is considered low.

5

What components of the Linux kernel are impacted by CVE-2024-26716?

CVE-2024-26716 impacts the USB subsystem, specifically affecting the update_port_device_state function.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203