[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <000000000000c2fd68061843519d@google.com>
Date: Sun, 12 May 2024 08:21:13 -0700
From: syzbot <syzbot+5681e40d297b30f5b513@...kaller.appspotmail.com>
To: linux-kernel@...r.kernel.org
Subject: Re: [syzbot] Test for 5681e40d297b30f5b513
For archival purposes, forwarding an incoming command email to
linux-kernel@...r.kernel.org.
***
Subject: Test for 5681e40d297b30f5b513
Author: syoshida@...hat.com
#syz test
diff --git a/net/can/j1939/main.c b/net/can/j1939/main.c
index a6fb89fa6278..df01628c6509 100644
--- a/net/can/j1939/main.c
+++ b/net/can/j1939/main.c
@@ -344,6 +344,9 @@ int j1939_send_one(struct j1939_priv *priv, struct sk_buff *skb)
/* make it a full can frame again */
skb_put(skb, J1939_CAN_FTR + (8 - dlc));
+ /* initialize unused data */
+ memset(cf->data + dlc, 0, 8 - dlc);
+
canid = CAN_EFF_FLAG |
(skcb->priority << 26) |
(skcb->addr.pgn << 8) |
Powered by blists - more mailing lists