Re: [syzbot] [bluetooth?] KMSAN: uninit-value in hci_rx_work

From: Edward Adam Davis
Date: Tue Oct 08 2024 - 00:06:52 EST


bt device is closed ?

#syz test

diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c
index d6976db02c06..c55f0ca33b90 100644
--- a/net/bluetooth/hci_core.c
+++ b/net/bluetooth/hci_core.c
@@ -3791,7 +3791,7 @@ static void hci_acldata_packet(struct hci_dev *hdev, struct sk_buff *skb)
l2cap_recv_acldata(conn, skb, flags);
return;
} else {
- bt_dev_err(hdev, "ACL packet for unknown connection handle %d",
+ BT_ERR("ACL packet for unknown connection handle %d",
handle);
}