{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2024-49951", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2024-10-21T12:17:06.046Z", "datePublished": "2024-10-21T18:02:07.055Z", "dateUpdated": "2026-08-05T11:40:38.621Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-08-05T11:40:38.621Z" }, "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: MGMT: Fix possible crash on mgmt_index_removed\n\nIf mgmt_index_removed is called while there are commands queued on\ncmd_sync it could lead to crashes like the bellow trace:\n\n0x0000053D: __list_del_entry_valid_or_report+0x98/0xdc\n0x0000053D: mgmt_pending_remove+0x18/0x58 [bluetooth]\n0x0000053E: mgmt_remove_adv_monitor_complete+0x80/0x108 [bluetooth]\n0x0000053E: hci_cmd_sync_work+0xbc/0x164 [bluetooth]\n\nSo while handling mgmt_index_removed this attempts to dequeue\ncommands passed as user_data to cmd_sync." } ], "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 triggered through the local Bluetooth management socket (AF_BLUETOOTH/BTPROTO_HCI, HCI_CHANNEL_CONTROL) by submitting mgmt commands and then powering off or removing the adapter index; no over-the-air Bluetooth data reaches this path.\nAC:L - The attacker controls both sides of the sequence — queue any cmd_sync-backed mgmt command (e.g. REMOVE_ADV_MONITOR, ADD_ADV_PATTERNS_MONITOR) and then issue SET_POWERED(off), which executes __mgmt_power_off from inside hci_cmd_sync_work and frees the pending cmd while the worker still holds it in cmd_sync_work_list. The stale entry is then processed deterministically in the same worker loop.\nPR:L - Reaching the mgmt command handlers requires a trusted control socket (CAP_NET_ADMIN), which on real deployments is held by non-root Bluetooth service accounts (bluetoothd, Android's Bluetooth stack), so a compromised unprivileged service reaches it; the power-off half is additionally reachable by ordinary desktop/session users via rfkill and D-Bus. Consistent with prior kernel.org scoring of the same mgmt_pending UAF class (CVE-2025-38118, CVE-2026-31511).\nUI:N - The full sequence is issued by the attacker's own process through the mgmt socket; no action by another user or victim is needed.\nS:U - The use-after-free corrupts kernel heap state within the same kernel security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - The freed mgmt_pending_cmd is re-read after being reclaimed, and mgmt_cmd_complete() sends cmd->param/cmd->param_len from the stale allocation back to the attacker's socket, disclosing arbitrary reallocated kernel heap contents.\nI:H - mgmt_pending_remove() performs list_del on the freed and attacker-reclaimable object, yielding a controlled kernel write primitive, and sock_put(cmd->sk) decrements a refcount through a stale pointer — both leveragable for privilege escalation via heap grooming.\nA:H - The reported failure is a kernel crash in __list_del_entry_valid_or_report from mgmt_pending_remove; any unexploited attempt reliably oopses or 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": "7cf5c2978f23fdbb2dd7b4e8b07e362ae2d8211c", "lessThan": "19b40ca62607cef78369549d1af091f2fd558931", "status": "affected", "versionType": "git" }, { "version": "7cf5c2978f23fdbb2dd7b4e8b07e362ae2d8211c", "lessThan": "4883296505aa7e4863c6869b689afb6005633b23", "status": "affected", "versionType": "git" }, { "version": "7cf5c2978f23fdbb2dd7b4e8b07e362ae2d8211c", "lessThan": "0cc47233af35fb5f10b5e6a027cb4ccd480caf9a", "status": "affected", "versionType": "git" }, { "version": "7cf5c2978f23fdbb2dd7b4e8b07e362ae2d8211c", "lessThan": "8c3f7943a29145d8a2d8e24893762f7673323eae", "status": "affected", "versionType": "git" }, { "version": "7cf5c2978f23fdbb2dd7b4e8b07e362ae2d8211c", "lessThan": "f53e1c9c726d83092167f2226f32bd3b73f26c21", "status": "affected", "versionType": "git" } ] }, { "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.0", "status": "affected" }, { "version": "0", "lessThan": "6.0", "status": "unaffected", "versionType": "semver" }, { "version": "6.1.120", "lessThanOrEqual": "6.1.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.6.55", "lessThanOrEqual": "6.6.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.10.14", "lessThanOrEqual": "6.10.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.11.3", "lessThanOrEqual": "6.11.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.12", "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.0", "versionEndExcluding": "6.1.120" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.0", "versionEndExcluding": "6.6.55" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.0", "versionEndExcluding": "6.10.14" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.0", "versionEndExcluding": "6.11.3" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.0", "versionEndExcluding": "6.12" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/19b40ca62607cef78369549d1af091f2fd558931" }, { "url": "https://git.kernel.org/stable/c/4883296505aa7e4863c6869b689afb6005633b23" }, { "url": "https://git.kernel.org/stable/c/0cc47233af35fb5f10b5e6a027cb4ccd480caf9a" }, { "url": "https://git.kernel.org/stable/c/8c3f7943a29145d8a2d8e24893762f7673323eae" }, { "url": "https://git.kernel.org/stable/c/f53e1c9c726d83092167f2226f32bd3b73f26c21" } ], "title": "Bluetooth: MGMT: Fix possible crash on mgmt_index_removed", "x_generator": { "engine": "bippy-1.2.0" } }, "adp": [ { "metrics": [ { "other": { "type": "ssvc", "content": { "id": "CVE-2024-49951", "role": "CISA Coordinator", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "version": "2.0.3", "timestamp": "2024-10-22T13:36:23.779720Z" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2024-10-22T13:38:49.118Z" } }, { "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:42:19.292Z" } } ] } }