{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-98737 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-98737 is an use after free vulnerability in Linux, published on 18 Oct 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-98737 and fix it if it is affected.\n\nWhat it is: CVE-2026-98737 is an use after free vulnerability in Linux, published on 18 Oct 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-98737 in the wild and no public exploit code.\n\nAffected product: Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-98737/ (Markdown: https://insights.sbomify.com/CVE-2026-98737/index.md)","id":"CVE-2026-98737","markdown":"https://insights.sbomify.com/CVE-2026-98737/index.md","name":"CVE-2026-98737","record":{"aliases":["AZL-109301","BELL-CVE-2026-98737","DEBIAN-CVE-2026-98737","GHSA-g43c-xvh2-vxh2","UBUNTU-CVE-2026-98737"],"analysis":{"component_type":"kernel","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux kernel Bluetooth","requires_auth":"low_privilege","summary":"A use-after-free in the Linux kernel Bluetooth subsystem allows local attackers to execute arbitrary code or escalate privileges via race conditions.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Linux","cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_sync: Fix inquiry cache use-after-free\n\nThe sync command worker holds hdev-\u003ereq_lock, but inquiry-cache updates\nand flushes use hdev-\u003elock. Both hci_acl_create_conn_sync() and\nhci_stop_discovery_sync() look up entries and read their fields without\ntaking hdev-\u003elock.\n\nAfter either lookup returns, a concurrent HCIINQUIRY ioctl can acquire\nhdev-\u003elock and flush the cache, freeing the entry. The worker then reads\nthe freed entry while preparing a create-connection or remote-name-cancel\ncommand. The list traversal also races with cache updates and removal.\n\nKASAN reported these accesses:\n\n  BUG: KASAN: slab-use-after-free in hci_acl_create_conn_sync+0x5f1/0x650\n  Workqueue: hci0 hci_cmd_sync_work\n  Call Trace:\n   hci_acl_create_conn_sync+0x5f1/0x650\n   hci_cmd_sync_work+0x13c/0x290\n\n  Allocated by task 90:\n   hci_inquiry_cache_update+0x3e6/0x7d0\n   hci_inquiry_result_evt+0x3cb/0x560\n\n  Freed by task 93:\n   hci_inquiry_cache_flush+0x111/0x2b0\n   hci_inquiry+0x2f2/0x780\n   hci_sock_ioctl+0x269/0x5f0\n\n  BUG: KASAN: slab-use-after-free in hci_stop_discovery_sync+0x3b1/0x3c0\n  Workqueue: hci0 hci_cmd_sync_work\n  Call Trace:\n   hci_stop_discovery_sync+0x3b1/0x3c0\n   hci_cmd_sync_work+0x173/0x300\n\n  Allocated by task 86:\n   hci_inquiry_cache_update+0x483/0x940\n   hci_inquiry_result_evt+0x3cb/0x560\n\n  Freed by task 91:\n   hci_inquiry_cache_flush+0x13e/0x2f0\n   hci_inquiry+0x2f2/0x780\n   hci_sock_ioctl+0x269/0x5f0\n\nHold hdev-\u003elock across each lookup and all reads from its result. Copy the\nremote address before unlocking so discovery cancellation does not retain\na cache entry pointer. Release the lock before sending synchronous HCI\ncommands, since their completion handlers may need the same lock.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Bluetooth: hci_sync: Fix inquiry cache use-after-free","id":"CVE-2026-98737","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"use_after_free","year":"2026"},"n_packages":0,"n_references":5,"next":{"headline":"Bluetooth: Serialize SMP remote OOB data access","id":"CVE-2026-98738"},"packages":[],"prev":{"headline":"Bluetooth: hci_conn: Lock parent access during enhanced SCO setup","id":"CVE-2026-98736"},"products":["Linux"],"published":"2026-10-18","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-10-21","vendors":["Linux"]},"summary":"A use-after-free in the Linux kernel Bluetooth subsystem allows local attackers to execute arbitrary code or escalate privileges via race conditions.","url":"https://insights.sbomify.com/CVE-2026-98737/"}