VDB

CVE-2025-38134

CVE-2025-38134 PUBLISHED

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

Reported by linux · Published July 3, 2025

In the Linux kernel, the following vulnerability has been resolved: usb: acpi: Prevent null pointer dereference in usb_acpi_add_usb4_devlink() As demonstrated by the fix for update_port_device_state, commit 12783c0b9e2c ("usb: core: Prevent null pointer dereference in update_port_device_state"), usb_hub_to_struct_hub() can return NULL in certain scenarios, such as during hub driver unbind or teardown race conditions, even if the underlying usb_device structure exists. Plus, all other places that call usb_hub_to_struct_hub() in the same file do check for NULL return values. If usb_hub_to_struct_hub() returns NULL, the subsequent access to hub->ports[udev->portnum - 1] will cause a null pointer dereference.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
python3-perf6.12Amazon Linux6.12.35-55.103.amzn2023
kernel-libbpf-staticAmazon Linux6.12.35-55.103.amzn2023
linux_kernellinux6.15.3, 6.12.34
LinuxLinuxe3d530173b70514d4390a94f9f979acad689b70a, 8fa544bff8466062e42949c93f3e528f4be5624b, 73fb0ec9436ae87bcae067ce35d6cdd72bade86c, 6.12

Affected products

VendorProductVersions
LinuxLinuxf1bfb4a6fed64de1771b43a76631942279851744, f1bfb4a6fed64de1771b43a76631942279851744, f1bfb4a6fed64de1771b43a76631942279851744
LinuxLinux6.12, 0, 6.12.34
amazon:2023python3-perf6.120
amazon:2023kernel-libbpf-static0
LinuxLinux6.15.3, 6.12.34, 0
amazon:2023kernel-tools-devel0
amazon:2023kernel6.12-modules-extra0
amazon:2023bpftool0
amazon:2023kernel-libbpf0
amazon:2023kernel-headers0
amazon:2023kernel-livepatch-6.12.35-55.1030
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel6.120
amazon:2023kernel-devel0
amazon:2023kernel-tools0
linuxlinux_kernel6.12, 6.12, 6.12
amazon:2023perf6.120

Timeline

  • Jul 2, 2025 CVE Published
  • Jul 3, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 12, 2025 PoC Published (10 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (189 in total, the first dated here)
  • Apr 29, 2026 Security Advisory (203 in total, the first dated here)
  • Jun 9, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-38134
vulnetix vdb fixes CVE-2025-38134

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38134/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›