{"id":"CVE-2026-68391","state":"PUBLISHED","title":"Bluetooth: mgmt: hold reference for hci_conn in mgmt_pending_cmds","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: mgmt: hold reference for hci_conn in mgmt_pending_cmds\n\nDereferencing RCU-protected pointers outside critical sections is\ninvalid and may lead to UAF.  Use of hci_conn in hci_sync callbacks also\nneeds to hold refcount to avoid UAF.\n\nTake appropriate locks for hci_conn lookups, and take refcount for\nhci_conn pointers stored in mgmt_pending_cmd so that the pointer stays\nvalid.\n\nWhen accessing conn->state, ensure hdev->lock is held to avoid data\nrace.","publishedAt":"2026-08-10T12:04:10.564Z","updatedAt":"2026-10-19T21:09:07.828Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7b445e220db9a2c58be5d09bbbd322abf1b1452a","status":"affected","lessThan":"84674dd1d3192ecb050827d3148642609c0c9dbb","versionType":"git"},{"version":"7b445e220db9a2c58be5d09bbbd322abf1b1452a","status":"affected","lessThan":"b56f2ecafc08f372bf0529f9c4f3f429cb1702dc","versionType":"git"},{"version":"7b445e220db9a2c58be5d09bbbd322abf1b1452a","status":"affected","lessThan":"f915e74b6f18293d1d69a2a3305ef321ff7c0172","versionType":"git"},{"version":"7b445e220db9a2c58be5d09bbbd322abf1b1452a","status":"affected","lessThan":"d5b3b484b62bb0f4542e7622789d28871626cdf0","versionType":"git"},{"version":"7b445e220db9a2c58be5d09bbbd322abf1b1452a","status":"affected","lessThan":"ecdcb55ea1c01dda074406f38058785a69526734","versionType":"git"},{"version":"7b445e220db9a2c58be5d09bbbd322abf1b1452a","status":"affected","lessThan":"da55f570191d5d72f10c607a7043b947eb05ea46","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/bluetooth/mgmt.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.0","versionType":"semver"},{"version":"6.1.189","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.148","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.101","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.42","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.6","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/bluetooth/mgmt.c"]}],"references":["https://git.kernel.org/stable/c/84674dd1d3192ecb050827d3148642609c0c9dbb","https://git.kernel.org/stable/c/b56f2ecafc08f372bf0529f9c4f3f429cb1702dc","https://git.kernel.org/stable/c/f915e74b6f18293d1d69a2a3305ef321ff7c0172","https://git.kernel.org/stable/c/d5b3b484b62bb0f4542e7622789d28871626cdf0","https://git.kernel.org/stable/c/ecdcb55ea1c01dda074406f38058785a69526734","https://git.kernel.org/stable/c/da55f570191d5d72f10c607a7043b947eb05ea46"],"weaknesses":["CWE-416"],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/68xxx/CVE-2026-68391.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-68391","state":"PUBLISHED","datePublished":"2026-08-10T12:04:10.564Z","dateUpdated":"2026-10-19T21:09:07.828Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-07-30T09:28:09.388Z"},"containers":{"cna":{"title":"Bluetooth: mgmt: hold reference for hci_conn in mgmt_pending_cmds","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: mgmt: hold reference for hci_conn in mgmt_pending_cmds\n\nDereferencing RCU-protected pointers outside critical sections is\ninvalid and may lead to UAF.  Use of hci_conn in hci_sync callbacks also\nneeds to hold refcount to avoid UAF.\n\nTake appropriate locks for hci_conn lookups, and take refcount for\nhci_conn pointers stored in mgmt_pending_cmd so that the pointer stays\nvalid.\n\nWhen accessing conn->state, ensure hdev->lock is held to avoid data\nrace."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7b445e220db9a2c58be5d09bbbd322abf1b1452a","status":"affected","lessThan":"84674dd1d3192ecb050827d3148642609c0c9dbb","versionType":"git"},{"version":"7b445e220db9a2c58be5d09bbbd322abf1b1452a","status":"affected","lessThan":"b56f2ecafc08f372bf0529f9c4f3f429cb1702dc","versionType":"git"},{"version":"7b445e220db9a2c58be5d09bbbd322abf1b1452a","status":"affected","lessThan":"f915e74b6f18293d1d69a2a3305ef321ff7c0172","versionType":"git"},{"version":"7b445e220db9a2c58be5d09bbbd322abf1b1452a","status":"affected","lessThan":"d5b3b484b62bb0f4542e7622789d28871626cdf0","versionType":"git"},{"version":"7b445e220db9a2c58be5d09bbbd322abf1b1452a","status":"affected","lessThan":"ecdcb55ea1c01dda074406f38058785a69526734","versionType":"git"},{"version":"7b445e220db9a2c58be5d09bbbd322abf1b1452a","status":"affected","lessThan":"da55f570191d5d72f10c607a7043b947eb05ea46","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/bluetooth/mgmt.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.0","versionType":"semver"},{"version":"6.1.189","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.148","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.101","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.42","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.6","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/bluetooth/mgmt.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/84674dd1d3192ecb050827d3148642609c0c9dbb"},{"url":"https://git.kernel.org/stable/c/b56f2ecafc08f372bf0529f9c4f3f429cb1702dc"},{"url":"https://git.kernel.org/stable/c/f915e74b6f18293d1d69a2a3305ef321ff7c0172"},{"url":"https://git.kernel.org/stable/c/d5b3b484b62bb0f4542e7622789d28871626cdf0"},{"url":"https://git.kernel.org/stable/c/ecdcb55ea1c01dda074406f38058785a69526734"},{"url":"https://git.kernel.org/stable/c/da55f570191d5d72f10c607a7043b947eb05ea46"}],"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 - Both sides of the race are local: the vulnerable path is entered only by writing MGMT_OP_GET_CONN_INFO/MGMT_OP_GET_CLOCK_INFO to an AF_BLUETOOTH/BTPROTO_HCI socket bound to HCI_CHANNEL_CONTROL, and the free is driven by a local disconnect/device-teardown. A remote or adjacent Bluetooth peer cannot inject mgmt commands, so the vector is local even though the subsystem is Bluetooth.\nAC:L - The attacker owns both sides of the race: one thread loops GET_CONN_INFO/GET_CLOCK_INFO, whose sync callback blocks in __hci_cmd_sync waiting on the controller for up to HCI_CMD_TIMEOUT, while another issues MGMT_OP_DISCONNECT or HCIDEVDOWN to free the hci_conn inside that wide window; with an emulated controller the response timing is fully controlled, and the sequence can be retried indefinitely.\nPR:L - The opcodes lack HCI_MGMT_UNTRUSTED so they need a trusted mgmt socket (CAP_NET_ADMIN), which kernel CNA practice for the Bluetooth mgmt interface treats as low privilege: it is a delegable capability held by the non-root bluetoothd service account and Android's sandboxed Bluetooth process rather than full init-namespace root.\nUI:N - The attacker performs every step itself — queueing the mgmt command and tearing down the connection or the HCI index — with no victim action, pairing, or user-initiated Bluetooth operation required.\nS:U - The use-after-free and the resulting heap corruption stay entirely within the kernel's own security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - get_conn_info_complete()/get_clock_info_complete() read rssi, tx_power, max_tx_power, clock and clock_accuracy from a freed hci_conn and return them to userspace over the mgmt socket; hci_conn comes from a general-purpose kmalloc cache, so grooming the reclaimed slab turns this into a repeatable kernel-memory disclosure oracle.\nI:H - The dangling cmd->user_data points at a freed, sprayable struct-device-embedded object that can be reclaimed with attacker-shaped data and is later put/released, and the unlocked lookup also propagates a stale conn->handle into hci_read_rssi_sync/hci_read_clock_sync so the host acts on a handle that may have been reused by another link — sufficient for controlled corruption after heap grooming.\nA:H - Dereferencing the freed hci_conn in the hci_cmd_sync completion callback is a slab use-after-free that produces a KASAN splat and can oops or panic the kernel when the slab has been returned to the page allocator, and it can be re-triggered in a loop for sustained denial of service."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-03T10:55:46.244Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.1.189"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.6.148"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.12.101"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.18.42"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"7.1.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-68391","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-10-16T15:47:56.283760Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-416","lang":"en","type":"CWE","description":"CWE-416 Use After Free"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-19T21:09:07.828Z"}}]}}}