CVE-2024-58241
published high CVSS 3.1 · 7.8Bluetooth: hci_core: Disable works on hci_unregister_dev
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux0d151a103775dd9645c78c97f77d6e2a5298d913 to < cfdb13a54e05eb98d9940cb6d1a13e7f994d811f · 0d151a103775dd9645c78c97f77d6e2a5298d913 to < 989fa5171f005ecf63440057218d8aeb1795287d · 48542881997e17b49dc16b93fe910e0cfcf7a9f9 · 9cfc84b1d464cc024286f42a090718f9067b80ed · ddeda6ca5f218b668b560d90fc31ae469adbfd92 · d2ce562a5aff1dcd0c50d9808ea825ef90da909f · 96600c2e5ee8213dbab5df1617293d8e847bb4fa · d6cbce18370641a21dd889e8613d8153df15eb39 · 3f939bd73fed12dddc2a32a76116c19ca47c7678 · 4.19.319 to < 4.20 · 5.4.281 to < 5.5 · 5.10.223 to < 5.11 · 5.15.164 to < 5.16 · 6.1.101 to < 6.2 · 6.6.42 to < 6.7 · 6.9.11 to < 6.10 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.10 (affected) · 0 to < 6.10 (unaffected · semver) · 6.11.6 through 6.11.* (unaffected · semver) · 6.12 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | noble | linux-buildinfo-6.8.0-1035-nvidia-tegra | Advisory build | 6.8.0-1035.38 | USN-8781-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1035-nvidia-tegra-rt | Advisory build | 6.8.0-1035.38 | USN-8781-1 |
| Ubuntu | noble | linux-headers-6.8.0-1035-nvidia-tegra | Advisory build | 6.8.0-1035.38 | USN-8781-1 |
| Ubuntu | noble | linux-headers-6.8.0-1035-nvidia-tegra-rt | Advisory build | 6.8.0-1035.38 | USN-8781-1 |
Show 11 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | linux-image-unsigned-6.8.0-1035-nvidia-tegra | Advisory build | 6.8.0-1035.38 | USN-8781-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1035-nvidia-tegra-rt | Advisory build | 6.8.0-1035.38 | USN-8781-1 |
| Ubuntu | noble | linux-modules-6.8.0-1035-nvidia-tegra | Advisory build | 6.8.0-1035.38 | USN-8781-1 |
| Ubuntu | noble | linux-modules-6.8.0-1035-nvidia-tegra-rt | Advisory build | 6.8.0-1035.38 | USN-8781-1 |
| Ubuntu | noble | linux-modules-extra-6.8.0-1035-nvidia-tegra | Advisory build | 6.8.0-1035.38 | USN-8781-1 |
| Ubuntu | noble | linux-modules-extra-6.8.0-1035-nvidia-tegra-rt | Advisory build | 6.8.0-1035.38 | USN-8781-1 |
| Ubuntu | noble | linux-nvidia-tegra | Advisory build | 6.8.0-1035.38 | USN-8781-1 |
| Ubuntu | noble | linux-nvidia-tegra-headers-6.8.0-1035 | Advisory build | 6.8.0-1035.38 | USN-8781-1 |
| Ubuntu | noble | linux-nvidia-tegra-tools-6.8.0-1035 | Advisory build | 6.8.0-1035.38 | USN-8781-1 |
| Ubuntu | noble | linux-tools-6.8.0-1035-nvidia-tegra | Advisory build | 6.8.0-1035.38 | USN-8781-1 |
| Ubuntu | noble | linux-tools-6.8.0-1035-nvidia-tegra-rt | Advisory build | 6.8.0-1035.38 | USN-8781-1 |
Description
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_core: Disable works on hci_unregister_dev This make use of disable_work_* on hci_unregister_dev since the hci_dev is about to be freed new submissions are not disarable.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - Triggering the vulnerable window requires initiating HCI device teardown (`hci_unregister_dev()`), reachable locally via `/dev/vhci` close, HCI ldisc detach, or adapter down/removal — an adjacent Bluetooth peer can influence HCI traffic but cannot cause device unregistration. All required primitives are local syscalls (open/write/close/ioctl on a device node and Bluetooth sockets). AC:L - The attacker controls both sides of the race — it drives the unregister (closing the vhci fd) while concurrently feeding HCI packets/commands that re-queue `rx_work`/`cmd_work`/`error_reset` — and can retry the open/close cycle indefinitely to win it and to spray the freed `hci_dev` slab. The `cmd_timer`/`ncmd_timer` re-arm even occurs on the unregister path itself via `hci_dev_close_sync()`, requiring no external timing luck. PR:L - No capability check exists anywhere on the path: `vhci_open()` performs no `capable()` test, so an unprivileged user granted the device node (containers, Android's bluetooth uid, permissive udev rules) can create and destroy HCI devices and inject HCI frames at will. This matches the PR:L assignment for the structurally identical `hci_unregister_dev` teardown UAF CVE-2025-38250. UI:N - The attacker performs both the device teardown and the concurrent work re-submission entirely from its own processes. No victim action or cooperation is needed. S:U - The corruption is confined to kernel slab memory and workqueue structures within the same kernel security authority. No VM, IOMMU, or sandbox boundary is crossed. C:H - A work_struct/delayed_work embedded in the freed `hci_dev` is dereferenced after `kfree()`, and `__queue_work()` follows the stale `dwork->wq` pointer into a destroyed workqueue. Controlled reallocation of the freed object turns this into an arbitrary-read primitive and leaks kernel pointers/heap contents. I:H - The same use-after-free lets the attacker place controlled data in the reclaimed `hci_dev` slab so that the firing timer operates on attacker-supplied `workqueue_struct`/`pool_workqueue`/list pointers and work function pointers, yielding arbitrary write and control-flow hijack. Per kernel scoring guidance, a UAF exploitable for heap spraying is High integrity impact. A:H - Even unexploited, the stale timer queuing onto a destroyed workqueue causes a KASAN slab-use-after-free oops and kernel panic, and `destroy_workqueue()` with still-pending work triggers a WARN and leaves the workqueue broken. Re-queued `error_reset` additionally reintroduces the `destroy_workqueue()` self-flush deadlock that hangs the req_workqueue.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.5 | medium | CISA-ADP · adp | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 0d151a103775dd9645c78c97f77d6e2a5298d913 to < cfdb13a54e05eb98d9940cb6d1a13e7f994d811f (affected · git)0d151a103775dd9645c78c97f77d6e2a5298d913 to < 989fa5171f005ecf63440057218d8aeb1795287d (affected · git)48542881997e17b49dc16b93fe910e0cfcf7a9f9 (affected · git)9cfc84b1d464cc024286f42a090718f9067b80ed (affected · git)ddeda6ca5f218b668b560d90fc31ae469adbfd92 (affected · git)d2ce562a5aff1dcd0c50d9808ea825ef90da909f (affected · git)96600c2e5ee8213dbab5df1617293d8e847bb4fa (affected · git)d6cbce18370641a21dd889e8613d8153df15eb39 (affected · git)3f939bd73fed12dddc2a32a76116c19ca47c7678 (affected · git)4.19.319 to < 4.20 (affected · semver)5.4.281 to < 5.5 (affected · semver)5.10.223 to < 5.11 (affected · semver)5.15.164 to < 5.16 (affected · semver)6.1.101 to < 6.2 (affected · semver)6.6.42 to < 6.7 (affected · semver)6.9.11 to < 6.10 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.10 (affected)0 to < 6.10 (unaffected · semver)6.11.6 through 6.11.* (unaffected · semver)6.12 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-noinfo Not enough information
References
2Provider assertions
2Linux · cna
Bluetooth: hci_core: Disable works on hci_unregister_dev
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6560007ead488edddb315b9322ddf80be63ca775d8a2babb16c08c0e30bea61e
- Ingested
- 23 Sep 2026, 08:32:30 UTC
- Source record
- Official CVE record