syzbot


WARNING in hsr_dev_xmit

Status: auto-obsoleted due to no activity on 2022/12/22 16:29
Reported-by: syzbot+7f9bcd4eb3dfca3a3851@syzkaller.appspotmail.com
First crash: 885d, last: 821d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING in hsr_dev_xmit 1 1371d 1371d 0/1 auto-closed as invalid on 2021/06/20 21:19

Sample crash report:
 should_failslab+0x5/0x10 mm/slab_common.c:1590
 slab_pre_alloc_hook mm/slab.h:424 [inline]
 slab_alloc mm/slab.c:3383 [inline]
 kmem_cache_alloc+0x277/0x370 mm/slab.c:3557
 __d_alloc+0x2b/0xa10 fs/dcache.c:1612
------------[ cut here ]------------
HSR: VLAN not yet supported
WARNING: CPU: 1 PID: 1966 at net/hsr/hsr_forward.c:336 hsr_fill_frame_info net/hsr/hsr_forward.c:336 [inline]
WARNING: CPU: 1 PID: 1966 at net/hsr/hsr_forward.c:336 hsr_forward_skb+0x177e/0x1c30 net/hsr/hsr_forward.c:370
 d_alloc_pseudo+0x19/0x70 fs/dcache.c:1743
Kernel panic - not syncing: panic_on_warn set ...

 alloc_file_pseudo+0xc6/0x250 fs/file_table.c:224
 sock_alloc_file+0x48/0x180 net/socket.c:406
 sock_map_fd net/socket.c:429 [inline]
 __sys_socket+0x13d/0x200 net/socket.c:1462
 __do_sys_socket net/socket.c:1467 [inline]
 __se_sys_socket net/socket.c:1465 [inline]
 __x64_sys_socket+0x6f/0xb0 net/socket.c:1465
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f26408ed279
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f263f262168 EFLAGS: 00000246 ORIG_RAX: 0000000000000029
RAX: ffffffffffffffda RBX: 00007f26409fff80 RCX: 00007f26408ed279
RDX: 0000000000000073 RSI: 0000000000000002 RDI: 0000000000000002
RBP: 00007f263f2621d0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007fff3a1a512f R14: 00007f263f262300 R15: 0000000000022000
CPU: 1 PID: 1966 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/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:ffff888095036ea8 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 00000000000215fb RSI: ffffffff814dff01 RDI: ffffed1012a06dc7
RBP: ffff8880999ec800 R08: 0000000000000000 R09: 0000000000007b6e
R10: 0000000000000006 R11: 0000000000000000 R12: ffff8880999ec8c6
R13: ffff88809e15a580 R14: ffff8880b47d724c R15: ffff8880b47d7240
 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
 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+0x6c7/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
 netif_receive_skb_internal+0xf0/0x3f0 net/core/dev.c:5156
 tun_rx_batched.isra.0+0x472/0x740 drivers/net/tun.c:1543
 tun_get_user+0x2ee5/0x5100 drivers/net/tun.c:1974
 tun_chr_write_iter+0xdb/0x1d0 drivers/net/tun.c:2007
 call_write_iter include/linux/fs.h:1821 [inline]
 new_sync_write fs/read_write.c:474 [inline]
 __vfs_write+0x51b/0x770 fs/read_write.c:487
 vfs_write+0x1f3/0x540 fs/read_write.c:549
 ksys_write+0x12b/0x2a0 fs/read_write.c:599
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f4bd5c2bd8f
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 fd ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 cc fd ff ff 48
RSP: 002b:00007f4bd45ee130 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f4bd5d8bf80 RCX: 00007f4bd5c2bd8f
RDX: 00000000000000e1 RSI: 00000000200000c0 RDI: 00000000000000c8
RBP: 00007f4bd5cd3189 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000000000e1 R11: 0000000000000293 R12: 0000000000000000
R13: 00007ffe3b71440f R14: 00007f4bd45ee300 R15: 0000000000022000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/08/24 16:29 linux-4.19.y 3f8a27f9e27b 514514f6 .config console log report info ci2-linux-4-19 WARNING in hsr_dev_xmit
2022/06/21 18:18 linux-4.19.y 3f8a27f9e27b 0fc5c330 .config console log report info ci2-linux-4-19 WARNING in hsr_dev_xmit
* Struck through repros no longer work on HEAD.