[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <000000000000f33668061dab9e7b@google.com>
Date: Sat, 20 Jul 2024 03:53:23 -0700
From: syzbot <syzbot+a81f2759d022496b40ab@...kaller.appspotmail.com>
To: linux-kernel@...r.kernel.org
Subject: Re: [syzbot] Re: [syzbot] [net?] KMSAN: uninit-value in hsr_get_node (3)
For archival purposes, forwarding an incoming command email to
linux-kernel@...r.kernel.org.
***
Subject: Re: [syzbot] [net?] KMSAN: uninit-value in hsr_get_node (3)
Author: aha310510@...il.com
#syz test git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
---
net/hsr/hsr_framereg.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/hsr/hsr_framereg.c b/net/hsr/hsr_framereg.c
index 73bc6f659812..ee388739f1f3 100644
--- a/net/hsr/hsr_framereg.c
+++ b/net/hsr/hsr_framereg.c
@@ -154,7 +154,7 @@ void prp_handle_san_frame(bool san, enum hsr_port_type port,
static struct hsr_node *hsr_add_node(struct hsr_priv *hsr,
struct list_head *node_db,
unsigned char addr[],
- u16 seq_out, bool san,
+ int seq_out, bool san,
enum hsr_port_type rx_port)
{
struct hsr_node *new_node, *node;
@@ -219,7 +219,7 @@ struct hsr_node *hsr_get_node(struct hsr_port *port, struct list_head *node_db,
struct ethhdr *ethhdr;
struct prp_rct *rct;
bool san = false;
- u16 seq_out;
+ int seq_out;
if (!skb_mac_header_was_set(skb))
return NULL;
--
Powered by blists - more mailing lists