CVE-2025-38134
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python3-perf6.12 | Amazon Linux | 6.12.35-55.103.amzn2023 |
| kernel-libbpf-static | Amazon Linux | 6.12.35-55.103.amzn2023 |
| linux_kernel | linux | 6.15.3, 6.12.34 |
| Linux | Linux | e3d530173b70514d4390a94f9f979acad689b70a, 8fa544bff8466062e42949c93f3e528f4be5624b, 73fb0ec9436ae87bcae067ce35d6cdd72bade86c, 6.12 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | f1bfb4a6fed64de1771b43a76631942279851744, f1bfb4a6fed64de1771b43a76631942279851744, f1bfb4a6fed64de1771b43a76631942279851744 |
| Linux | Linux | 6.12, 0, 6.12.34 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| Linux | Linux | 6.15.3, 6.12.34, 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-livepatch-6.12.35-55.103 | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-tools | 0 |
| linux | linux_kernel | 6.12, 6.12, 6.12 |
| amazon:2023 | perf6.12 | 0 |
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