{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2024-53207", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2024-11-19T17:17:25.020Z", "datePublished": "2024-12-27T13:49:53.147Z", "dateUpdated": "2026-08-05T11:44:36.976Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-08-05T11:44:36.976Z" }, "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: MGMT: Fix possible deadlocks\n\nThis fixes possible deadlocks like the following caused by\nhci_cmd_sync_dequeue causing the destroy function to run:\n\n INFO: task kworker/u19:0:143 blocked for more than 120 seconds.\n Tainted: G W O 6.8.0-2024-03-19-intel-next-iLS-24ww14 #1\n \"echo 0 > /proc/sys/kernel/hung_task_timeout_secs\" disables this message.\n task:kworker/u19:0 state:D stack:0 pid:143 tgid:143 ppid:2 flags:0x00004000\n Workqueue: hci0 hci_cmd_sync_work [bluetooth]\n Call Trace:\n \n __schedule+0x374/0xaf0\n schedule+0x3c/0xf0\n schedule_preempt_disabled+0x1c/0x30\n __mutex_lock.constprop.0+0x3ef/0x7a0\n __mutex_lock_slowpath+0x13/0x20\n mutex_lock+0x3c/0x50\n mgmt_set_connectable_complete+0xa4/0x150 [bluetooth]\n ? kfree+0x211/0x2a0\n hci_cmd_sync_dequeue+0xae/0x130 [bluetooth]\n ? __pfx_cmd_complete_rsp+0x10/0x10 [bluetooth]\n cmd_complete_rsp+0x26/0x80 [bluetooth]\n mgmt_pending_foreach+0x4d/0x70 [bluetooth]\n __mgmt_power_off+0x8d/0x180 [bluetooth]\n ? _raw_spin_unlock_irq+0x23/0x40\n hci_dev_close_sync+0x445/0x5b0 [bluetooth]\n hci_set_powered_sync+0x149/0x250 [bluetooth]\n set_powered_sync+0x24/0x60 [bluetooth]\n hci_cmd_sync_work+0x90/0x150 [bluetooth]\n process_one_work+0x13e/0x300\n worker_thread+0x2f7/0x420\n ? __pfx_worker_thread+0x10/0x10\n kthread+0x107/0x140\n ? __pfx_kthread+0x10/0x10\n ret_from_fork+0x3d/0x60\n ? __pfx_kthread+0x10/0x10\n ret_from_fork_asm+0x1b/0x30\n " } ], "metrics": [ { "cvssV3_1": { "version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH" }, "scenarios": [ { "lang": "en", "value": "AV:L - The vulnerability is reached by writing MGMT commands to a local AF_BLUETOOTH/BTPROTO_HCI socket bound to HCI_CHANNEL_CONTROL (hci_sock_sendmsg → hci_mgmt_cmd), plus the HCIDEVDOWN ioctl path; no over-the-air Bluetooth traffic is involved.\nAC:L - The attacker drives both halves from the same socket — issue SET_POWERED(off), whose hci_dev_close_sync does workqueue drains and controller shutdown commands, then queue a second cmd_sync entry into that window — and can retry the sequence indefinitely until it lands.\nPR:L - Sending these MGMT opcodes requires the HCI_SOCK_TRUSTED flag (CAP_NET_ADMIN), which on real deployments is held by the Bluetooth daemon/stack process (bluetoothd, Android AID_BLUETOOTH) rather than full root, so a compromised low-privileged Bluetooth service reaches this directly.\nUI:N - The entire sequence is driven by the attacker's own MGMT socket writes; no victim action or interaction is needed.\nS:U - The deadlock and memory corruption are confined to the kernel's own security authority — there is no VM, IOMMU, or sandbox boundary crossed.\nC:H - Callbacks such as start_discovery_complete and read_local_oob_ext_data_complete free the mgmt_pending_cmd, after which cmd_complete_rsp reads cmd->cmd_complete from the freed GFP_KERNEL slab object; a heap-sprayed reclaim of that object yields a controlled read primitive and disclosure of kernel memory.\nI:H - The stale cmd is dereferenced for an indirect function-pointer call (cmd->cmd_complete(cmd, status)) and then passed to mgmt_pending_remove a second time, giving a double free plus list_del on freed memory — a control-flow-hijack and arbitrary-write primitive.\nA:H - mgmt_set_connectable_complete/mgmt_set_discoverable_complete re-acquire hdev->lock already held by hci_dev_close_sync, permanently deadlocking the hci_cmd_sync_work kworker while holding that mutex, and the UAF/double-free path independently corrupts the slab and panics the kernel." } ] } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "net/bluetooth/mgmt.c" ], "versions": [ { "version": "19b40ca62607cef78369549d1af091f2fd558931", "lessThan": "c3f594a3473d6429a0bcf2004cb2885368741b79", "status": "affected", "versionType": "git" }, { "version": "4883296505aa7e4863c6869b689afb6005633b23", "lessThan": "5703fb1d85f653e35b327b14de4db7da239e4fd9", "status": "affected", "versionType": "git" }, { "version": "8c3f7943a29145d8a2d8e24893762f7673323eae", "lessThan": "6a25ce9b4af6dc26ee2b9c32d6bd37620bf9739e", "status": "affected", "versionType": "git" }, { "version": "f53e1c9c726d83092167f2226f32bd3b73f26c21", "lessThan": "cac34e44281f1f1bd842adbbcfe3ef9ff0905111", "status": "affected", "versionType": "git" }, { "version": "f53e1c9c726d83092167f2226f32bd3b73f26c21", "lessThan": "a66dfaf18fd61bb75ef8cee83db46b2aadf153d0", "status": "affected", "versionType": "git" }, { "version": "0cc47233af35fb5f10b5e6a027cb4ccd480caf9a", "status": "affected", "versionType": "git" }, { "version": "6.6.55", "lessThan": "6.6.64", "status": "affected", "versionType": "semver" }, { "version": "6.11.3", "lessThan": "6.11.11", "status": "affected", "versionType": "semver" }, { "version": "6.10.14", "lessThan": "6.11", "status": "affected", "versionType": "semver" } ] }, { "product": "Linux", "vendor": "Linux", "defaultStatus": "affected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "net/bluetooth/mgmt.c" ], "versions": [ { "version": "6.12", "status": "affected" }, { "version": "0", "lessThan": "6.12", "status": "unaffected", "versionType": "semver" }, { "version": "6.6.64", "lessThanOrEqual": "6.6.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.11.11", "lessThanOrEqual": "6.11.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.12.2", "lessThanOrEqual": "6.12.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.13", "lessThanOrEqual": "*", "status": "unaffected", "versionType": "original_commit_for_fix" } ] } ], "cpeApplicability": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.6.55", "versionEndExcluding": "6.6.64" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.11.3", "versionEndExcluding": "6.11.11" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.12", "versionEndExcluding": "6.12.2" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.12", "versionEndExcluding": "6.13" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.10.14" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/c3f594a3473d6429a0bcf2004cb2885368741b79" }, { "url": "https://git.kernel.org/stable/c/5703fb1d85f653e35b327b14de4db7da239e4fd9" }, { "url": "https://git.kernel.org/stable/c/6a25ce9b4af6dc26ee2b9c32d6bd37620bf9739e" }, { "url": "https://git.kernel.org/stable/c/cac34e44281f1f1bd842adbbcfe3ef9ff0905111" }, { "url": "https://git.kernel.org/stable/c/a66dfaf18fd61bb75ef8cee83db46b2aadf153d0" } ], "title": "Bluetooth: MGMT: Fix possible deadlocks", "x_generator": { "engine": "bippy-1.2.0" } }, "adp": [ { "metrics": [ { "cvssV3_1": { "scope": "UNCHANGED", "version": "3.1", "baseScore": 5.5, "attackVector": "LOCAL", "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H", "integrityImpact": "NONE", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "HIGH", "privilegesRequired": "LOW", "confidentialityImpact": "NONE" } }, { "other": { "type": "ssvc", "content": { "id": "CVE-2024-53207", "role": "CISA Coordinator", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "version": "2.0.3", "timestamp": "2025-10-01T20:03:43.363328Z" } } } ], "problemTypes": [ { "descriptions": [ { "lang": "en", "type": "CWE", "cweId": "CWE-667", "description": "CWE-667 Improper Locking" } ] } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2025-10-01T20:07:19.898Z" } }, { "title": "CVE Program Container", "references": [ { "url": "https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html" } ], "providerMetadata": { "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2025-11-03T20:47:35.586Z" } } ] } }