# CVE-2024-45006: xhci: Fix Panther point NULL pointer deref at full-speed re-enumeration

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 18, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-09-04T19:54:48.353Z
- **Modified:** 2026-06-17T07:53:24.333Z

## Who should check

- Anyone running Linux \>= 651aaf36a7d7b36a58980e70133f9437d4f6d312, \< ef0a0e616b2789bb804a0ce5e161db03170a85b6; \>= 651aaf36a7d7b36a58980e70133f9437d4f6d312, \< a57b0ebabe6862dce0a2e0f13e17941ad72fc56b; \>= 651aaf36a7d7b36a58980e70133f9437d4f6d312, \< 0f0654318e25b2c185e245ba4a591e42fabb5e59; \>= 651aaf36a7d7b36a58980e70133f9437d4f6d312, \< 365ef7c4277fdd781a695c3553fa157d622d805d; \>= 651aaf36a7d7b36a58980e70133f9437d4f6d312, \< 5ad898ae82412f8a689d59829804bff2999dd0ea; \>= 651aaf36a7d7b36a58980e70133f9437d4f6d312, \< 6b99de301d78e1f5249e57ef2c32e1dec3df2bb1; \>= 651aaf36a7d7b36a58980e70133f9437d4f6d312, \< 8fb9d412ebe2f245f13481e4624b40e651570cbd; \>= 651aaf36a7d7b36a58980e70133f9437d4f6d312, \< af8e119f52e9c13e556be9e03f27957554a84656
- Anyone running Linux 4.15

## Description

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

xhci: Fix Panther point NULL pointer deref at full-speed re-enumeration

re-enumerating full-speed devices after a failed address device command
can trigger a NULL pointer dereference.

Full-speed devices may need to reconfigure the endpoint 0 Max Packet Size
value during enumeration. Usb core calls usb\_ep0\_reinit() in this case,
which ends up calling xhci\_configure\_endpoint().

On Panther point xHC the xhci\_configure\_endpoint() function will
additionally check and reserve bandwidth in software. Other hosts do
this in hardware

If xHC address device command fails then a new xhci\_virt\_device structure
is allocated as part of re-enabling the slot, but the bandwidth table
pointers are not set up properly here.
This triggers the NULL pointer dereference the next time usb\_ep0\_reinit()
is called and xhci\_configure\_endpoint() tries to check and reserve
bandwidth

\[46710.713538\] usb 3-1: new full-speed USB device number 5 using xhci\_hcd
\[46710.713699\] usb 3-1: Device not responding to setup address.
\[46710.917684\] usb 3-1: Device not responding to setup address.
\[46711.125536\] usb 3-1: device not accepting address 5, error -71
\[46711.125594\] BUG: kernel NULL pointer dereference, address: 0000000000000008
\[46711.125600\] \#PF: supervisor read access in kernel mode
\[46711.125603\] \#PF: error\_code(0x0000) - not-present page
\[46711.125606\] PGD 0 P4D 0
\[46711.125610\] Oops: Oops: 0000 \[\#1\] PREEMPT SMP PTI
\[46711.125615\] CPU: 1 PID: 25760 Comm: kworker/1:2 Not tainted 6.10.3\_2 \#1
\[46711.125620\] Hardware name: Gigabyte Technology Co., Ltd.
\[46711.125623\] Workqueue: usb\_hub\_wq hub\_event \[usbcore\]
\[46711.125668\] RIP: 0010:xhci\_reserve\_bandwidth (drivers/usb/host/xhci.c

Fix this by making sure bandwidth table pointers are set up correctly
after a failed address device command, and additionally by avoiding
checking for bandwidth in cases like this where no actual endpoints are
added or removed, i.e. only context for default control endpoint 0 is
evaluated.

## Affected and fixed versions

- Linux: \>= 651aaf36a7d7b36a58980e70133f9437d4f6d312, \< ef0a0e616b2789bb804a0ce5e161db03170a85b6; \>= 651aaf36a7d7b36a58980e70133f9437d4f6d312, \< a57b0ebabe6862dce0a2e0f13e17941ad72fc56b; \>= 651aaf36a7d7b36a58980e70133f9437d4f6d312, \< 0f0654318e25b2c185e245ba4a591e42fabb5e59; \>= 651aaf36a7d7b36a58980e70133f9437d4f6d312, \< 365ef7c4277fdd781a695c3553fa157d622d805d; \>= 651aaf36a7d7b36a58980e70133f9437d4f6d312, \< 5ad898ae82412f8a689d59829804bff2999dd0ea; \>= 651aaf36a7d7b36a58980e70133f9437d4f6d312, \< 6b99de301d78e1f5249e57ef2c32e1dec3df2bb1; \>= 651aaf36a7d7b36a58980e70133f9437d4f6d312, \< 8fb9d412ebe2f245f13481e4624b40e651570cbd; \>= 651aaf36a7d7b36a58980e70133f9437d4f6d312, \< af8e119f52e9c13e556be9e03f27957554a84656 (cvelist)
- Linux: 4.15 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-45006. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-45006.md
Affected: Linux >= 651aaf36a7d7b36a58980e70133f9437d4f6d312, < ef0a0e616b2789bb804a0ce5e161db03170a85b6; >= 651aaf36a7d7b36a58980e70133f9437d4f6d312, < a57b0ebabe6862dce0a2e0f13e17941ad72fc56b; >= 651aaf36a7d7b36a58980e70133f9437d4f6d312, < 0f0654318e25b2c185e245ba4a591e42fabb5e59; >= 651aaf36a7d7b36a58980e7…
Fixed in: Linux 0f0654318e25b2c185e245ba4a591e42fabb5e59, Linux 365ef7c4277fdd781a695c3553fa157d622d805d, Linux 5ad898ae82412f8a689d59829804bff2999dd0ea, Linux 6b99de301d78e1f5249e57ef2c32e1dec3df2bb1, Linux 8fb9d412ebe2f245f13481e4624b40e651570cbd

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-45006 being exploited?

There is no confirmed exploitation: CVE-2024-45006 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-45006?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-45006?

Linux \>= 651aaf36a7d7b36a58980e70133f9437d4f6d312, \< ef0a0e616b2789bb804a0ce5e161db03170a85b6; \>= 651aaf36a7d7b36a58980e70133f9437d4f6d312, \< a57b0ebabe6862dce0a2e0f13e17941ad72fc56b; \>= 651aaf36a7d7b36a58980e70133f9437d4f6d312, \< 0f0654318e25b2c185e245ba4a591e42fabb5e59; \>= 651aaf36a7d7b36a58980e70133f9437d4f6d312, \< 365ef7c4277fdd781a695c3553fa157d622d805d; \>= 651aaf36a7d7b36a58980e70133f9437d4f6d312, \< 5ad898ae82412f8a689d59829804bff2999dd0ea; \>= 651aaf36a7d7b36a58980e70133f9437d4f6d312, \< 6b99de301d78e1f5249e57ef2c32e1dec3df2bb1; \>= 651aaf36a7d7b36a58980e70133f9437d4f6d312, \< 8fb9d412ebe2f245f13481e4624b40e651570cbd; \>= 651aaf36a7d7b36a58980e70133f9437d4f6d312, \< af8e119f52e9c13e556be9e03f27957554a84656; Linux 4.15.

### Is there a fix for CVE-2024-45006?

Yes. Fixed in Linux 0f0654318e25b2c185e245ba4a591e42fabb5e59, Linux 365ef7c4277fdd781a695c3553fa157d622d805d, Linux 5ad898ae82412f8a689d59829804bff2999dd0ea, Linux 6b99de301d78e1f5249e57ef2c32e1dec3df2bb1, Linux 8fb9d412ebe2f245f13481e4624b40e651570cbd. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-45006?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/ef0a0e616b2789bb804a0ce5e161db03170a85b6>
- patch: <https://git.kernel.org/stable/c/a57b0ebabe6862dce0a2e0f13e17941ad72fc56b>
- patch: <https://git.kernel.org/stable/c/0f0654318e25b2c185e245ba4a591e42fabb5e59>
- patch: <https://git.kernel.org/stable/c/365ef7c4277fdd781a695c3553fa157d622d805d>
- patch: <https://git.kernel.org/stable/c/5ad898ae82412f8a689d59829804bff2999dd0ea>
- patch: <https://git.kernel.org/stable/c/6b99de301d78e1f5249e57ef2c32e1dec3df2bb1>
- patch: <https://git.kernel.org/stable/c/8fb9d412ebe2f245f13481e4624b40e651570cbd>
- patch: <https://git.kernel.org/stable/c/af8e119f52e9c13e556be9e03f27957554a84656>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-45006>

HTML: <https://flawdb.com/CVE-2024-45006> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-45006>
