Re: KMSAN: uninit-value in nci_rx_work
From: syzbot
Date: Sun Jun 23 2024 - 16:25:51 EST
> #syz
unknown command "testhttps://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git"
> testhttps://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git614da38e2f7a>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 */
> --