CVE-2026-68189 (GCVE-0-2026-68189)
Vulnerability from cvelistv5
Published
2026-08-10 12:00
Modified
2026-08-19 16:31
Severity ?
VLAI Severity ?
EPSS score ?
Summary
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: hci_sync: Protect UUID list traversal
The hci_sync conversion moved class-of-device and EIR generation from an
HCI request built under hdev->lock to asynchronous command sync work.
The worker holds hdev->req_lock, but that lock does not serialize access
to hdev->uuids against add_uuid() and remove_uuid(), which update the
list under hdev->lock.
The following interleaving can therefore occur:
CPU0 (command sync work) CPU1 (management socket)
fetch uuid from the list
list_del(&uuid->list)
kfree(uuid)
read uuid->size
KASAN reports the resulting use-after-free:
BUG: KASAN: slab-use-after-free in eir_create+0xb8f/0xee0
Read of size 1 at addr ffff88810dbd8620 by task kworker/u17:0/87
Workqueue: hci0 hci_cmd_sync_work
Call Trace:
eir_create+0xb8f/0xee0
hci_update_eir_sync+0x1c0/0x330
hci_cmd_sync_work+0x13c/0x290
process_one_work+0x63a/0x1070
worker_thread+0x45b/0xd10
Allocated by task 86:
__kasan_kmalloc+0x8f/0xa0
add_uuid+0x18a/0x4b0
hci_sock_sendmsg+0x1033/0x1ea0
Freed by task 92:
__kasan_slab_free+0x43/0x70
kfree+0x131/0x3c0
remove_uuid+0x25e/0x560
hci_sock_sendmsg+0x1033/0x1ea0
Hold hdev->lock while generating and committing the class-of-device and
EIR snapshots. Release it before sending an HCI command, so controller
waits do not happen under the device lock. This protects all UUID list
walks in these paths and restores the serialization lost in the command
sync conversion.
References
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| Linux | Linux |
Version: 161510ccf91c961638940b03abb1ee804be53a97 Version: 161510ccf91c961638940b03abb1ee804be53a97 Version: 161510ccf91c961638940b03abb1ee804be53a97 Version: 161510ccf91c961638940b03abb1ee804be53a97 Version: 161510ccf91c961638940b03abb1ee804be53a97 Version: 161510ccf91c961638940b03abb1ee804be53a97 |
||
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"net/bluetooth/hci_sync.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "30bc6248f035a792d1b1f4cc761b32fd5827b55f",
"status": "affected",
"version": "161510ccf91c961638940b03abb1ee804be53a97",
"versionType": "git"
},
{
"lessThan": "e4fa2c5c261d736b8e58759fdef3a968d510630c",
"status": "affected",
"version": "161510ccf91c961638940b03abb1ee804be53a97",
"versionType": "git"
},
{
"lessThan": "a351f68fb24828b23a971e00b8238ee0e8a40380",
"status": "affected",
"version": "161510ccf91c961638940b03abb1ee804be53a97",
"versionType": "git"
},
{
"lessThan": "a42f5536ea9c00e13f0c0fbb330feed95e2365ca",
"status": "affected",
"version": "161510ccf91c961638940b03abb1ee804be53a97",
"versionType": "git"
},
{
"lessThan": "fe13adc258df88d95789e5673c7ba5178b5f8b28",
"status": "affected",
"version": "161510ccf91c961638940b03abb1ee804be53a97",
"versionType": "git"
},
{
"lessThan": "e9027ffbf5a0f3c12ca8900822e884eae9f0821b",
"status": "affected",
"version": "161510ccf91c961638940b03abb1ee804be53a97",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"net/bluetooth/hci_sync.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "5.17"
},
{
"lessThan": "5.17",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.183",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.148",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.101",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.42",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.1.*",
"status": "unaffected",
"version": "7.1.6",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.183",
"versionStartIncluding": "5.17",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.6.148",
"versionStartIncluding": "5.17",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.101",
"versionStartIncluding": "5.17",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.42",
"versionStartIncluding": "5.17",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.1.6",
"versionStartIncluding": "5.17",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.2",
"versionStartIncluding": "5.17",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_sync: Protect UUID list traversal\n\nThe hci_sync conversion moved class-of-device and EIR generation from an\nHCI request built under hdev-\u003elock to asynchronous command sync work.\nThe worker holds hdev-\u003ereq_lock, but that lock does not serialize access\nto hdev-\u003euuids against add_uuid() and remove_uuid(), which update the\nlist under hdev-\u003elock.\n\nThe following interleaving can therefore occur:\n\n CPU0 (command sync work) CPU1 (management socket)\n fetch uuid from the list\n list_del(\u0026uuid-\u003elist)\n kfree(uuid)\n read uuid-\u003esize\n\nKASAN reports the resulting use-after-free:\n\n BUG: KASAN: slab-use-after-free in eir_create+0xb8f/0xee0\n Read of size 1 at addr ffff88810dbd8620 by task kworker/u17:0/87\n Workqueue: hci0 hci_cmd_sync_work\n Call Trace:\n eir_create+0xb8f/0xee0\n hci_update_eir_sync+0x1c0/0x330\n hci_cmd_sync_work+0x13c/0x290\n process_one_work+0x63a/0x1070\n worker_thread+0x45b/0xd10\n\n Allocated by task 86:\n __kasan_kmalloc+0x8f/0xa0\n add_uuid+0x18a/0x4b0\n hci_sock_sendmsg+0x1033/0x1ea0\n\n Freed by task 92:\n __kasan_slab_free+0x43/0x70\n kfree+0x131/0x3c0\n remove_uuid+0x25e/0x560\n hci_sock_sendmsg+0x1033/0x1ea0\n\nHold hdev-\u003elock while generating and committing the class-of-device and\nEIR snapshots. Release it before sending an HCI command, so controller\nwaits do not happen under the device lock. This protects all UUID list\nwalks in these paths and restores the serialization lost in the command\nsync conversion."
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 7.8,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"scenarios": [
{
"lang": "en",
"value": "AV:L - Exploitation requires concurrent MGMT_OP_ADD_UUID/MGMT_REMOVE_UUID commands through a local AF_BLUETOOTH HCI management socket (hci_sock_sendmsg), not reception of over-the-air Bluetooth protocol traffic from a remote peer.\nAC:L - The attacker controls both sides of the race by issuing concurrent management socket commands from threads or processes they own; KASAN shows reliable interleaving between hci_cmd_sync_work and remove_uuid without attacker-uncontrollable timing or memory layout.\nPR:L - MGMT_OP_ADD_UUID and MGMT_OP_REMOVE_UUID require HCI_SOCK_TRUSTED, set only when the socket binder holds CAP_NET_ADMIN; per kernel CNA guidance CAP_NET_ADMIN reachable via user namespaces (unshare -Urn) maps to PR:L, not PR:H.\nUI:N - No victim interaction is required; the attacker directly issues local management commands that queue hci_cmd_sync_work and concurrently modify the UUID list to trigger the use-after-free.\nS:U - The vulnerability causes kernel heap corruption and local privilege escalation within the same host security authority; it does not cross VM, container, or IOMMU security boundaries.\nC:H - KASAN-confirmed slab use-after-free reading freed bt_uuid fields (uuid-\u003esize and uuid data) during eir_create traversal enables arbitrary kernel memory disclosure via heap spraying and reuse of freed kmalloc objects.\nI:H - Slab UAF on bt_uuid during list traversal enables attacker-controlled reallocation of freed objects, providing heap corruption primitives that can be leveraged for arbitrary kernel writes and control-flow hijacking.\nA:H - The confirmed use-after-free in eir_create on the hci_cmd_sync_work path causes kernel oops or panic; repeated concurrent add/remove UUID operations can reliably crash or hang the system."
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-19T16:31:01.944Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/30bc6248f035a792d1b1f4cc761b32fd5827b55f"
},
{
"url": "https://git.kernel.org/stable/c/e4fa2c5c261d736b8e58759fdef3a968d510630c"
},
{
"url": "https://git.kernel.org/stable/c/a351f68fb24828b23a971e00b8238ee0e8a40380"
},
{
"url": "https://git.kernel.org/stable/c/a42f5536ea9c00e13f0c0fbb330feed95e2365ca"
},
{
"url": "https://git.kernel.org/stable/c/fe13adc258df88d95789e5673c7ba5178b5f8b28"
},
{
"url": "https://git.kernel.org/stable/c/e9027ffbf5a0f3c12ca8900822e884eae9f0821b"
}
],
"title": "Bluetooth: hci_sync: Protect UUID list traversal",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-68189",
"datePublished": "2026-08-10T12:00:01.711Z",
"dateReserved": "2026-07-30T09:28:09.373Z",
"dateUpdated": "2026-08-19T16:31:01.944Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…