From: syzbot <syzbot+a81f2759d022496b40ab@syzkaller.appspotmail.com>
To: linux-kernel@vger.kernel.org
Subject: Forwarded: Test for a81f2759d022496b40ab
Date: Wed, 20 Aug 2025 09:45:23 -0700 [thread overview]
Message-ID: <68a5fba3.050a0220.3d78fd.0007.GAE@google.com> (raw)
In-Reply-To: <0000000000004a86bf0616571fc7@google.com>
For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org.
***
Subject: Test for a81f2759d022496b40ab
Author: syoshida@redhat.com
#syz test
diff --git a/net/hsr/hsr_slave.c b/net/hsr/hsr_slave.c
index b87b6a6fe070..979fe4084f86 100644
--- a/net/hsr/hsr_slave.c
+++ b/net/hsr/hsr_slave.c
@@ -63,8 +63,12 @@ static rx_handler_result_t hsr_handle_frame(struct sk_buff **pskb)
skb_push(skb, ETH_HLEN);
skb_reset_mac_header(skb);
if ((!hsr->prot_version && protocol == htons(ETH_P_PRP)) ||
- protocol == htons(ETH_P_HSR))
+ protocol == htons(ETH_P_HSR)) {
+ if (skb->len < ETH_HLEN + HSR_HLEN)
+ goto finish_pass;
+
skb_set_network_header(skb, ETH_HLEN + HSR_HLEN);
+ }
skb_reset_mac_len(skb);
/* Only the frames received over the interlink port will assign a
prev parent reply other threads:[~2025-08-20 16:45 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-18 4:08 [syzbot] [net?] KMSAN: uninit-value in hsr_get_node (3) syzbot
2024-04-18 8:40 ` Jeongjun Park
2024-04-18 17:39 ` syzbot
2024-04-19 13:03 ` Jeongjun Park
2024-04-19 15:12 ` syzbot
2024-04-19 15:51 ` Jeongjun Park
2024-04-19 16:45 ` syzbot
2024-07-17 14:51 ` Jeongjun Park
2024-07-17 16:36 ` syzbot
2024-07-18 12:04 ` Jeongjun Park
2024-07-18 12:29 ` syzbot
2024-07-18 12:34 ` Jeongjun Park
2024-07-18 13:04 ` syzbot
2024-07-18 23:24 ` Jeongjun Park
2024-07-19 3:07 ` syzbot
2024-07-19 16:22 ` Jeongjun Park
2024-07-20 0:38 ` syzbot
2024-07-20 8:18 ` [syzbot] " syzbot
2024-07-20 8:30 ` syzbot
2024-07-20 10:53 ` syzbot
2025-08-20 16:45 ` syzbot [this message]
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=68a5fba3.050a0220.3d78fd.0007.GAE@google.com \
--to=syzbot+a81f2759d022496b40ab@syzkaller.appspotmail.com \
--cc=linux-kernel@vger.kernel.org \
/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
Powered by JetHome