{"id":"DEBIAN-CVE-2026-64433","details":"In the Linux kernel, the following vulnerability has been resolved:  Bluetooth: MGMT: Fix UAF of hci_conn_params in add_device_complete  add_device_complete() runs from the hci_cmd_sync_work kworker, which holds only hci_req_sync_lock and *not* hci_dev_lock.  It calls hci_conn_params_lookup() and then dereferences the returned object (params-\u003eflags) without taking hci_dev_lock:  \tparams = hci_conn_params_lookup(hdev, &cp-\u003eaddr.bdaddr, \t\t\t\t\tle_addr_type(cp-\u003eaddr.type)); \t... \tdevice_flags_changed(NULL, hdev, &cp-\u003eaddr.bdaddr, \t\t\t     cp-\u003eaddr.type, hdev-\u003econn_flags, \t\t\t     params ? params-\u003eflags : 0);  hci_conn_params_lookup() walks hdev-\u003ele_conn_params and is documented to require hdev-\u003elock.  A concurrent MGMT_OP_REMOVE_DEVICE (remove_device()), which does run under hci_dev_lock, can call hci_conn_params_free() to list_del() and kfree() the very object the lookup returned, so the subsequent params-\u003eflags read touches freed memory [0].  Hold hci_dev_lock() across the hci_conn_params_lookup() and the read of params-\u003eflags (and the matching event emission) so the lookup result cannot be freed by a concurrent remove_device() before it is used, honouring the locking contract of hci_conn_params_lookup().  [0]: (trailing page/memory-state dump trimmed) BUG: KASAN: slab-use-after-free in add_device_complete+0x358/0x3d8 net/bluetooth/mgmt.c:7671 Read of size 1 at addr ffff000017ab26c1 by task kworker/u9:8/388  CPU: 1 UID: 0 PID: 388 Comm: kworker/u9:8 Not tainted 7.0.11 #20 PREEMPT Hardware name: linux,dummy-virt (DT) Workqueue: hci0 hci_cmd_sync_work Call trace:  show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:499 (C)  __dump_stack lib/dump_stack.c:94 [inline]  dump_stack_lvl+0xb4/0xd4 lib/dump_stack.c:120  print_address_description mm/kasan/report.c:378 [inline]  print_report+0x118/0x5d8 mm/kasan/report.c:482  kasan_report+0xb0/0xf4 mm/kasan/report.c:595  __asan_report_load1_noabort+0x20/0x2c mm/kasan/report_generic.c:378  add_device_complete+0x358/0x3d8 net/bluetooth/mgmt.c:7671  hci_cmd_sync_work+0x14c/0x240 net/bluetooth/hci_sync.c:334  process_one_work+0x628/0xd38 kernel/workqueue.c:3289  process_scheduled_works kernel/workqueue.c:3372 [inline]  worker_thread+0x7a8/0xac0 kernel/workqueue.c:3453  kthread+0x39c/0x444 kernel/kthread.c:436  ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860  Allocated by task 3401:  kasan_save_stack+0x3c/0x64 mm/kasan/common.c:57  kasan_save_track+0x20/0x3c mm/kasan/common.c:78  kasan_save_alloc_info+0x40/0x54 mm/kasan/generic.c:570  poison_kmalloc_redzone mm/kasan/common.c:398 [inline]  __kasan_kmalloc+0xd4/0xd8 mm/kasan/common.c:415  kasan_kmalloc include/linux/kasan.h:263 [inline]  __kmalloc_cache_noprof+0x1b0/0x458 mm/slub.c:5385  kmalloc_noprof include/linux/slab.h:950 [inline]  kzalloc_noprof include/linux/slab.h:1188 [inline]  hci_conn_params_add+0x10c/0x4b0 net/bluetooth/hci_core.c:2279  hci_conn_params_set net/bluetooth/mgmt.c:5162 [inline]  add_device+0x5b4/0xa54 net/bluetooth/mgmt.c:7755  hci_mgmt_cmd net/bluetooth/hci_sock.c:1721 [inline]  hci_sock_sendmsg+0x10b4/0x1dd0 net/bluetooth/hci_sock.c:1841  sock_sendmsg_nosec net/socket.c:727 [inline]  __sock_sendmsg+0xe0/0x128 net/socket.c:742  sock_write_iter+0x250/0x390 net/socket.c:1195  new_sync_write fs/read_write.c:595 [inline]  vfs_write+0x66c/0xab0 fs/read_write.c:688  ksys_write+0x1fc/0x24c fs/read_write.c:740  __do_sys_write fs/read_write.c:751 [inline]  __se_sys_write fs/read_write.c:748 [inline]  __arm64_sys_write+0x70/0xa4 fs/read_write.c:748  __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline]  invoke_syscall+0x84/0x2a8 arch/arm64/kernel/syscall.c:49  el0_svc_common.constprop.0+0xe4/0x294 arch/arm64/kernel/syscall.c:132  do_el0_svc+0x44/0x5c arch/arm64/kernel/syscall.c:151  el0_svc+0x38/0xac arch/arm64/kernel/entry-common.c:724  el0t_64_sync_handler+0xa0/0xe4 arch/arm64/kernel/entry-common.c:743  el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596  Freed by task 3740:  kasan_save_stack+0x3c/0x64  ---truncated---","modified":"2026-09-14T17:03:27.346646657Z","published":"2026-07-25T10:17:27.567Z","upstream":["CVE-2026-64433"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-64433"}],"affected":[{"package":{"name":"linux","ecosystem":"Debian:13","purl":"pkg:deb/debian/linux?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.12.96-1"}]}],"versions":["6.12.38-1","6.12.41-1","6.12.43-1","6.12.43-1~bpo12+1","6.12.48-1","6.12.57-1","6.12.57-1~bpo12+1","6.12.63-1","6.12.63-1~bpo12+1","6.12.69-1","6.12.69-1~bpo12+1","6.12.73-1","6.12.73-1~bpo12+1","6.12.74-1","6.12.74-2","6.12.74-2~bpo12+1","6.12.85-1","6.12.85-1~bpo12+1","6.12.86-1","6.12.86-1~bpo12+1","6.12.88-1","6.12.88-1~bpo12+1","6.12.90-1","6.12.90-1~bpo12+1","6.12.90-2","6.12.90-2~bpo12+1","6.12.94-1","6.12.94-1~bpo12+1","6.12.95-1","6.12.95-1~bpo12+1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-64433.json"}},{"package":{"name":"linux","ecosystem":"Debian:14","purl":"pkg:deb/debian/linux?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.1.4-1"}]}],"versions":["6.12.100-1","6.12.101-1","6.12.105-1","6.12.107-1","6.12.38-1","6.12.41-1","6.12.43-1","6.12.43-1~bpo12+1","6.12.48-1","6.12.57-1","6.12.57-1~bpo12+1","6.12.63-1","6.12.63-1~bpo12+1","6.12.69-1","6.12.69-1~bpo12+1","6.12.73-1","6.12.73-1~bpo12+1","6.12.74-1","6.12.74-2","6.12.74-2~bpo12+1","6.12.85-1","6.12.85-1~bpo12+1","6.12.86-1","6.12.86-1~bpo12+1","6.12.88-1","6.12.88-1~bpo12+1","6.12.90-1","6.12.90-1~bpo12+1","6.12.90-2","6.12.90-2~bpo12+1","6.12.94-1","6.12.94-1~bpo12+1","6.12.95-1","6.12.95-1~bpo12+1","6.12.96-1","6.13.10-1~exp1","6.13.11-1~exp1","6.13.2-1~exp1","6.13.3-1~exp1","6.13.4-1~exp1","6.13.5-1~exp1","6.13.6-1~exp1","6.13.7-1~exp1","6.13.8-1~exp1","6.13.9-1~exp1","6.13~rc6-1~exp1","6.13~rc7-1~exp1","6.14.3-1~exp1","6.14.5-1~exp1","6.14.6-1~exp1","6.15-1~exp1","6.15.1-1~exp1","6.15.2-1~exp1","6.15.3-1~exp1","6.15.4-1~exp1","6.15.5-1~exp1","6.15.6-1~exp1","6.15~rc7-1~exp1","6.16-1~exp1","6.16.1-1~exp1","6.16.10-1","6.16.11-1","6.16.12-1","6.16.12-1~bpo13+1","6.16.12-2","6.16.3-1","6.16.3-1~bpo13+1","6.16.5-1","6.16.6-1","6.16.7-1","6.16.8-1","6.16.9-1","6.16~rc7-1~exp1","6.17.10-1","6.17.11-1","6.17.12-1","6.17.13-1","6.17.13-1~bpo13+1","6.17.2-1~exp1","6.17.5-1~exp1","6.17.6-1","6.17.7-1","6.17.7-2","6.17.8-1","6.17.8-1~bpo13+1","6.17.9-1","6.18.1-1~exp1","6.18.10-1","6.18.12-1","6.18.12-1~bpo13+1","6.18.13-1","6.18.14-1","6.18.15-1","6.18.15-1~bpo13+1","6.18.2-1~exp1","6.18.3-1","6.18.5-1","6.18.5-1~bpo13+1","6.18.8-1","6.18.9-1","6.18.9-1~bpo13+1","6.18~rc4-1~exp1","6.18~rc4-1~exp2","6.18~rc5-1~exp1","6.18~rc6-1~exp1","6.18~rc7-1~exp1","6.19-1~exp1","6.19.10-1","6.19.10-1~bpo13+1","6.19.11-1","6.19.11-1~bpo13+1","6.19.12-1","6.19.13-1","6.19.13-1~bpo13+1","6.19.14-1","6.19.14-1~bpo13+1","6.19.2-1~exp1","6.19.3-1~exp1","6.19.4-1~exp1","6.19.5-1~exp1","6.19.6-1","6.19.6-2","6.19.6-2~bpo13+1","6.19.8-1","6.19.8-1~bpo13+1","6.19~rc4-1~exp1","6.19~rc5-1~exp1","6.19~rc6-1~exp1","6.19~rc7-1~exp1","6.19~rc8-1~exp1","7.0-1~exp1","7.0.1-1~exp1","7.0.10-1","7.0.10-1~bpo13+1","7.0.12-1","7.0.12-2","7.0.12-2~bpo13+1","7.0.13-1","7.0.13-1~bpo13+1","7.0.14-1","7.0.3-1","7.0.4-1","7.0.4-1~bpo13+1","7.0.7-1","7.0.7-1~bpo13+1","7.0.9-1","7.0.9-1~bpo13+1","7.1.1-1~exp1","7.1.2-1~exp1","7.1.3-1","7.1.3-1+sunvdc","7.1.3-1~bpo13+1","7.1~rc2-1~exp1","7.1~rc3-1~exp1","7.1~rc4-1~exp1","7.1~rc4-1~exp2","7.1~rc5-1~exp1","7.1~rc7-1~exp1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-64433.json"}},{"package":{"name":"linux-6.12","ecosystem":"Debian:12","purl":"pkg:deb/debian/linux-6.12?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.12.100-1~deb12u1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-64433.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}