From: Edward Adam Davis <eadavis@qq.com>
To: syzbot+2ef3a8ce8e91b5a50098@syzkaller.appspotmail.com
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [net?] KMSAN: uninit-value in hsr_get_node (2)
Date: Mon, 15 Jan 2024 20:57:33 +0800 [thread overview]
Message-ID: <tencent_E8B0751D76BD66F43CDD363296D836844A09@qq.com> (raw)
In-Reply-To: <0000000000001663ea060ee476ea@google.com>
please test uninit-value in hsr_get_node
#syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 9f8413c4a66f
diff --git a/net/hsr/hsr_framereg.c b/net/hsr/hsr_framereg.c
index 6d14d935ee82..280dca33ec4f 100644
--- a/net/hsr/hsr_framereg.c
+++ b/net/hsr/hsr_framereg.c
@@ -209,6 +209,8 @@ struct hsr_node *hsr_get_node(struct hsr_port *port, struct list_head *node_db,
return NULL;
ethhdr = (struct ethhdr *)skb_mac_header(skb);
+ if (!is_valid_ether_addr(ethhdr->h_source))
+ eth_zero_addr(ethhdr->h_source);
list_for_each_entry_rcu(node, node_db, mac_list) {
if (ether_addr_equal(node->macaddress_A, ethhdr->h_source)) {
next prev parent reply other threads:[~2024-01-15 12:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-14 9:24 syzbot
2024-01-15 12:57 ` Edward Adam Davis [this message]
2024-01-15 14:44 ` syzbot
2024-03-12 13:52 ` [syzbot] Test for 2ef3a8ce8e91b5a50098 syzbot
2024-03-12 14:33 ` syzbot
[not found] <20240312.225158.1066421875659457320.syoshida@redhat.com>
2024-03-12 14:30 ` [syzbot] [net?] KMSAN: uninit-value in hsr_get_node (2) syzbot
[not found] <20240312.233252.1252431549899302393.syoshida@redhat.com>
2024-03-12 15:18 ` syzbot
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_E8B0751D76BD66F43CDD363296D836844A09@qq.com \
--to=eadavis@qq.com \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+2ef3a8ce8e91b5a50098@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®