Re: [syzbot] Re: [syzbot] [bluetooth?] general protection fault in bcsp_recv
From: syzbot
Date: Sun Jun 29 2025 - 23:04:05 EST
For archival purposes, forwarding an incoming command email to
linux-kernel@xxxxxxxxxxxxxxx.
***
Subject: Re: [syzbot] [bluetooth?] general protection fault in bcsp_recv
Author: ipravdin.official@xxxxxxxxx
#syz test
diff --git a/drivers/bluetooth/hci_bcsp.c b/drivers/bluetooth/hci_bcsp.c
index 610d0e3c36d4..de9a6ed3a8aa 100644
--- a/drivers/bluetooth/hci_bcsp.c
+++ b/drivers/bluetooth/hci_bcsp.c
@@ -739,8 +739,6 @@ static int bcsp_close(struct hci_uart *hu)
timer_shutdown_sync(&bcsp->tbcsp);
- hu->priv = NULL;
-
BT_DBG("hu %p", hu);
skb_queue_purge(&bcsp->unack);
@@ -753,6 +751,8 @@ static int bcsp_close(struct hci_uart *hu)
}
kfree(bcsp);
+ hu->priv = NULL;
+
return 0;
}
Ivan Pravdin