Re: [syzbot] KMSAN: uninit-value in nci_rx_work

From: syzbot
Date: Sun Jun 23 2024 - 17:19:52 EST


For archival purposes, forwarding an incoming command email to
linux-kernel@xxxxxxxxxxxxxxx.

***

Subject: KMSAN: uninit-value in nci_rx_work
Author: jain.abhinav177@xxxxxxxxx

#syz test

--- a/net/nfc/nci/core.c
+++ b/net/nfc/nci/core.c
@@ -1510,6 +1510,8 @@ static void nci_rx_work(struct work_struct *work)
struct sk_buff *skb;

for (; (skb = skb_dequeue(&ndev->rx_q)); kcov_remote_stop()) {
+ if (!skb)
+ return;
kcov_remote_start_common(skb_get_kcov_handle(skb));

/* Send copy to sniffer */
--