syzbot


WARNING in hsr_fill_frame_info

Status: upstream: reported C repro on 2024/08/29 22:52
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+3d602af7549af539274e@syzkaller.appspotmail.com
Fix commit: 430d67bdcb04 net: hsr: Use the seqnr lock for frames received via interlink port.
Patched on: [ci-qemu-gce-upstream-auto ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm32 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-qemu2-riscv64 ci-snapshot-upstream-root ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-arm64 ci-upstream-gce-leak ci-upstream-kasan-badwrites-root ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-kmsan-gce-386-root ci-upstream-kmsan-gce-root ci-upstream-linux-next-kasan-gce-root ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-fs ci2-upstream-kcsan-gce ci2-upstream-usb], missing on: [ci-qemu-native-arm64-kvm]
First crash: 44d, last: 11d
Cause bisection: failed (error log, bisect log)
  
Discussions (2)
Title Replies (including bot) Last reply
[PATCH net 1/2] net: hsr: Use the seqnr lock for frames received via interlink port. 5 (5) 2024/09/11 15:46
[syzbot] [net?] WARNING in hsr_fill_frame_info 0 (3) 2024/08/30 03:12
Last patch testing requests (2)
Created Duration User Patch Repo Result
2024/08/30 03:12 24m lizhi.xu@windriver.com patch upstream OK log
2024/08/30 01:51 29m lizhi.xu@windriver.com patch upstream report log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 5237 at net/hsr/hsr_forward.c:602 handle_std_frame net/hsr/hsr_forward.c:602 [inline]
WARNING: CPU: 0 PID: 5237 at net/hsr/hsr_forward.c:602 hsr_fill_frame_info+0x3da/0x570 net/hsr/hsr_forward.c:630
Modules linked in:
CPU: 0 UID: 0 PID: 5237 Comm: syz-executor387 Not tainted 6.11.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:handle_std_frame net/hsr/hsr_forward.c:602 [inline]
RIP: 0010:hsr_fill_frame_info+0x3da/0x570 net/hsr/hsr_forward.c:630
Code: 00 31 c0 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc e8 55 bb fb f5 90 0f 0b 90 e9 09 ff ff ff e8 47 bb fb f5 90 <0f> 0b 90 eb 93 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c a3 fc ff ff 48
RSP: 0018:ffffc90000007278 EFLAGS: 00010246
RAX: ffffffff8b97d2c9 RBX: 0000000000000000 RCX: ffff88807529bc00
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff88807d910cc0 R08: ffffffff8b97d119 R09: 0000000000000000
R10: ffffc900000073c8 R11: fffff52000000e7b R12: dffffc0000000000
R13: 0000000000000008 R14: ffff888029d04f20 R15: ffffc900000073c0
FS:  0000555564778380(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005633c816f000 CR3: 000000001faac000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 fill_frame_info net/hsr/hsr_forward.c:700 [inline]
 hsr_forward_skb+0x847/0x2b60 net/hsr/hsr_forward.c:715
 hsr_handle_frame+0x51b/0x7d0 net/hsr/hsr_slave.c:70
 __netif_receive_skb_core+0x13e8/0x4570 net/core/dev.c:5555
 __netif_receive_skb_list_core+0x2b7/0x980 net/core/dev.c:5737
 __netif_receive_skb_list net/core/dev.c:5804 [inline]
 netif_receive_skb_list_internal+0xa51/0xe30 net/core/dev.c:5896
 gro_normal_list include/net/gro.h:515 [inline]
 napi_complete_done+0x310/0x8e0 net/core/dev.c:6247
 gro_cell_poll+0x19a/0x1c0 net/core/gro_cells.c:66
 __napi_poll+0xcb/0x490 net/core/dev.c:6772
 napi_poll net/core/dev.c:6841 [inline]
 net_rx_action+0x89b/0x1240 net/core/dev.c:6963
 handle_softirqs+0x2c4/0x970 kernel/softirq.c:554
 do_softirq+0x11b/0x1e0 kernel/softirq.c:455
 </IRQ>
 <TASK>
 __local_bh_enable_ip+0x1bb/0x200 kernel/softirq.c:382
 tun_rx_batched+0x732/0x8f0
 tun_get_user+0x2f84/0x4720 drivers/net/tun.c:2006
 tun_chr_write_iter+0x113/0x1f0 drivers/net/tun.c:2052
 new_sync_write fs/read_write.c:497 [inline]
 vfs_write+0xa72/0xc90 fs/read_write.c:590
 ksys_write+0x1a0/0x2c0 fs/read_write.c:643
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7ff04a780a30
Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d 71 d6 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89
RSP: 002b:00007ffc50380778 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ff04a780a30
RDX: 000000000000006a RSI: 00000000200006c0 RDI: 00000000000000c8
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>

Crashes (80):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/08/27 04:08 upstream 5be63fc19fca 9aee4e0b .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in hsr_fill_frame_info
2024/09/10 20:17 upstream 8d8d276ba2fb 79eef296 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in hsr_fill_frame_info
2024/09/04 23:47 upstream c7fb1692dc01 dfbe2ed4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in hsr_fill_frame_info
2024/09/04 02:43 upstream 88fac17500f4 9d47f20a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in hsr_fill_frame_info
2024/08/27 00:53 upstream 5be63fc19fca 9aee4e0b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in hsr_fill_frame_info
2024/08/26 09:09 upstream 5be63fc19fca d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in hsr_fill_frame_info
2024/09/08 14:43 net d759ee240d3c 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in hsr_fill_frame_info
2024/09/08 07:22 net d759ee240d3c 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in hsr_fill_frame_info
2024/09/08 02:24 net d759ee240d3c 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in hsr_fill_frame_info
2024/09/08 01:04 net d759ee240d3c 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in hsr_fill_frame_info
2024/09/07 11:50 net d759ee240d3c 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in hsr_fill_frame_info
2024/09/07 01:33 net d759ee240d3c ce70880a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in hsr_fill_frame_info
2024/09/06 17:32 net d759ee240d3c ce70880a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in hsr_fill_frame_info
2024/09/06 09:30 net 031ae72825ce 464ac2ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in hsr_fill_frame_info
2024/09/06 00:23 net 8e69c96df771 464ac2ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in hsr_fill_frame_info
2024/09/05 14:10 net 8e69c96df771 464ac2ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in hsr_fill_frame_info
2024/09/05 06:24 net 4963d2343af8 dfbe2ed4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in hsr_fill_frame_info
2024/09/04 22:42 net b6ecc6620376 9d47f20a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in hsr_fill_frame_info
2024/09/04 19:28 net b6ecc6620376 9d47f20a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in hsr_fill_frame_info
2024/09/04 11:56 net 33f339a1ba54 9d47f20a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in hsr_fill_frame_info
2024/09/04 05:04 net 33f339a1ba54 9d47f20a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in hsr_fill_frame_info
2024/09/04 01:01 net 33f339a1ba54 9d47f20a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in hsr_fill_frame_info
2024/09/03 11:57 net 5517ae241919 512328ba .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in hsr_fill_frame_info
2024/09/02 20:38 net ef4a99a0164e abeaa9b9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in hsr_fill_frame_info
2024/09/01 19:09 net 9b0874286768 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in hsr_fill_frame_info
2024/09/01 19:09 net 9b0874286768 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in hsr_fill_frame_info
2024/08/30 10:40 net 1bb3c548e4e3 54fe8471 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in hsr_fill_frame_info
2024/08/30 08:49 net 1bb3c548e4e3 54fe8471 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in hsr_fill_frame_info
2024/08/30 08:39 net 1bb3c548e4e3 54fe8471 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in hsr_fill_frame_info
2024/08/30 08:30 net 1bb3c548e4e3 54fe8471 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in hsr_fill_frame_info
2024/08/30 08:17 net 1bb3c548e4e3 54fe8471 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in hsr_fill_frame_info
2024/08/30 08:16 net 1bb3c548e4e3 54fe8471 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in hsr_fill_frame_info
2024/08/30 08:13 net 1bb3c548e4e3 54fe8471 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in hsr_fill_frame_info
2024/08/30 01:36 net febccb39255f 54fe8471 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in hsr_fill_frame_info
2024/08/29 17:08 net febccb39255f 54fe8471 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in hsr_fill_frame_info
2024/08/29 08:41 net 41901c227e00 ef3de9e8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in hsr_fill_frame_info
2024/08/27 23:25 net bc21000e99f9 6c853ff9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in hsr_fill_frame_info
2024/08/25 22:56 net 8af174ea863c d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in hsr_fill_frame_info
2024/08/25 22:47 net 8af174ea863c d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in hsr_fill_frame_info
2024/09/11 23:37 net-next bf73478b539b d94c83d8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in hsr_fill_frame_info
2024/09/11 17:13 net-next f3b6129b7d25 9326a104 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in hsr_fill_frame_info
2024/09/11 10:13 net-next f3b6129b7d25 9326a104 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in hsr_fill_frame_info
2024/09/11 06:52 net-next 525034e2e2ee 79eef296 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in hsr_fill_frame_info
2024/09/10 07:18 net-next a9b1fab3b69f 784df80e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in hsr_fill_frame_info
2024/09/08 10:49 net-next f723224742fc 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in hsr_fill_frame_info
2024/09/07 18:23 net-next f723224742fc 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in hsr_fill_frame_info
2024/09/06 12:06 net-next 22d6adac5b17 464ac2ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in hsr_fill_frame_info
2024/09/04 14:53 net-next 780801200300 9d47f20a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in hsr_fill_frame_info
2024/09/04 10:32 net-next 3bbefbbd9e6c 9d47f20a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in hsr_fill_frame_info
2024/09/04 08:41 net-next 3bbefbbd9e6c 9d47f20a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in hsr_fill_frame_info
2024/09/02 20:56 net-next 55ddb6c5a3ae abeaa9b9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in hsr_fill_frame_info
2024/09/02 20:30 net-next 55ddb6c5a3ae abeaa9b9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in hsr_fill_frame_info
2024/09/02 20:30 net-next 55ddb6c5a3ae abeaa9b9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in hsr_fill_frame_info
2024/09/02 20:30 net-next 55ddb6c5a3ae abeaa9b9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in hsr_fill_frame_info
2024/09/02 20:30 net-next 55ddb6c5a3ae abeaa9b9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in hsr_fill_frame_info
2024/09/02 07:42 net-next 221f9cce949a 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in hsr_fill_frame_info
2024/09/02 02:55 net-next 221f9cce949a 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in hsr_fill_frame_info
2024/08/31 11:07 net-next cff69f72d333 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in hsr_fill_frame_info
2024/08/30 22:42 net-next fbdaffe41adc f885a8ff .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in hsr_fill_frame_info
2024/08/30 21:27 net-next fbdaffe41adc f885a8ff .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in hsr_fill_frame_info
2024/08/28 09:40 net-next e5899b60f52a 940f38c1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in hsr_fill_frame_info
2024/08/27 16:01 net-next f8fdda9e4f98 9aee4e0b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in hsr_fill_frame_info
2024/08/27 14:26 net-next 2c163922de69 9aee4e0b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in hsr_fill_frame_info
2024/08/27 05:59 net-next 2c163922de69 9aee4e0b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in hsr_fill_frame_info
2024/08/27 05:47 net-next 2c163922de69 9aee4e0b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in hsr_fill_frame_info
2024/08/27 05:40 net-next 2c163922de69 9aee4e0b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in hsr_fill_frame_info
2024/08/27 05:22 net-next 2c163922de69 9aee4e0b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in hsr_fill_frame_info
2024/08/27 05:06 net-next 2c163922de69 9aee4e0b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in hsr_fill_frame_info
2024/08/27 03:57 net-next 2c163922de69 9aee4e0b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in hsr_fill_frame_info
2024/08/27 02:46 net-next 2c163922de69 9aee4e0b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in hsr_fill_frame_info
2024/09/27 15:34 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 5f5673607153 2b1784d6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hsr_fill_frame_info
2024/09/05 21:38 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci df54f4a16f82 464ac2ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hsr_fill_frame_info
* Struck through repros no longer work on HEAD.