syzbot


WARNING in hsr_forward_skb

Status: upstream: reported C repro on 2019/04/10 20:50
Reported-by: syzbot+fed9e12307896dd86f23@syzkaller.appspotmail.com
First crash: 1222d, last: 13d
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in hsr_forward_skb C done done 1310 492d 1320d 22/23 fixed on 2021/11/10 00:50
linux-4.14 WARNING in hsr_forward_skb C 212 25d 1159d 0/1 upstream: reported C repro on 2019/06/12 08:24

Sample crash report:
device macvlan35 entered promiscuous mode
bridge0: port 36(macvlan35) entered blocking state
bridge0: port 36(macvlan35) entered forwarding state
------------[ cut here ]------------
HSR: VLAN not yet supported
WARNING: CPU: 1 PID: 18 at net/hsr/hsr_forward.c:336 hsr_fill_frame_info net/hsr/hsr_forward.c:336 [inline]
WARNING: CPU: 1 PID: 18 at net/hsr/hsr_forward.c:336 hsr_forward_skb+0x177e/0x1c30 net/hsr/hsr_forward.c:370
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 18 Comm: ksoftirqd/1 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
 panic+0x26a/0x50e kernel/panic.c:186
 __warn.cold+0x20/0x5a kernel/panic.c:541
 report_bug+0x262/0x2b0 lib/bug.c:183
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:hsr_fill_frame_info net/hsr/hsr_forward.c:336 [inline]
RIP: 0010:hsr_forward_skb+0x177e/0x1c30 net/hsr/hsr_forward.c:370
Code: 4c 89 ea 48 8b 7c 24 28 e8 df 5a ff ff e9 c7 f5 ff ff e8 55 3f 77 f9 48 c7 c7 20 e3 70 89 c6 05 a6 67 23 03 01 e8 27 77 07 00 <0f> 0b 48 ba 00 00 00 00 00 fc ff df 4c 89 f0 48 c1 e8 03 0f b6 0c
RSP: 0018:ffff8880b5acefc0 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000100 RSI: ffffffff814dff01 RDI: ffffed1016b59dea
RBP: ffff8880973db5c0 R08: 0000000000000000 R09: 000000000000080b
R10: 0000000000000006 R11: 0000000000000000 R12: ffff8880973db686
R13: ffff8880b2f32080 R14: ffff88808f2b068a R15: ffff88808f2b067e
 hsr_dev_xmit+0x6b/0xa0 net/hsr/hsr_device.c:242
 __netdev_start_xmit include/linux/netdevice.h:4349 [inline]
 netdev_start_xmit include/linux/netdevice.h:4363 [inline]
 xmit_one net/core/dev.c:3256 [inline]
 dev_hard_start_xmit+0x1a8/0x920 net/core/dev.c:3272
 __dev_queue_xmit+0x269d/0x2e00 net/core/dev.c:3838
 macvlan_queue_xmit drivers/net/macvlan.c:545 [inline]
 macvlan_start_xmit+0x19a/0x7e0 drivers/net/macvlan.c:570
 __netdev_start_xmit include/linux/netdevice.h:4349 [inline]
 netdev_start_xmit include/linux/netdevice.h:4363 [inline]
 xmit_one net/core/dev.c:3256 [inline]
 dev_hard_start_xmit+0x1a8/0x920 net/core/dev.c:3272
 __dev_queue_xmit+0x269d/0x2e00 net/core/dev.c:3838
 br_dev_queue_push_xmit+0x25a/0x6c0 net/bridge/br_forward.c:56
 NF_HOOK include/linux/netfilter.h:289 [inline]
 br_forward_finish+0xb5/0x3d0 net/bridge/br_forward.c:69
 NF_HOOK include/linux/netfilter.h:289 [inline]
 __br_forward+0x5ff/0xae0 net/bridge/br_forward.c:113
 deliver_clone net/bridge/br_forward.c:129 [inline]
 maybe_deliver+0x292/0x380 net/bridge/br_forward.c:184
 br_flood+0x158/0x4d0 net/bridge/br_forward.c:226
 br_handle_frame_finish+0xf41/0x1410 net/bridge/br_input.c:167
 NF_HOOK include/linux/netfilter.h:289 [inline]
 br_handle_frame+0x814/0x13b0 net/bridge/br_input.c:306
 __netif_receive_skb_core+0x929/0x3270 net/core/dev.c:4876
 __netif_receive_skb_one_core+0xae/0x180 net/core/dev.c:4952
 __netif_receive_skb+0x27/0x1c0 net/core/dev.c:5066
 process_backlog+0x241/0x700 net/core/dev.c:5849
 napi_poll net/core/dev.c:6280 [inline]
 net_rx_action+0x4ac/0xfb0 net/core/dev.c:6346
 __do_softirq+0x265/0x980 kernel/softirq.c:292
 run_ksoftirqd+0x57/0x110 kernel/softirq.c:653
 smpboot_thread_fn+0x655/0x9e0 kernel/smpboot.c:164
 kthread+0x33f/0x460 kernel/kthread.c:259
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (270):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-19 2022/07/03 04:03 linux-4.19.y 3f8a27f9e27b 1434eec0 .config log report syz C WARNING in hsr_forward_skb
ci2-linux-4-19 2022/05/12 08:36 linux-4.19.y 3f8a27f9e27b beb0b407 .config log report syz C WARNING in hsr_forward_skb
ci2-linux-4-19 2021/12/31 18:22 linux-4.19.y 3f8a27f9e27b 36bd2e48 .config log report syz C WARNING in hsr_forward_skb
ci2-linux-4-19 2021/02/23 19:41 linux-4.19.y 2d19be4653f5 fcc6d71b .config log report syz C WARNING in hsr_forward_skb
ci2-linux-4-19 2020/09/30 01:25 linux-4.19.y 10ad6cfd5736 5abc3f1a .config log report syz C
ci2-linux-4-19 2019/12/19 18:15 linux-4.19.y 7d120bf21c05 36650b4b .config log report syz C
ci2-linux-4-19 2019/04/10 20:28 linux-4.19.y 4d552acf3370 65b612b7 .config log report syz C
ci2-linux-4-19 2020/08/13 20:01 linux-4.19.y c14d30dc9987 ee7cb8b6 .config log report syz
ci2-linux-4-19 2022/08/02 02:54 linux-4.19.y 3f8a27f9e27b fef302b1 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/07/21 01:52 linux-4.19.y 3f8a27f9e27b 88cb1383 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/07/20 12:46 linux-4.19.y 3f8a27f9e27b 775344bc .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/07/18 20:47 linux-4.19.y 3f8a27f9e27b ff988920 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/07/13 01:46 linux-4.19.y 3f8a27f9e27b d91dd8ea .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/07/05 18:04 linux-4.19.y 3f8a27f9e27b bff65f44 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/07/04 19:47 linux-4.19.y 3f8a27f9e27b bff65f44 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/07/03 12:59 linux-4.19.y 3f8a27f9e27b 1434eec0 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/07/03 12:59 linux-4.19.y 3f8a27f9e27b 1434eec0 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/06/25 13:38 linux-4.19.y 3f8a27f9e27b a371c43c .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/06/24 06:10 linux-4.19.y 3f8a27f9e27b 912f5df7 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/06/23 05:31 linux-4.19.y 3f8a27f9e27b 912f5df7 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/06/13 19:38 linux-4.19.y 3f8a27f9e27b 0f087040 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/05/30 19:05 linux-4.19.y 3f8a27f9e27b af70c3a9 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/05/24 07:36 linux-4.19.y 3f8a27f9e27b e7f9308d .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/05/12 08:21 linux-4.19.y 3f8a27f9e27b beb0b407 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/05/09 11:53 linux-4.19.y 3f8a27f9e27b 8b277b8e .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/05/02 08:22 linux-4.19.y 3f8a27f9e27b 2df221f6 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/04/25 13:06 linux-4.19.y 3f8a27f9e27b 131df97d .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/04/17 05:39 linux-4.19.y 3f8a27f9e27b 8bcc32a6 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/04/14 06:55 linux-4.19.y 3f8a27f9e27b b17b2923 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/04/13 01:40 linux-4.19.y 3f8a27f9e27b dacb3f1c .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/04/11 10:02 linux-4.19.y 3f8a27f9e27b e22c3da3 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/04/06 05:26 linux-4.19.y 3f8a27f9e27b 0127c10f .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/04/01 19:11 linux-4.19.y 3f8a27f9e27b 79a2a8fc .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/03/29 11:51 linux-4.19.y 3f8a27f9e27b 6bdac766 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/03/26 11:55 linux-4.19.y 3f8a27f9e27b 89bc8608 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/03/21 21:02 linux-4.19.y 3f8a27f9e27b e2d91b1d .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/03/19 11:47 linux-4.19.y 3f8a27f9e27b e2d91b1d .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/03/19 05:34 linux-4.19.y 3f8a27f9e27b e2d91b1d .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/03/18 14:27 linux-4.19.y 3f8a27f9e27b e2d91b1d .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/03/16 08:45 linux-4.19.y 3f8a27f9e27b 9e8eaa75 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/03/15 10:31 linux-4.19.y 3f8a27f9e27b 9e8eaa75 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/03/10 06:21 linux-4.19.y 3f8a27f9e27b 9e8eaa75 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/03/07 12:22 linux-4.19.y 3f8a27f9e27b 7bdd8b2c .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/03/06 21:26 linux-4.19.y 3f8a27f9e27b 7bdd8b2c .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/03/06 13:54 linux-4.19.y 3f8a27f9e27b 7bdd8b2c .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/03/03 14:52 linux-4.19.y 3f8a27f9e27b 45a13a73 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/03/01 04:21 linux-4.19.y 3f8a27f9e27b 45a13a73 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/02/23 19:09 linux-4.19.y 3f8a27f9e27b 6e821dbf .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/02/22 13:10 linux-4.19.y 3f8a27f9e27b 6e821dbf .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/02/22 05:03 linux-4.19.y 3f8a27f9e27b 6e821dbf .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/02/21 14:45 linux-4.19.y 3f8a27f9e27b 3cd800e4 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/02/19 18:14 linux-4.19.y 3f8a27f9e27b 3cd800e4 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/02/17 21:31 linux-4.19.y 3f8a27f9e27b 3cd800e4 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/02/17 13:04 linux-4.19.y 3f8a27f9e27b 2bea8a27 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/02/09 13:06 linux-4.19.y 3f8a27f9e27b 0b33604d .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/02/08 02:23 linux-4.19.y 3f8a27f9e27b a7dab638 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2022/02/07 03:18 linux-4.19.y 3f8a27f9e27b a7dab638 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-19 2021/01/11 21:10 linux-4.19.y 610bdbf6a174 2c1f2513 .config log report info