From: Edward Adam Davis <eadavis@qq.com>
To: syzbot+f770ce3566e60e5573ac@syzkaller.appspotmail.com
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [hams?] KMSAN: uninit-value in nr_route_frame
Date: Sun, 3 Mar 2024 19:52:48 +0800 [thread overview]
Message-ID: <tencent_FB46CF407B6A6CBC2C596F7C97BCE8EEEE0A@qq.com> (raw)
In-Reply-To: <000000000000b69bf20612bf586e@google.com>
please test uninit-value in nr_route_frame
#syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
diff --git a/net/core/skbuff.c b/net/core/skbuff.c
index edbbef563d4d..c8662be35000 100644
--- a/net/core/skbuff.c
+++ b/net/core/skbuff.c
@@ -656,6 +656,7 @@ struct sk_buff *__alloc_skb(unsigned int size, gfp_t gfp_mask,
* to allow max possible filling before reallocation.
*/
prefetchw(data + SKB_WITH_OVERHEAD(size));
+ memset(data, 0, sizeof(*data));
/*
* Only clear those fields we need to clear, not those that we will
next prev parent reply other threads:[~2024-03-03 11:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-09 18:20 syzbot
2024-03-03 10:48 ` syzbot
2024-03-03 11:52 ` Edward Adam Davis [this message]
2024-03-03 12:12 ` syzbot
2024-03-03 12:41 ` Edward Adam Davis
2024-03-03 13:15 ` syzbot
2024-03-03 13:23 ` [PATCH] skbuff: fix " Edward Adam Davis
2024-03-03 13:53 ` Eric Dumazet
2024-03-04 5:04 ` [PATCH] net/netrom: " Edward Adam Davis
2024-03-04 5:12 ` Eric Dumazet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tencent_FB46CF407B6A6CBC2C596F7C97BCE8EEEE0A@qq.com \
--to=eadavis@qq.com \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+f770ce3566e60e5573ac@syzkaller.appspotmail.com \
--cc=syzkaller-bugs@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®