VDB

CVE-2024-36896

CVE-2024-36896 PUBLISHED CVSS 9.1 CRITICAL

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.

PackageEcosystemFixed in
kernel-libbpfAmazon Linux6.1.91-99.172.amzn2023
kernel-tools-develAmazon Linux6.1.91-99.172.amzn2023
kernel-develAmazon Linux6.1.91-99.172.amzn2023
kernel-toolsAmazon Linux6.1.91-99.172.amzn2023
kernel-modules-extra-commonAmazon Linux6.1.91-99.172.amzn2023
kernel-libbpf-staticAmazon Linux6.1.91-99.172.amzn2023
linux_kernellinux6.8.10, 6.6.31, 6.1.91

Risk scores

CVSS 3.1
9.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxf061f43d7418cb62b8d073e221ec75d3f5b89e17, f061f43d7418cb62b8d073e221ec75d3f5b89e17, f061f43d7418cb62b8d073e221ec75d3f5b89e17
LinuxLinux6.0, 0, 6.1.91
amazon:2023kernel-libbpf0
amazon:2023kernel-tools-devel0
amazon:2023kernel-devel0
amazon:2023kernel-tools0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-libbpf-static0
linuxlinux_kernel6.0, 6.0, 6.0
amazon:2023python3-perf0
LinuxLinux6.9, *, 6.1.91
linuxlinux_kernel6.6.31, *, *
amazon:2023kernel-headers0
amazon:2023kernel-modules-extra0
amazon:2023kernel-livepatch-6.1.91-99.1720
amazon:2023kernel-libbpf-devel0
amazon:2023bpftool0
amazon:2023perf0
amazon:2023kernel0

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

References

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