CVE-2025-38134: usb: acpi: Prevent null pointer dereference in usb_acpi_add_usb4_devlink()

Published Jul 3, 2025
·
Updated

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

usb: acpi: Prevent null pointer dereference in usbacpiaddusb4devlink()

As demonstrated by the fix for updateportdevicestate, commit 12783c0b9e2c ("usb: core: Prevent null pointer dereference in updateportdevicestate"), usbhubtostructhub() can return NULL in certain scenarios, such as during hub driver unbind or teardown race conditions, even if the underlying usbdevice structure exists.

Plus, all other places that call usbhubtostructhub() in the same file do check for NULL return values.

If usbhubtostructhub() returns NULL, the subsequent access to hub->ports[udev->portnum - 1] will cause a null pointer dereference.

Affected Software

8 affected componentsFixes available
Linux Linux kernel
Linux Linux kernel>=6.12<6.12.34
Linux Linux kernel>=6.13<6.15.3
debian/linux<6.12.35-1
6.12.35-1
debian/linux<6.12.35-1
6.12.35-1
linux/kernel>=6.12.0<6.12.34
6.12.34
linux/kernel>=6.13.0<6.15.3
6.15.3
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.15-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.12.35-1
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.34
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.15.3
  4. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.115-2Fixed in 7.2.15-1

Event History

Jul 3, 2025
CVE Published
via MITRE·08:35 AM
Data Sourced
via MITRE·08:35 AM
Description
Data Sourced
via OSV·08:35 AM
DescriptionAffected Software
Data Sourced
via NVD·09:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·09:15 AM
Severity

Frequently Asked Questions

1

What is the severity of CVE-2025-38134?

CVE-2025-38134 is classified as a moderate severity vulnerability due to the potential for a null pointer dereference in the Linux kernel.

2

How do I fix CVE-2025-38134?

To fix CVE-2025-38134, you should update your Linux kernel to the latest stable version that includes the applied patches.

3

What are the potential impacts of CVE-2025-38134?

The impact of CVE-2025-38134 may lead to system instability, crashes, or undefined behavior when a null pointer is dereferenced.

4

Which versions of the Linux kernel are affected by CVE-2025-38134?

CVE-2025-38134 affects multiple versions of the Linux kernel that allow the null pointer dereference vulnerability.

5

Is CVE-2025-38134 being actively exploited?

As of now, there have been no reported active exploits specifically targeting CVE-2025-38134.

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