CVE-2023-53762 in Linux
Résumé
par VulDB • 29/05/2026
Dans le noyau Linux, la vulnérabilité suivante a été corrigée :
Bluetooth : hci_sync : Correction d'un UAF dans hci_disconnect_all_sync
Un Use-after-free peut se produire dans hci_disconnect_all_sync si une connexion est supprimée par le traitement simultané d'un événement du contrôleur.
Pour prévenir cela, le code essaie désormais d'itérer sur la liste à l'envers afin de garantir que les liens soient nettoyés avant leurs parents. De plus, il ne s'appuie plus sur un curseur, mais utilise toujours le dernier élément, car hci_abort_conn_sync est garanti d'appeler hci_conn_del.
Journal de plantage UAF : ================================================================== BUG: KASAN: slab-use-after-free in hci_set_powered_sync (net/bluetooth/hci_sync.c:5424) [bluetooth]
Lecture de taille 8 à l'adresse ffff888009d9c000 par la tâche kworker/u9:0/124
CPU: 0 PID: 124 Comm: kworker/u9:0 Tainted: G W 6.5.0-rc1+ #10 Matériel : QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-1.fc38 04/01/2014 Workqueue: hci0 hci_cmd_sync_work [bluetooth]
Trace d'appel : <TASK> dump_stack_lvl+0x5b/0x90 print_report+0xcf/0x670 ? __virt_addr_valid+0xdd/0x160 ? hci_set_powered_sync+0x2c9/0x4a0 [bluetooth]
kasan_report+0xa6/0xe0 ? hci_set_powered_sync+0x2c9/0x4a0 [bluetooth]
? __pfx_set_powered_sync+0x10/0x10 [bluetooth]
hci_set_powered_sync+0x2c9/0x4a0 [bluetooth]
? __pfx_hci_set_powered_sync+0x10/0x10 [bluetooth]
? __pfx_lock_release+0x10/0x10 ? __pfx_set_powered_sync+0x10/0x10 [bluetooth]
hci_cmd_sync_work+0x137/0x2a0 [bluetooth]
process_one_work+0x526/0x9d0 worker_thread+0x92/0x630 kthread+0x196/0x1e0 ? __pfx_kthread+0x10/0x10 ? __pfx_wq_worker_sleeping+0x10/0x10 ? __pfx_kthread+0x10/0x10 ? __pfx_wq_worker_sleeping+0x10/0x10 ret_from_fork+0x2c/0x50 </TASK>
L'adresse qui a été allouée : ffff888009d9c000 est située dans la zone de mémoire « slab » bluetooth_0x128 de taille 128. L'adresse a été allouée avec l'allocation kmalloc-128 dans hci_conn_add+0xa5/0xa80 [bluetooth]
hci_bind_cis+0x881/0x9b0 [bluetooth]
iso_connect_cis+0x121/0x520 [bluetooth]
iso_sock_connect+0x3f6/0x790 [bluetooth]
__sys_connect+0x109/0x130 __x64_sys_connect+0x40/0x50 do_syscall_64+0x60/0x90 entry_SYSCALL_64_after_hwframe+0x6e/0xd8
If you want to get best quality of vulnerability data, you may have to visit VulDB.