[<prev] [next>] [day] [month] [year] [list]
Message-ID: <6935a981.a70a0220.38f243.0064.GAE@google.com>
Date: Sun, 07 Dec 2025 08:21:21 -0800
From: syzbot <syzbot+0e665e4b99cb925286a0@...kaller.appspotmail.com>
To: syedtayyabfarooq08@...il.com
Cc: netdev@...r.kernel.org, syedtayyabfarooq08@...il.com,
tayyabfarooq1997@...look.com, linux-kernel@...r.kernel.org,
syzkaller-bugs@...glegroups.com
Subject: Re: [PATCH] memset skb to zero to avoid uninit value error from KMSAN
> Signed-off-by: Syed Tayyab Farooq <tayyabfarooq1997@...look.com>
> ---
>
> Hi syzbot,
>
> Please test this patch.
>
> #syz test: https://syzkaller.appspot.com/bug?extid=0e665e4b99cb925286a0
This crash does not have a reproducer. I cannot test it.
>
> Thanks,
> Tayyab
>
>
> net/phonet/af_phonet.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/net/phonet/af_phonet.c b/net/phonet/af_phonet.c
> index a27efa4faa4e..9279decd680b 100644
> --- a/net/phonet/af_phonet.c
> +++ b/net/phonet/af_phonet.c
> @@ -208,6 +208,8 @@ static int pn_raw_send(const void *data, int len, struct net_device *dev,
> if (skb == NULL)
> return -ENOMEM;
>
> + memset(skb, 0, MAX_PHONET_HEADER + len);
> +
> if (phonet_address_lookup(dev_net(dev), pn_addr(dst)) == 0)
> skb->pkt_type = PACKET_LOOPBACK;
>
> --
> 2.43.0
>
Powered by blists - more mailing lists