syzbot


WARNING in hsr_forward_skb

Status: upstream: reported C repro on 2019/06/12 08:24
Reported-by: syzbot+194a3141c56ae993aa31@syzkaller.appspotmail.com
First crash: 1162d, last: 1d03h
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 495d 1323d 22/23 fixed on 2021/11/10 00:50
linux-4.19 WARNING in hsr_forward_skb C 273 16h25m 1224d 0/1 upstream: reported C repro on 2019/04/10 20:50

Sample crash report:
batman_adv: batadv0: Interface activated: batadv_slave_1
IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready
IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready
HSR: VLAN not yet supported
------------[ cut here ]------------
WARNING: CPU: 1 PID: 7969 at net/hsr/hsr_forward.c:336 hsr_fill_frame_info net/hsr/hsr_forward.c:336 [inline]
WARNING: CPU: 1 PID: 7969 at net/hsr/hsr_forward.c:336 hsr_forward_skb.cold+0x18/0xef net/hsr/hsr_forward.c:370
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 7969 Comm: syz-executor229 Not tainted 4.14.277-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 panic+0x1f9/0x42d kernel/panic.c:183
 __warn.cold+0x20/0x44 kernel/panic.c:547
 report_bug+0x208/0x250 lib/bug.c:183
 fixup_bug arch/x86/kernel/traps.c:177 [inline]
 fixup_bug arch/x86/kernel/traps.c:172 [inline]
 do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964
RIP: 0010:hsr_fill_frame_info net/hsr/hsr_forward.c:336 [inline]
RIP: 0010:hsr_forward_skb.cold+0x18/0xef net/hsr/hsr_forward.c:370
RSP: 0018:ffff88808bfd7710 EFLAGS: 00010286
RAX: 000000000000001b RBX: ffff8880a91c3502 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffff888097324cc8 RDI: ffffed10117faed8
RBP: ffff88809bd01340 R08: 000000000000001b R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88809bd01406
R13: ffff88809ae1fe00 R14: ffff8880a91c350e R15: ffff88809bd01410
 hsr_dev_xmit+0x6b/0xa0 net/hsr/hsr_device.c:242
 __netdev_start_xmit include/linux/netdevice.h:4054 [inline]
 netdev_start_xmit include/linux/netdevice.h:4063 [inline]
 xmit_one net/core/dev.c:3005 [inline]
 dev_hard_start_xmit+0x188/0x890 net/core/dev.c:3021
 __dev_queue_xmit+0x1d7f/0x2480 net/core/dev.c:3521
 packet_snd+0x13aa/0x26f0 net/packet/af_packet.c:3032
 packet_sendmsg+0x12ed/0x33a0 net/packet/af_packet.c:3061
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg+0xb5/0x100 net/socket.c:656
 SYSC_sendto net/socket.c:1763 [inline]
 SyS_sendto+0x1c7/0x2c0 net/socket.c:1731
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7fed3724f399
RSP: 002b:00007ffd3eba28d8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007ffd3eba28f8 RCX: 00007fed3724f399
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 0000000000000003 R08: 00000000200001c0 R09: 0000000000000014
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd3eba2900
R13: 00007ffd3eba2920 R14: 0000000000000000 R15: 0000000000000000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Fix bisection attempts:
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-14 2021/11/29 10:31 linux-4.14.y 66722c42ec91 3e5ed8b4 .config log report syz C
ci2-linux-4-14 2021/10/30 10:09 linux-4.14.y cd5296934610 3e5ed8b4 .config log report syz C
ci2-linux-4-14 2021/09/28 23:43 linux-4.14.y f11944f1aa1c 3e5ed8b4 .config log report syz C
ci2-linux-4-14 2021/08/29 23:14 linux-4.14.y 35c4ba160ab6 3e5ed8b4 .config log report syz C
ci2-linux-4-14 2021/07/30 22:49 linux-4.14.y ce4d1565392b 3e5ed8b4 .config log report syz C
ci2-linux-4-14 2021/06/30 22:23 linux-4.14.y 313e82bbefb3 3e5ed8b4 .config log report syz C
ci2-linux-4-14 2021/05/31 20:27 linux-4.14.y ad8397a84e1e 3e5ed8b4 .config log report syz C
ci2-linux-4-14 2020/08/17 01:56 linux-4.14.y 14b58326976d 36650b4b .config log report syz C
ci2-linux-4-14 2020/05/02 01:39 linux-4.14.y 050272a0423e 36650b4b .config log report syz C
Crashes (213):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-14 2022/05/12 09:18 linux-4.14.y e3a56aaade89 beb0b407 .config log report syz C WARNING in hsr_forward_skb
ci2-linux-4-14 2022/02/04 08:05 linux-4.14.y b86ee2b7ae42 30646bfe .config log report syz C WARNING in hsr_forward_skb
ci2-linux-4-14 2021/02/20 21:31 linux-4.14.y 29c52025152b 3e5ed8b4 .config log report syz C WARNING in hsr_forward_skb
ci2-linux-4-14 2020/09/21 23:19 linux-4.14.y cbfa1702aaf6 9e1fa68e .config log report syz C
ci2-linux-4-14 2019/12/19 18:12 linux-4.14.y bfb9e5c03076 36650b4b .config log report syz C
ci2-linux-4-14 2019/06/12 07:57 linux-4.14.y 2bf3258a12af ea2f4006 .config log report syz C
ci2-linux-4-14 2022/08/16 16:40 linux-4.14.y b641242202ed 7a7cb304 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2022/07/20 12:52 linux-4.14.y 424a46ea058e 775344bc .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2022/07/18 20:57 linux-4.14.y 424a46ea058e ff988920 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2022/07/07 01:45 linux-4.14.y ed2e96e11936 bff65f44 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2022/07/03 13:01 linux-4.14.y ed2e96e11936 1434eec0 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2022/06/25 16:06 linux-4.14.y f051383ef03b a371c43c .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2022/06/14 00:39 linux-4.14.y b8f3be299d51 0f087040 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2022/05/30 20:30 linux-4.14.y 501eec4f9e13 af70c3a9 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2022/05/09 14:57 linux-4.14.y e3a56aaade89 8b277b8e .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2022/04/25 13:13 linux-4.14.y 15a1c6b6f516 131df97d .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2022/04/14 06:58 linux-4.14.y 74766a973637 b17b2923 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2022/04/13 01:46 linux-4.14.y 74766a973637 dacb3f1c .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2022/04/11 10:06 linux-4.14.y 74766a973637 e22c3da3 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2022/04/06 05:22 linux-4.14.y 74766a973637 0127c10f .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2022/03/26 12:02 linux-4.14.y 004bfaafc45c 89bc8608 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2022/03/21 21:02 linux-4.14.y eb045674aab3 e2d91b1d .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2022/03/19 05:41 linux-4.14.y eb045674aab3 e2d91b1d .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2022/03/16 10:00 linux-4.14.y af48f51cb593 9e8eaa75 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2022/03/16 08:58 linux-4.14.y af48f51cb593 9e8eaa75 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2022/03/15 10:38 linux-4.14.y af48f51cb593 9e8eaa75 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2022/03/10 06:20 linux-4.14.y c9fcc1545c3b 9e8eaa75 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2022/03/09 00:53 linux-4.14.y c9fcc1545c3b 9e8eaa75 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2022/03/07 03:54 linux-4.14.y e853993d29aa 7bdd8b2c .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2022/03/03 14:57 linux-4.14.y e853993d29aa 45a13a73 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2022/03/01 04:21 linux-4.14.y fa33f9094f36 45a13a73 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2022/02/22 13:16 linux-4.14.y a35d65bedfbc 6e821dbf .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2022/02/21 14:49 linux-4.14.y a35d65bedfbc 3cd800e4 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2022/02/20 01:03 linux-4.14.y a35d65bedfbc 3cd800e4 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2022/02/19 18:13 linux-4.14.y a35d65bedfbc 3cd800e4 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2022/02/19 11:34 linux-4.14.y a35d65bedfbc 3cd800e4 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2022/02/17 13:10 linux-4.14.y a35d65bedfbc 2bea8a27 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2022/02/09 13:12 linux-4.14.y 21ad423fe521 0b33604d .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2022/02/07 02:45 linux-4.14.y b86ee2b7ae42 a7dab638 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2022/01/23 20:50 linux-4.14.y 4ba8e26127c3 214351e1 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2022/01/23 18:06 linux-4.14.y 4ba8e26127c3 214351e1 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2022/01/09 00:02 linux-4.14.y bfdef05c8da4 2ca0d385 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2022/01/01 02:06 linux-4.14.y a6ca7c65b137 36bd2e48 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2021/12/30 09:14 linux-4.14.y a6ca7c65b137 6cc879d4 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2021/12/11 20:42 linux-4.14.y c01d4d1b885d 49ca1f59 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2021/12/07 20:14 linux-4.14.y 66722c42ec91 0230ba3e .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2021/12/05 08:24 linux-4.14.y 66722c42ec91 a617004c .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2021/05/01 20:01 linux-4.14.y 7d7d1c0ab3eb 77e2b668 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2021/04/21 19:25 linux-4.14.y cf256fbcbe34 95777977 .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2021/04/14 06:06 linux-4.14.y 958e517f4e16 a184b83e .config log report info WARNING in hsr_forward_skb
ci2-linux-4-14 2021/01/14 08:43 linux-4.14.y f79dc86058bc 269d24e8 .config log report info