CVE-2024-26801
Bluetooth: Avoid potential use-after-free in hci_error_reset
Check your servers for CVE-2024-26801
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-26801 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: Avoid potential use-after-free in hci_error_reset
While handling the HCI_EV_HARDWARE_ERROR event, if the underlying BT controller is not responding, the GPIO reset mechanism would free the hci_dev and lead to a use-after-free in hci_error_reset.
Here's the call trace observed on a ChromeOS device with Intel AX201: queue_work_on+0x3e/0x6c __hci_cmd_sync_sk+0x2ee/0x4c0 [bluetooth <HASH:3b4a6>] ? init_wait_entry+0x31/0x31 __hci_cmd_sync+0x16/0x20 [bluetooth <HASH:3b4a 6>] hci_error_reset+0x4f/0xa4 [bluetooth <HASH:3b4a 6>] process_one_work+0x1d8/0x33f worker_thread+0x21b/0x373 kthread+0x13a/0x152 ? pr_cont_work+0x54/0x54 ? kthread_blkcg+0x31/0x31 ret_from_fork+0x1f/0x30
This patch holds the reference count on the hci_dev while processing a HCI_EV_HARDWARE_ERROR event to avoid potential crash.
Severity (CVSS)
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- adjacent: the attacker has to be on the same local network or link
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.43%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 38.7% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 15 Aug 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from c7741d16a57cbf97eebe53f27e8216b1ff20e20c, before e0b278650f07acf2e0932149183458468a731c03 affected from c7741d16a57cbf97eebe53f27e8216b1ff20e20c, before 98fb98fd37e42fd4ce13ff657ea64503e24b6090 affected from c7741d16a57cbf97eebe53f27e8216b1ff20e20c, before 6dd0a9dfa99f8990a08eb8fdd8e79bee31c7d8e2 affected from c7741d16a57cbf97eebe53f27e8216b1ff20e20c, before da4569d450b193e39e87119fd316c0291b585d14 affected from c7741d16a57cbf97eebe53f27e8216b1ff20e20c, before 45085686b9559bfbe3a4f41d3d695a520668f5e1 affected from c7741d16a57cbf97eebe53f27e8216b1ff20e20c, before 2ab9a19d896f5a0dd386e1f001c5309bc35f433b affected from c7741d16a57cbf97eebe53f27e8216b1ff20e20c, before dd594cdc24f2e48dab441732e6dfcafd6b0711d1 affected from c7741d16a57cbf97eebe53f27e8216b1ff20e20c, before 2449007d3f73b2842c9734f45f0aadb522daf592
Other versions: unaffected
|
| Linux |
affected 4.0 unaffected before 4.0 unaffected from 4.19.309 up to and including 4.19.* unaffected from 5.4.271 up to and including 5.4.* unaffected from 5.10.212 up to and including 5.10.* unaffected from 5.15.151 up to and including 5.15.* unaffected from 6.1.81 up to and including 6.1.* unaffected from 6.6.21 up to and including 6.6.* unaffected from 6.7.9 up to and including 6.7.* unaffected 6.8 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-26801 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-26801
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-26801
trivy image --scanners vuln IMAGE | grep CVE-2024-26801
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/e0b278650f07acf2e0932149183458468a731c03 git.kernel.org
- https://git.kernel.org/stable/c/98fb98fd37e42fd4ce13ff657ea64503e24b6090 git.kernel.org
- https://git.kernel.org/stable/c/6dd0a9dfa99f8990a08eb8fdd8e79bee31c7d8e2 git.kernel.org
- https://git.kernel.org/stable/c/da4569d450b193e39e87119fd316c0291b585d14 git.kernel.org
- https://git.kernel.org/stable/c/45085686b9559bfbe3a4f41d3d695a520668f5e1 git.kernel.org
- https://git.kernel.org/stable/c/2ab9a19d896f5a0dd386e1f001c5309bc35f433b git.kernel.org
- https://git.kernel.org/stable/c/dd594cdc24f2e48dab441732e6dfcafd6b0711d1 git.kernel.org
- https://git.kernel.org/stable/c/2449007d3f73b2842c9734f45f0aadb522daf592 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html lists.debian.org
Source: the record CVE-2024-26801 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse