[<prev] [next>] [day] [month] [year] [list]
Message-ID: <0000000000007a250c061b945025@google.com>
Date: Sun, 23 Jun 2024 13:14:39 -0700
From: syzbot <syzbot+3da70a0abd7f5765b6ea@...kaller.appspotmail.com>
To: jain.abhinav177@...il.com
Cc: jain.abhinav177@...il.com, syzkaller-bugs@...glegroups.com,
linux-kernel@...r.kernel.org
Subject: Re: KMSAN: uninit-value in nci_rx_work
> #syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
want either no args or 2 args (repo, branch), got 1
> 614da38e2f7a
>
> --- 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 */
> --diff --git a/net/nfc/nci/core.c b/net/nfc/nci/core.c
> index b133dc55304c..507b92e4978c 100644
> --- 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 */
> --
Powered by blists - more mailing lists