CVE-2024-36896
USB: core: Fix access violation during port device removal
Reported by linux · Published May 30, 2024
In the Linux kernel, the following vulnerability has been resolved: USB: core: Fix access violation during port device removal Testing with KASAN and syzkaller revealed a bug in port.c:disable_store(): usb_hub_to_struct_hub() can return NULL if the hub that the port belongs to is concurrently removed, but the function does not check for this possibility before dereferencing the returned value. It turns out that the first dereference is unnecessary, since hub->intfdev is the parent of the port device, so it can be changed easily. Adding a check for hub == NULL prevents further problems. The same bug exists in the disable_show() routine, and it can be fixed the same way.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-libbpf | Amazon Linux | 6.1.91-99.172.amzn2023 |
| kernel-tools-devel | Amazon Linux | 6.1.91-99.172.amzn2023 |
| kernel-devel | Amazon Linux | 6.1.91-99.172.amzn2023 |
| kernel-tools | Amazon Linux | 6.1.91-99.172.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 6.1.91-99.172.amzn2023 |
| kernel-libbpf-static | Amazon Linux | 6.1.91-99.172.amzn2023 |
| linux_kernel | linux | 6.8.10, 6.6.31, 6.1.91 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | f061f43d7418cb62b8d073e221ec75d3f5b89e17, f061f43d7418cb62b8d073e221ec75d3f5b89e17, f061f43d7418cb62b8d073e221ec75d3f5b89e17 |
| Linux | Linux | 6.0, 0, 6.1.91 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| linux | linux_kernel | 6.0, 6.0, 6.0 |
| amazon:2023 | python3-perf | 0 |
| Linux | Linux | 6.9, *, 6.1.91 |
| linux | linux_kernel | 6.6.31, *, * |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-livepatch-6.1.91-99.172 | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel | 0 |
Timeline
- May 30, 2024 CVE Published
- May 31, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (11 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Jan 9, 2026 Security Advisory (366 in total, the first dated here)
- Jan 9, 2026 CVE Updated
- Mar 31, 2026 Distribution Patch (267 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-36896
vulnetix vdb fixes CVE-2024-36896
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-2024-36896/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart