Re: [syzbot] [bluetooth?] general protection fault in __timer_delete_sync
From: Hillf Danton
Date: Sat Feb 08 2025 - 06:59:21 EST
On Fri, 07 Feb 2025 12:16:20 -0800
> syzbot found the following issue on:
>
> HEAD commit: 808eb958781e Add linux-next specific files for 20250206
> git tree: linux-next
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1043a4a4580000
#syz test
--- x/drivers/bluetooth/hci_ldisc.c
+++ y/drivers/bluetooth/hci_ldisc.c
@@ -711,6 +711,7 @@ static int hci_uart_set_proto(struct hci
err = hci_uart_register_dev(hu);
if (err) {
+ clear_bit(HCI_UART_PROTO_READY, &hu->flags);
return err;
}
--