Re: [syzbot] [bluetooth?] general protection fault in h4_recv
From: Edward Adam Davis
Date: Thu Apr 09 2026 - 07:22:38 EST
#syz test
diff --git a/drivers/bluetooth/hci_ldisc.c b/drivers/bluetooth/hci_ldisc.c
index 71c1997a0f73..80a5b9eee123 100644
--- a/drivers/bluetooth/hci_ldisc.c
+++ b/drivers/bluetooth/hci_ldisc.c
@@ -615,8 +615,7 @@ static void hci_uart_tty_receive(struct tty_struct *tty, const u8 *data,
percpu_down_read(&hu->proto_lock);
- if (!test_bit(HCI_UART_PROTO_READY, &hu->flags) &&
- !test_bit(HCI_UART_PROTO_INIT, &hu->flags)) {
+ if (!test_bit(HCI_UART_PROTO_READY, &hu->flags)) {
percpu_up_read(&hu->proto_lock);
return;
}