Bluetooth: Avoid potential use-after-free in hci_error_reset

Summary

CVECVE-2024-26801
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2024-04-04 09:15:09 UTC
Updated2026-08-04 11:17:06 UTC
DescriptionIn 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.

Risk And Classification

Primary CVSS: v3.1 5.5 MEDIUM from [email protected]

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

Problem Types: CWE-416


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary5.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
3.1416baaa9-dc9f-4396-8d5f-8c081fb06d67Secondary8.8HIGHCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
3.1CNADECLARED8.8HIGHCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected c7741d16a57cbf97eebe53f27e8216b1ff20e20c e0b278650f07acf2e0932149183458468a731c03 git Not specified
CNA Linux Linux affected c7741d16a57cbf97eebe53f27e8216b1ff20e20c 98fb98fd37e42fd4ce13ff657ea64503e24b6090 git Not specified
CNA Linux Linux affected c7741d16a57cbf97eebe53f27e8216b1ff20e20c 6dd0a9dfa99f8990a08eb8fdd8e79bee31c7d8e2 git Not specified
CNA Linux Linux affected c7741d16a57cbf97eebe53f27e8216b1ff20e20c da4569d450b193e39e87119fd316c0291b585d14 git Not specified
CNA Linux Linux affected c7741d16a57cbf97eebe53f27e8216b1ff20e20c 45085686b9559bfbe3a4f41d3d695a520668f5e1 git Not specified
CNA Linux Linux affected c7741d16a57cbf97eebe53f27e8216b1ff20e20c 2ab9a19d896f5a0dd386e1f001c5309bc35f433b git Not specified
CNA Linux Linux affected c7741d16a57cbf97eebe53f27e8216b1ff20e20c dd594cdc24f2e48dab441732e6dfcafd6b0711d1 git Not specified
CNA Linux Linux affected c7741d16a57cbf97eebe53f27e8216b1ff20e20c 2449007d3f73b2842c9734f45f0aadb522daf592 git Not specified
CNA Linux Linux affected 4.0 Not specified
CNA Linux Linux unaffected 4.0 semver Not specified
CNA Linux Linux unaffected 4.19.309 4.19.* semver Not specified
CNA Linux Linux unaffected 5.4.271 5.4.* semver Not specified
CNA Linux Linux unaffected 5.10.212 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.151 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.81 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.21 6.6.* semver Not specified
CNA Linux Linux unaffected 6.7.9 6.7.* semver Not specified
CNA Linux Linux unaffected 6.8 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/6dd0a9dfa99f8990a08eb8fdd8e79bee31c7d8e2 af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
git.kernel.org/stable/c/45085686b9559bfbe3a4f41d3d695a520668f5e1 af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
lists.debian.org/debian-lts-announce/2024/06/msg00017.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Patch
git.kernel.org/stable/c/98fb98fd37e42fd4ce13ff657ea64503e24b6090 af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
git.kernel.org/stable/c/dd594cdc24f2e48dab441732e6dfcafd6b0711d1 af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
git.kernel.org/stable/c/2ab9a19d896f5a0dd386e1f001c5309bc35f433b af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
git.kernel.org/stable/c/da4569d450b193e39e87119fd316c0291b585d14 af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
git.kernel.org/stable/c/e0b278650f07acf2e0932149183458468a731c03 af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
git.kernel.org/stable/c/2449007d3f73b2842c9734f45f0aadb522daf592 af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
lists.debian.org/debian-lts-announce/2024/06/msg00020.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 6000567 Debian Security Update for linux (DSA 5658-1)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report