[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <68ceddf5.050a0220.13cd81.001c.GAE@google.com>
Date: Sat, 20 Sep 2025 10:01:41 -0700
From: syzbot <syzbot+9a4fbb77c9d4aacd3388@...kaller.appspotmail.com>
To: linux-kernel@...r.kernel.org
Subject: Forwarded: [PATCH v2 net] net/core : fix KMSAN: uninit value in tipc_rcv
For archival purposes, forwarding an incoming command email to
linux-kernel@...r.kernel.org.
***
Subject: [PATCH v2 net] net/core : fix KMSAN: uninit value in tipc_rcv
Author: hariconscious@...il.com
From: HariKrishna Sagala <hariconscious@...il.com>
---
#syz test
diff --git a/net/tipc/node.c b/net/tipc/node.c
index a07fb073368c..f64f653e775a 100644
--- a/net/tipc/node.c
+++ b/net/tipc/node.c
@@ -2117,6 +2117,8 @@ void tipc_rcv(struct net *net, struct sk_buff *skb, struct tipc_bearer *b)
goto discard;
__skb_queue_head_init(&xmitq);
hdr = buf_msg(skb);
+ if(!hdr)
+ return -EINVAL;
usr = msg_user(hdr);
bc_ack = msg_bcast_ack(hdr);
Powered by blists - more mailing lists