{"api_version":"1","generated_at":"2026-10-21T19:44:21+00:00","cve":"CVE-2026-98738","urls":{"html":"https://cve.report/CVE-2026-98738","api":"https://cve.report/api/cve/CVE-2026-98738.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-98738","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-98738"},"summary":{"title":"Bluetooth: Serialize SMP remote OOB data access","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: Serialize SMP remote OOB data access\n\nbuild_pairing_cmd() looks up remote OOB data and copies its contents\nwithout holding hdev->lock, which serializes the list's writers. After\nSMP finds an entry, a concurrent management Remove Remote OOB Data\ncommand can unlink and free it before SMP reads its present flag or\ncopies its random and confirmation values. Removal can also invalidate\nan entry while the lookup is still traversing the list.\n\nKASAN reported:\n\n  BUG: KASAN: slab-use-after-free in build_pairing_cmd+0x948/0x9b0\n  Call Trace:\n   build_pairing_cmd+0x948/0x9b0\n   smp_recv_cb+0x459f/0x8110\n   l2cap_recv_frame+0xf14/0x9190\n   l2cap_recv_acldata+0xa64/0xd40\n   hci_rx_work+0x4ca/0x730\n\n  Allocated by task 87:\n   hci_add_remote_oob_data+0x11d/0x530\n   add_remote_oob_data+0x282/0x400\n   hci_sock_sendmsg+0x1033/0x1ea0\n\n  Freed by task 93:\n   hci_remote_oob_data_clear+0x108/0x1c0\n   remove_remote_oob_data+0x198/0x220\n   hci_sock_sendmsg+0x1033/0x1ea0\n\nTaking hdev->lock in build_pairing_cmd() would recurse for callers that\nalready hold it and invert the device-to-L2CAP lock order on the receive\npath. Add a per-device remote_oob_lock instead, held across the SMP\nlookup and copies and by the add, remove and clear helpers. Cover\ninitialization and in-place updates as well, so SMP cannot read partially\ninitialized or updated OOB values. Release the mutex on allocation\nfailure, preserving the existing error return.\n\nThe new critical sections acquire no device, connection or channel locks.\nWriters retain their existing hdev->lock protection, which continues to\nserialize the other readers without changing their locking or behavior.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-10-18 16:17:27","updated_at":"2026-10-21 13:21:41"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/889c61e3d0f1091a958e4b2a24b20bab23d915c4","name":"https://git.kernel.org/stable/c/889c61e3d0f1091a958e4b2a24b20bab23d915c4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/df5162eeb10e69fe0c2349503882c4a09077f001","name":"https://git.kernel.org/stable/c/df5162eeb10e69fe0c2349503882c4a09077f001","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/81a2345f1984f0b36d3226571bc196316a01b648","name":"https://git.kernel.org/stable/c/81a2345f1984f0b36d3226571bc196316a01b648","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/1e11412a1b9854a89d044576d616675b16141d87","name":"https://git.kernel.org/stable/c/1e11412a1b9854a89d044576d616675b16141d87","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/94afa17d6bfd5c1d367c56c8b63df5f695380861","name":"https://git.kernel.org/stable/c/94afa17d6bfd5c1d367c56c8b63df5f695380861","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-98738","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98738","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 02b05bd8b0a632e9a26795bced8f19ca6a5f7079 94afa17d6bfd5c1d367c56c8b63df5f695380861 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 02b05bd8b0a632e9a26795bced8f19ca6a5f7079 1e11412a1b9854a89d044576d616675b16141d87 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 02b05bd8b0a632e9a26795bced8f19ca6a5f7079 889c61e3d0f1091a958e4b2a24b20bab23d915c4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 02b05bd8b0a632e9a26795bced8f19ca6a5f7079 df5162eeb10e69fe0c2349503882c4a09077f001 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 02b05bd8b0a632e9a26795bced8f19ca6a5f7079 81a2345f1984f0b36d3226571bc196316a01b648 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3.19","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 3.19 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.160 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.113 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.56 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.10 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["include/net/bluetooth/hci_core.h","net/bluetooth/hci_core.c","net/bluetooth/smp.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"94afa17d6bfd5c1d367c56c8b63df5f695380861","status":"affected","version":"02b05bd8b0a632e9a26795bced8f19ca6a5f7079","versionType":"git"},{"lessThan":"1e11412a1b9854a89d044576d616675b16141d87","status":"affected","version":"02b05bd8b0a632e9a26795bced8f19ca6a5f7079","versionType":"git"},{"lessThan":"889c61e3d0f1091a958e4b2a24b20bab23d915c4","status":"affected","version":"02b05bd8b0a632e9a26795bced8f19ca6a5f7079","versionType":"git"},{"lessThan":"df5162eeb10e69fe0c2349503882c4a09077f001","status":"affected","version":"02b05bd8b0a632e9a26795bced8f19ca6a5f7079","versionType":"git"},{"lessThan":"81a2345f1984f0b36d3226571bc196316a01b648","status":"affected","version":"02b05bd8b0a632e9a26795bced8f19ca6a5f7079","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["include/net/bluetooth/hci_core.h","net/bluetooth/hci_core.c","net/bluetooth/smp.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"3.19"},{"lessThan":"3.19","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.160","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.113","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.56","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.10","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.160","versionStartIncluding":"3.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.113","versionStartIncluding":"3.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.56","versionStartIncluding":"3.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.10","versionStartIncluding":"3.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3","versionStartIncluding":"3.19","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: Serialize SMP remote OOB data access\n\nbuild_pairing_cmd() looks up remote OOB data and copies its contents\nwithout holding hdev->lock, which serializes the list's writers. After\nSMP finds an entry, a concurrent management Remove Remote OOB Data\ncommand can unlink and free it before SMP reads its present flag or\ncopies its random and confirmation values. Removal can also invalidate\nan entry while the lookup is still traversing the list.\n\nKASAN reported:\n\n  BUG: KASAN: slab-use-after-free in build_pairing_cmd+0x948/0x9b0\n  Call Trace:\n   build_pairing_cmd+0x948/0x9b0\n   smp_recv_cb+0x459f/0x8110\n   l2cap_recv_frame+0xf14/0x9190\n   l2cap_recv_acldata+0xa64/0xd40\n   hci_rx_work+0x4ca/0x730\n\n  Allocated by task 87:\n   hci_add_remote_oob_data+0x11d/0x530\n   add_remote_oob_data+0x282/0x400\n   hci_sock_sendmsg+0x1033/0x1ea0\n\n  Freed by task 93:\n   hci_remote_oob_data_clear+0x108/0x1c0\n   remove_remote_oob_data+0x198/0x220\n   hci_sock_sendmsg+0x1033/0x1ea0\n\nTaking hdev->lock in build_pairing_cmd() would recurse for callers that\nalready hold it and invert the device-to-L2CAP lock order on the receive\npath. Add a per-device remote_oob_lock instead, held across the SMP\nlookup and copies and by the add, remove and clear helpers. Cover\ninitialization and in-place updates as well, so SMP cannot read partially\ninitialized or updated OOB values. Release the mutex on allocation\nfailure, preserving the existing error return.\n\nThe new critical sections acquire no device, connection or channel locks.\nWriters retain their existing hdev->lock protection, which continues to\nserialize the other readers without changing their locking or behavior."}],"providerMetadata":{"dateUpdated":"2026-10-21T12:56:14.531Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/94afa17d6bfd5c1d367c56c8b63df5f695380861"},{"url":"https://git.kernel.org/stable/c/1e11412a1b9854a89d044576d616675b16141d87"},{"url":"https://git.kernel.org/stable/c/889c61e3d0f1091a958e4b2a24b20bab23d915c4"},{"url":"https://git.kernel.org/stable/c/df5162eeb10e69fe0c2349503882c4a09077f001"},{"url":"https://git.kernel.org/stable/c/81a2345f1984f0b36d3226571bc196316a01b648"}],"title":"Bluetooth: Serialize SMP remote OOB data access","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-98738","datePublished":"2026-10-18T15:47:21.503Z","dateReserved":"2026-09-25T10:25:14.367Z","dateUpdated":"2026-10-21T12:56:14.531Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-18 16:17:27","lastModifiedDate":"2026-10-21 13:21:41","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"98738","Ordinal":"1","Title":"Bluetooth: Serialize SMP remote OOB data access","CVE":"CVE-2026-98738","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"98738","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: Serialize SMP remote OOB data access\n\nbuild_pairing_cmd() looks up remote OOB data and copies its contents\nwithout holding hdev->lock, which serializes the list's writers. After\nSMP finds an entry, a concurrent management Remove Remote OOB Data\ncommand can unlink and free it before SMP reads its present flag or\ncopies its random and confirmation values. Removal can also invalidate\nan entry while the lookup is still traversing the list.\n\nKASAN reported:\n\n  BUG: KASAN: slab-use-after-free in build_pairing_cmd+0x948/0x9b0\n  Call Trace:\n   build_pairing_cmd+0x948/0x9b0\n   smp_recv_cb+0x459f/0x8110\n   l2cap_recv_frame+0xf14/0x9190\n   l2cap_recv_acldata+0xa64/0xd40\n   hci_rx_work+0x4ca/0x730\n\n  Allocated by task 87:\n   hci_add_remote_oob_data+0x11d/0x530\n   add_remote_oob_data+0x282/0x400\n   hci_sock_sendmsg+0x1033/0x1ea0\n\n  Freed by task 93:\n   hci_remote_oob_data_clear+0x108/0x1c0\n   remove_remote_oob_data+0x198/0x220\n   hci_sock_sendmsg+0x1033/0x1ea0\n\nTaking hdev->lock in build_pairing_cmd() would recurse for callers that\nalready hold it and invert the device-to-L2CAP lock order on the receive\npath. Add a per-device remote_oob_lock instead, held across the SMP\nlookup and copies and by the add, remove and clear helpers. Cover\ninitialization and in-place updates as well, so SMP cannot read partially\ninitialized or updated OOB values. Release the mutex on allocation\nfailure, preserving the existing error return.\n\nThe new critical sections acquire no device, connection or channel locks.\nWriters retain their existing hdev->lock protection, which continues to\nserialize the other readers without changing their locking or behavior.","Type":"Description","Title":"Bluetooth: Serialize SMP remote OOB data access"}]}}}