CVE-2023-53762

Updated on 08 Dec 2025

Severity

7.0 High severity

Details

CVSS score
7.0

Overview

About vulnerability

In the Linux kernel, the following vulnerability has been resolved:

Bluetooth: hci_sync: Fix UAF in hci_disconnect_all_sync

Use-after-free can occur in hci_disconnect_all_sync if a connection is deleted by concurrent processing of a controller event.

To prevent this the code now tries to iterate over the list backwards to ensure the links are cleanup before its parents, also it no longer relies on a cursor, instead it always uses the last element since hci_abort_conn_sync is guaranteed to call hci_conn_del.

UAF crash log:

BUG: KASAN: slab-use-after-free in hci_set_powered_sync (net/bluetooth/hci_sync.c:5424) [bluetooth] Read of size 8 at addr ffff888009d9c000 by task kworker/u9:0/124

CPU: 0 PID: 124 Comm: kworker/u9:0 Tainted: G W 6.5.0-rc1+ #10 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-1.fc38 04/01/2014 Workqueue: hci0 hci_cmd_sync_work [bluetooth] Call Trace: 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/0x220 [bluetooth] process_one_work+0x526/0x9d0 ? __pfx_process_one_work+0x10/0x10 ? __pfx_do_raw_spin_lock+0x10/0x10 ? mark_held_locks+0x1a/0x90 worker_thread+0x92/0x630 ? __pfx_worker_thread+0x10/0x10 kthread+0x196/0x1e0 ? __pfx_kthread+0x10/0x10 ret_from_fork+0x2c/0x50

Allocated by task 1782: kasan_save_stack+0x33/0x60 kasan_set_track+0x25/0x30 __kasan_kmalloc+0x8f/0xa0 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

Freed by task 695: kasan_save_stack+0x33/0x60 kasan_set_track+0x25/0x30 kasan_save_free_info+0x2b/0x50 __kasan_slab_free+0x10a/0x180 __kmem_cache_free+0x14d/0x2e0 device_release+0x5d/0xf0 kobject_put+0xdf/0x270 hci_disconn_complete_evt+0x274/0x3a0 [bluetooth] hci_event_packet+0x579/0x7e0 [bluetooth] hci_rx_work+0x287/0xaa0 [bluetooth] process_one_work+0x526/0x9d0 worker_thread+0x92/0x630 kthread+0x196/0x1e0 ret_from_fork+0x2c/0x50

Details

Affected packages:
kernel @ 5.14.0 (+4 more)

Fixes

KernelCare state

Live-patch status from KernelCare for each operating system.

Operating system Status Covered kernels
AlmaLinux 8 Released
53 kernels
  • 4.18.0-553.el8_10
  • 4.18.0-553.5.1.el8_10
  • 4.18.0-553.8.1.el8_10
  • 4.18.0-553.16.1.el8_10
  • 4.18.0-553.22.1.el8_10
  • 4.18.0-553.27.1.el8_10
  • 4.18.0-553.30.1.el8_10
  • 4.18.0-553.32.1.el8_10
  • 4.18.0-553.34.1.el8_10
  • 4.18.0-553.33.1.el8_10
  • 4.18.0-553.37.1.el8_10
  • 4.18.0-553.40.1.el8_10
  • 4.18.0-553.36.1.el8_10
  • 4.18.0-553.44.1.el8_10
  • 4.18.0-553.45.1.el8_10
  • 4.18.0-553.46.1.el8_10
  • 4.18.0-553.42.1.el8_10
  • 4.18.0-553.50.1.el8_10
  • 4.18.0-553.47.1.el8_10
  • 4.18.0-553.52.1.el8_10
  • 4.18.0-553.53.1.el8_10
  • 4.18.0-553.51.1.el8_10
  • 4.18.0-553.54.1.el8_10
  • 4.18.0-553.56.1.el8_10
  • 4.18.0-553.58.1.el8_10
  • 4.18.0-553.60.1.el8_10
  • 4.18.0-553.62.1.el8_10
  • 4.18.0-553.63.1.el8_10
  • 4.18.0-553.64.1.el8_10
  • 4.18.0-553.66.1.el8_10
  • 4.18.0-553.69.1.el8_10
  • 4.18.0-553.70.1.el8_10
  • 4.18.0-553.71.1.el8_10
  • 4.18.0-553.72.1.el8_10
  • 4.18.0-553.74.1.el8_10
  • 4.18.0-553.75.1.el8_10
  • 4.18.0-553.76.1.el8_10
  • 4.18.0-553.77.1.el8_10
  • 4.18.0-553.78.1.el8_10
  • 4.18.0-553.79.1.el8_10
  • 4.18.0-553.80.1.el8_10
  • 4.18.0-553.81.1.el8_10
  • 4.18.0-553.82.1.el8_10
  • 4.18.0-553.83.1.el8_10
  • 4.18.0-553.84.1.el8_10
  • 4.18.0-553.85.1.el8_10
  • 4.18.0-553.87.1.el8_10
  • 4.18.0-553.89.1.el8_10
  • 4.18.0-553.92.1.el8_10
  • 4.18.0-553.94.1.el8_10
  • 4.18.0-553.97.1.el8_10
  • 4.18.0-553.100.1.el8_10
  • 4.18.0-553.104.1.el8_10
AlmaLinux 9.2 ESU Planned
CloudLinux OS 7h Released
43 kernels
  • 4.18.0-553.lve.el7h
  • 4.18.0-553.5.1.lve.el7h
  • 4.18.0-553.8.1.lve.el7h
  • 4.18.0-553.5.1.lve.1.el7h
  • 4.18.0-553.16.1.lve.el7h
  • 4.18.0-553.22.1.lve.el7h
  • 4.18.0-553.16.1.lve.1.el7h
  • 4.18.0-553.27.1.lve.el7h
  • 4.18.0-553.22.1.lve.1.el7h
  • 4.18.0-553.30.1.lve.el7h
  • 4.18.0-553.32.1.lve.el7h
  • 4.18.0-553.27.1.lve.1.el7h
  • 4.18.0-553.34.1.lve.el7h
  • 4.18.0-553.33.1.lve.el7h
  • 4.18.0-553.37.1.lve.el7h
  • 4.18.0-553.40.1.lve.el7h
  • 4.18.0-553.36.1.lve.el7h
  • 4.18.0-553.44.1.lve.el7h
  • 4.18.0-553.45.1.lve.el7h
  • 4.18.0-553.46.1.lve.el7h
  • 4.18.0-553.50.1.lve.el7h
  • 4.18.0-553.47.1.lve.el7h
  • 4.18.0-553.52.1.lve.el7h
  • 4.18.0-553.51.1.lve.1.el7h
  • 4.18.0-553.51.1.lve.el7h
  • 4.18.0-553.53.1.lve.el7h
  • 4.18.0-553.54.1.lve.el7h
  • 4.18.0-553.56.1.lve.el7h
  • 4.18.0-553.58.1.lve.el7h
  • 4.18.0-553.62.1.lve.el7h
  • 4.18.0-553.69.1.lve.el7h
  • 4.18.0-553.70.1.lve.el7h
  • 4.18.0-553.74.1.lve.el7h
  • 4.18.0-553.75.1.lve.el7h
  • 4.18.0-553.76.1.lve.el7h
  • 4.18.0-553.77.1.lve.el7h
  • 4.18.0-553.79.1.lve.el7h
  • 4.18.0-553.83.1.lve.el7h
  • 4.18.0-553.84.1.lve.el7h
  • 4.18.0-553.89.1.lve.el7h
  • 4.18.0-553.94.1.lve.el7h
  • 4.18.0-553.104.1.lve.el7h
  • 4.18.0-553.94.1.lve.1.el7h
CloudLinux OS 8 Released
44 kernels
  • 4.18.0-553.lve.el8
  • 4.18.0-553.5.1.lve.el8
  • 4.18.0-553.5.1.lve.1.el8
  • 4.18.0-553.8.1.lve.el8
  • 4.18.0-553.16.1.lve.el8
  • 4.18.0-553.16.1.lve.1.el8
  • 4.18.0-553.22.1.lve.el8
  • 4.18.0-553.22.1.lve.1.el8
  • 4.18.0-553.27.1.lve.el8
  • 4.18.0-553.30.1.lve.el8
  • 4.18.0-553.27.1.lve.1.el8
  • 4.18.0-553.32.1.lve.el8
  • 4.18.0-553.34.1.lve.el8
  • 4.18.0-553.33.1.lve.el8
  • 4.18.0-553.37.1.lve.el8
  • 4.18.0-553.40.1.lve.el8
  • 4.18.0-553.44.1.lve.el8
  • 4.18.0-553.36.1.lve.el8
  • 4.18.0-553.45.1.lve.el8
  • 4.18.0-553.46.1.lve.el8
  • 4.18.0-553.50.1.lve.el8
  • 4.18.0-553.47.1.lve.el8
  • 4.18.0-553.51.1.lve.el8
  • 4.18.0-553.51.1.lve.1.el8
  • 4.18.0-553.52.1.lve.el8
  • 4.18.0-553.53.1.lve.el8
  • 4.18.0-553.54.1.lve.el8
  • 4.18.0-553.58.1.lve.el8
  • 4.18.0-553.62.1.lve.el8
  • 4.18.0-553.56.1.lve.el8
  • 4.18.0-553.69.1.lve.el8
  • 4.18.0-553.70.1.lve.el8
  • 4.18.0-553.74.1.lve.el8
  • 4.18.0-553.75.1.lve.el8
  • 4.18.0-553.76.1.lve.el8
  • 4.18.0-553.77.1.lve.el8
  • 4.18.0-553.79.1.lve.el8
  • 4.18.0-553.80.1.lve.el8
  • 4.18.0-553.83.1.lve.el8
  • 4.18.0-553.84.1.lve.el8
  • 4.18.0-553.89.1.lve.el8
  • 4.18.0-553.94.1.lve.el8
  • 4.18.0-553.104.1.lve.el8
  • 4.18.0-553.94.1.lve.1.el8
Oracle Linux 8 Released
54 kernels
  • 4.18.0-553.el8_10
  • 4.18.0-553.5.1.el8_10
  • 4.18.0-553.8.1.el8_10
  • 4.18.0-553.16.1.el8_10
  • 4.18.0-553.22.1.el8_10
  • 4.18.0-553.27.1.el8_10
  • 4.18.0-553.30.1.el8_10
  • 4.18.0-553.32.1.el8_10
  • 4.18.0-553.33.1.el8_10
  • 4.18.0-553.34.1.el8_10
  • 4.18.0-553.36.1.el8_10
  • 4.18.0-553.37.1.el8_10
  • 4.18.0-553.40.1.el8_10
  • 4.18.0-553.44.1.el8_10
  • 4.18.0-553.45.1.el8_10
  • 4.18.0-553.42.1.el8_10
  • 4.18.0-553.46.1.el8_10
  • 4.18.0-553.47.1.el8_10
  • 4.18.0-553.50.1.el8_10
  • 4.18.0-553.51.1.el8_10
  • 4.18.0-553.52.1.el8_10
  • 4.18.0-553.53.1.el8_10
  • 4.18.0-553.54.1.el8_10
  • 4.18.0-553.56.1.el8_10
  • 4.18.0-553.58.1.el8_10
  • 4.18.0-553.60.1.el8_10
  • 4.18.0-553.62.1.el8_10
  • 4.18.0-553.63.1.el8_10
  • 4.18.0-553.64.1.el8_10
  • 4.18.0-553.66.1.el8_10
  • 4.18.0-553.69.1.el8_10
  • 4.18.0-553.70.1.el8_10
  • 4.18.0-553.71.1.el8_10
  • 4.18.0-553.72.1.el8_10
  • 4.18.0-553.74.1.el8_10
  • 4.18.0-553.74.1.0.1.el8_10
  • 4.18.0-553.75.1.el8_10
  • 4.18.0-553.76.1.el8_10
  • 4.18.0-553.77.1.el8_10
  • 4.18.0-553.78.1.el8_10
  • 4.18.0-553.79.1.el8_10
  • 4.18.0-553.80.1.el8_10
  • 4.18.0-553.81.1.el8_10
  • 4.18.0-553.82.1.el8_10
  • 4.18.0-553.83.1.el8_10
  • 4.18.0-553.84.1.el8_10
  • 4.18.0-553.85.1.el8_10
  • 4.18.0-553.87.1.el8_10
  • 4.18.0-553.89.1.el8_10
  • 4.18.0-553.92.1.el8_10
  • 4.18.0-553.94.1.el8_10
  • 4.18.0-553.97.1.el8_10
  • 4.18.0-553.100.1.el8_10
  • 4.18.0-553.104.1.el8_10
RHEL 8 Released
53 kernels
  • 4.18.0-553.el8_10
  • 4.18.0-553.5.1.el8_10
  • 4.18.0-553.8.1.el8_10
  • 4.18.0-553.16.1.el8_10
  • 4.18.0-553.22.1.el8_10
  • 4.18.0-553.27.1.el8_10
  • 4.18.0-553.30.1.el8_10
  • 4.18.0-553.32.1.el8_10
  • 4.18.0-553.33.1.el8_10
  • 4.18.0-553.34.1.el8_10
  • 4.18.0-553.36.1.el8_10
  • 4.18.0-553.37.1.el8_10
  • 4.18.0-553.40.1.el8_10
  • 4.18.0-553.42.1.el8_10
  • 4.18.0-553.44.1.el8_10
  • 4.18.0-553.45.1.el8_10
  • 4.18.0-553.46.1.el8_10
  • 4.18.0-553.47.1.el8_10
  • 4.18.0-553.50.1.el8_10
  • 4.18.0-553.51.1.el8_10
  • 4.18.0-553.52.1.el8_10
  • 4.18.0-553.53.1.el8_10
  • 4.18.0-553.54.1.el8_10
  • 4.18.0-553.56.1.el8_10
  • 4.18.0-553.58.1.el8_10
  • 4.18.0-553.60.1.el8_10
  • 4.18.0-553.62.1.el8_10
  • 4.18.0-553.63.1.el8_10
  • 4.18.0-553.64.1.el8_10
  • 4.18.0-553.66.1.el8_10
  • 4.18.0-553.69.1.el8_10
  • 4.18.0-553.70.1.el8_10
  • 4.18.0-553.71.1.el8_10
  • 4.18.0-553.72.1.el8_10
  • 4.18.0-553.74.1.el8_10
  • 4.18.0-553.75.1.el8_10
  • 4.18.0-553.76.1.el8_10
  • 4.18.0-553.77.1.el8_10
  • 4.18.0-553.78.1.el8_10
  • 4.18.0-553.79.1.el8_10
  • 4.18.0-553.80.1.el8_10
  • 4.18.0-553.81.1.el8_10
  • 4.18.0-553.82.1.el8_10
  • 4.18.0-553.83.1.el8_10
  • 4.18.0-553.84.1.el8_10
  • 4.18.0-553.85.1.el8_10
  • 4.18.0-553.87.1.el8_10
  • 4.18.0-553.89.1.el8_10
  • 4.18.0-553.92.1.el8_10
  • 4.18.0-553.94.1.el8_10
  • 4.18.0-553.97.1.el8_10
  • 4.18.0-553.100.1.el8_10
  • 4.18.0-553.104.1.el8_10
RHEL 9 Will Not Fix
Rocky Linux 8 Released
45 kernels
  • 4.18.0-553.el8_10
  • 4.18.0-553.5.1.el8_10
  • 4.18.0-553.8.1.el8_10
  • 4.18.0-553.16.1.el8_10
  • 4.18.0-553.22.1.el8_10
  • 4.18.0-553.27.1.el8_10
  • 4.18.0-553.30.1.el8_10
  • 4.18.0-553.32.1.el8_10
  • 4.18.0-553.34.1.el8_10
  • 4.18.0-553.33.1.el8_10
  • 4.18.0-553.37.1.el8_10
  • 4.18.0-553.40.1.el8_10
  • 4.18.0-553.36.1.el8_10
  • 4.18.0-553.44.1.el8_10
  • 4.18.0-553.45.1.el8_10
  • 4.18.0-553.46.1.el8_10
  • 4.18.0-553.42.1.el8_10
  • 4.18.0-553.50.1.el8_10
  • 4.18.0-553.47.1.el8_10
  • 4.18.0-553.51.1.el8_10
  • 4.18.0-553.53.1.el8_10
  • 4.18.0-553.54.1.el8_10
  • 4.18.0-553.56.1.el8_10
  • 4.18.0-553.58.1.el8_10
  • 4.18.0-553.62.1.el8_10
  • 4.18.0-553.63.1.el8_10
  • 4.18.0-553.64.1.el8_10
  • 4.18.0-553.66.1.el8_10
  • 4.18.0-553.69.1.el8_10
  • 4.18.0-553.72.1.el8_10
  • 4.18.0-553.74.1.el8_10
  • 4.18.0-553.76.1.el8_10
  • 4.18.0-553.77.1.el8_10
  • 4.18.0-553.79.1.el8_10
  • 4.18.0-553.80.1.el8_10
  • 4.18.0-553.81.1.el8_10
  • 4.18.0-553.83.1.el8_10
  • 4.18.0-553.85.1.el8_10
  • 4.18.0-553.87.1.el8_10
  • 4.18.0-553.89.1.el8_10
  • 4.18.0-553.92.1.el8_10
  • 4.18.0-553.94.1.el8_10
  • 4.18.0-553.97.1.el8_10
  • 4.18.0-553.100.1.el8_10
  • 4.18.0-553.104.1.el8_10