{"id":"CVE-2026-74509","aliases":["CVE-2026-74509"],"related":[],"kind":"vulnerability","state":"published","title":"Bluetooth: hci_sync: Fix advertising data UAFs","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_sync: Fix advertising data UAFs\n\nhci_find_adv_instance() returns an adv_info pointer that is valid only\nwhile hdev->lock is held.  The advertising command-sync paths perform\ninstance lookups without that lock and, in some cases, retain the pointer\nwhile waiting for a controller response.\n\nAn advertising termination event can therefore interleave as follows:\n\n  hci_cmd_sync_work                 hci_rx_work\n  hci_find_adv_instance()\n  __hci_cmd_sync_status()\n    wait for controller reply       hci_dev_lock()\n                                    hci_remove_adv_instance()\n                                      kfree(adv)\n  adv->scan_rsp_changed = false\n\nKASAN reported:\n\n  BUG: KASAN: slab-use-after-free in hci_set_ext_scan_rsp_data_sync+0x2e1/0x300\n  Write of size 1 at addr ffff88810a45d21d by task kworker/u17:0/88\n  Workqueue: hci0 hci_cmd_sync_work\n  Call Trace:\n   hci_set_ext_scan_rsp_data_sync+0x2e1/0x300\n   hci_schedule_adv_instance_sync+0x390/0x4c0\n   hci_cmd_sync_work+0x173/0x300\n  Allocated by task 87:\n   hci_add_adv_instance+0x538/0xac0\n   add_advertising+0x885/0x1160\n  Freed by task 89:\n   kfree+0x131/0x3c0\n   hci_remove_adv_instance+0x1d8/0x3b0\n   hci_le_ext_adv_term_evt+0x17b/0x730\n\nProtect the instance lookup and payload construction in the extended\nadvertising, scan response, and periodic advertising data paths.  Snapshot\nthe advertising parameters under hdev->lock, but release the lock before\nwaiting for the controller.\n\nClear advertising-data dirty bits before issuing their commands and\nrestore them after a failure using a fresh lookup.  Likewise, update the\nreported transmit power through a fresh lookup after the parameter command\ncompletes.  No adv_info pointer then survives an HCI command wait.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_sync: Fix advertising data UAFs\n\nhci_find_adv_instance() returns an adv_info pointer that is valid only\nwhile hdev->lock is held.  The advertising command-sync paths perform\ninstance lookups without that lock and, in some cases, retain the pointer\nwhile waiting for a controller response.\n\nAn advertising termination event can therefore interleave as follows:\n\n  hci_cmd_sync_work                 hci_rx_work\n  hci_find_adv_instance()\n  __hci_cmd_sync_status()\n    wait for controller reply       hci_dev_lock()\n                                    hci_remove_adv_instance()\n                                      kfree(adv)\n  adv->scan_rsp_changed = false\n\nKASAN reported:\n\n  BUG: KASAN: slab-use-after-free in hci_set_ext_scan_rsp_data_sync+0x2e1/0x300\n  Write of size 1 at addr ffff88810a45d21d by task kworker/u17:0/88\n  Workqueue: hci0 hci_cmd_sync_work\n  Call Trace:\n   hci_set_ext_scan_rsp_data_sync+0x2e1/0x300\n   hci_schedule_adv_instance_sync+0x390/0x4c0\n   hci_cmd_sync_work+0x173/0x300\n  Allocated by task 87:\n   hci_add_adv_instance+0x538/0xac0\n   add_advertising+0x885/0x1160\n  Freed by task 89:\n   kfree+0x131/0x3c0\n   hci_remove_adv_instance+0x1d8/0x3b0\n   hci_le_ext_adv_term_evt+0x17b/0x730\n\nProtect the instance lookup and payload construction in the extended\nadvertising, scan response, and periodic advertising data paths.  Snapshot\nthe advertising parameters under hdev->lock, but release the lock before\nwaiting for the controller.\n\nClear advertising-data dirty bits before issuing their commands and\nrestore them after a failure using a fresh lookup.  Likewise, update the\nreported transmit power through a fresh lookup after the parameter command\ncompletes.  No adv_info pointer then survives an HCI command wait.","source":"cvelist"}],"published":"2026-08-15T12:27:31.896Z","modified":"2026-10-16T20:17:33.550Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"cba6b758711cab946c787f7c15be92cc749b8e1f","fixed":"565971488191bf54a87a417abafab6ad0de72201","status":"affected"},{"type":"git","introduced":"cba6b758711cab946c787f7c15be92cc749b8e1f","fixed":"c4cec575a6d6f7c36808a3a0017b0675968bb06b","status":"affected"},{"type":"git","introduced":"cba6b758711cab946c787f7c15be92cc749b8e1f","fixed":"95cdcd8c82a501931fd3ae9b3811b0b6da167e94","status":"affected"},{"type":"git","introduced":"cba6b758711cab946c787f7c15be92cc749b8e1f","fixed":"eb1d8318764de7216e6dbba29a24d69f7ce51348","status":"affected"},{"type":"git","introduced":"cba6b758711cab946c787f7c15be92cc749b8e1f","fixed":"b16ebdbebd2d37f4cdc590bc3e9db71fe90350a3","status":"affected"},{"type":"git","introduced":"cba6b758711cab946c787f7c15be92cc749b8e1f","fixed":"cdc36db204ffd97b947d64374cf23a210dc74777","status":"affected"},{"type":"git","version":"42fe380baaaccbe635c34ca07b29d19b9ec2498d","status":"affected"},{"type":"semver","introduced":"5.15.210","fixed":"5.16","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.17","status":"unaffected"},{"type":"semver","introduced":"6.1.184","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.154","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.103","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.44","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.8","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/565971488191bf54a87a417abafab6ad0de72201","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c4cec575a6d6f7c36808a3a0017b0675968bb06b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/95cdcd8c82a501931fd3ae9b3811b0b6da167e94","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eb1d8318764de7216e6dbba29a24d69f7ce51348","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b16ebdbebd2d37f4cdc590bc3e9db71fe90350a3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cdc36db204ffd97b947d64374cf23a210dc74777","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T18:58:37.448Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74509","url":"https://www.cve.org/CVERecord?id=CVE-2026-74509","licence":"CVE Terms of Use","modified":"2026-10-16T19:05:51.377Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74509","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74509","licence":"Public domain","modified":"2026-10-16T20:17:33.550Z"}],"updatedAt":"2026-11-25T22:59:33.240Z","epss":{"score":0.00249,"percentile":0.17393,"date":"2026-12-01T12:00:22.000Z"}}