syzbot


WARNING in send_hsr_supervision_frame (3)

Status: fixed on 2024/03/28 13:35
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+3ae0a3f42c84074b7c8e@syzkaller.appspotmail.com
Fix commit: 37e8c97e5390 net: hsr: remove WARN_ONCE() in send_hsr_supervision_frame()
First crash: 805d, last: 253d
Discussions (2)
Title Replies (including bot) Last reply
[PATCH net] net: hsr: remove WARN_ONCE() in send_hsr_supervision_frame() 2 (2) 2024/01/29 11:30
[syzbot] WARNING in send_hsr_supervision_frame (3) 0 (1) 2022/11/15 17:18
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in send_hsr_supervision_frame (2) net 36 1014d 1204d 0/28 auto-closed as invalid on 2022/04/24 21:22
upstream WARNING in send_hsr_supervision_frame net 96 1354d 1516d 0/28 auto-closed as invalid on 2021/05/19 17:21

Sample crash report:
------------[ cut here ]------------
HSR: Could not send supervision frame
WARNING: CPU: 1 PID: 85 at net/hsr/hsr_device.c:294 send_hsr_supervision_frame+0x60a/0x810 net/hsr/hsr_device.c:294
Modules linked in:
CPU: 1 PID: 85 Comm: kswapd1 Not tainted 6.7.0-rc5-syzkaller-00214-gc8e97fc6b4c0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:send_hsr_supervision_frame+0x60a/0x810 net/hsr/hsr_device.c:294
Code: ff 89 de e8 08 da 29 f7 84 db 0f 85 bd fe ff ff e8 cb de 29 f7 c6 05 d1 c3 a5 04 01 90 48 c7 c7 20 ff 16 8c e8 67 23 f0 f6 90 <0f> 0b 90 90 e9 9a fe ff ff e8 a8 de 29 f7 41 be 3c 00 00 00 ba 01
RSP: 0000:ffffc900001f0bd8 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff814db519
RDX: ffff88801b2b5940 RSI: ffffffff814db526 RDI: 0000000000000001
RBP: ffffc900001f0c40 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: ffff8880204be100
R13: 0000000000000000 R14: ffffffff8a5d86a0 R15: 0000000000000017
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0e99ac4fa7 CR3: 000000000cd77000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 hsr_announce+0x114/0x370 net/hsr/hsr_device.c:382
 call_timer_fn+0x193/0x590 kernel/time/timer.c:1700
 expire_timers kernel/time/timer.c:1751 [inline]
 __run_timers+0x764/0xb20 kernel/time/timer.c:2022
 run_timer_softirq+0x58/0xd0 kernel/time/timer.c:2035
 __do_softirq+0x21a/0x8de kernel/softirq.c:553
 invoke_softirq kernel/softirq.c:427 [inline]
 __irq_exit_rcu kernel/softirq.c:632 [inline]
 irq_exit_rcu+0xb7/0x120 kernel/softirq.c:644
 sysvec_apic_timer_interrupt+0x95/0xb0 arch/x86/kernel/apic/apic.c:1076
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:lock_release+0x3b8/0x690 kernel/locking/lockdep.c:5762
Code: 7e 83 f8 01 0f 85 c8 01 00 00 9c 58 f6 c4 02 0f 85 b3 01 00 00 48 f7 04 24 00 02 00 00 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c5 48 c7 45 00 00 00 00 00 c7 45 08 00 00 00 00 48 8b 84 24
RSP: 0000:ffffc900015c7738 EFLAGS: 00000206
RAX: dffffc0000000000 RBX: 9ee5988421400fa7 RCX: ffffc900015c7788
RDX: 1ffff11003656c7e RSI: ffffffff8accb1c0 RDI: ffffffff8b2efc20
RBP: 1ffff920002b8ee9 R08: 0000000000000000 R09: fffffbfff1e3266a
R10: ffffffff8f193357 R11: 0000000000000001 R12: 0000000000000001
R13: 0000000000000002 R14: ffff88801b2b63f8 R15: ffff88801b2b5940
 rcu_lock_release include/linux/rcupdate.h:306 [inline]
 rcu_read_unlock include/linux/rcupdate.h:780 [inline]
 shrink_slab+0x176/0x1310 mm/shrinker.c:660
 shrink_one+0x47d/0x7a0 mm/vmscan.c:4745
 shrink_many mm/vmscan.c:4808 [inline]
 lru_gen_shrink_node mm/vmscan.c:4923 [inline]
 shrink_node+0x211c/0x3710 mm/vmscan.c:5863
 kswapd_shrink_node mm/vmscan.c:6668 [inline]
 balance_pgdat+0x9d2/0x1a90 mm/vmscan.c:6858
 kswapd+0x5be/0xbf0 mm/vmscan.c:7118
 kthread+0x2c6/0x3a0 kernel/kthread.c:388
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242
 </TASK>
----------------
Code disassembly (best guess):
   0:	7e 83                	jle    0xffffff85
   2:	f8                   	clc
   3:	01 0f                	add    %ecx,(%rdi)
   5:	85 c8                	test   %ecx,%eax
   7:	01 00                	add    %eax,(%rax)
   9:	00 9c 58 f6 c4 02 0f 	add    %bl,0xf02c4f6(%rax,%rbx,2)
  10:	85 b3 01 00 00 48    	test   %esi,0x48000001(%rbx)
  16:	f7 04 24 00 02 00 00 	testl  $0x200,(%rsp)
  1d:	74 01                	je     0x20
  1f:	fb                   	sti
  20:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  27:	fc ff df
* 2a:	48 01 c5             	add    %rax,%rbp <-- trapping instruction
  2d:	48 c7 45 00 00 00 00 	movq   $0x0,0x0(%rbp)
  34:	00
  35:	c7 45 08 00 00 00 00 	movl   $0x0,0x8(%rbp)
  3c:	48                   	rex.W
  3d:	8b                   	.byte 0x8b
  3e:	84                   	.byte 0x84
  3f:	24                   	.byte 0x24

Crashes (153):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/12/17 02:04 upstream c8e97fc6b4c0 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in send_hsr_supervision_frame
2024/01/25 12:32 upstream 6098d87eaf31 1e153dc8 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/12/08 17:09 upstream 5e3f5b81de80 28b24332 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/11/07 02:36 upstream be3ca57cfb77 83211397 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/09/30 15:31 upstream 9f3ebbef746f 8e26a358 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/09/03 13:31 upstream 92901222f83d 696ea0d2 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/05/24 18:52 upstream 9d646009f65d 4bce1a3e .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in send_hsr_supervision_frame
2023/05/20 22:22 upstream d635f6cc934b 4bce1a3e .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in send_hsr_supervision_frame
2023/05/16 06:16 upstream f1fcbaa18b28 71b00cfb .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in send_hsr_supervision_frame
2023/05/10 15:59 upstream 16a8829130ca 14b12a99 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in send_hsr_supervision_frame
2023/05/08 20:41 upstream ba0ad6ed89fd 33db58a6 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in send_hsr_supervision_frame
2023/04/29 15:07 upstream 89d77f71f493 62df2017 .config console log report info ci-qemu-upstream WARNING in send_hsr_supervision_frame
2023/04/02 16:41 upstream 00c7b5f4ddc5 f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in send_hsr_supervision_frame
2022/10/15 15:05 upstream 55be6084c8e0 67cb024c .config console log report info [disk image] [vmlinux] ci-upstream-kasan-gce WARNING in send_hsr_supervision_frame
2022/07/22 06:31 upstream 4a57a8400075 5e6028b9 .config console log report info ci-qemu-upstream WARNING in send_hsr_supervision_frame
2023/08/27 03:25 upstream 3b35375f19fe 7ba13a15 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/08/16 12:05 upstream 4853c74bd7ab 39990d51 .config console log report info ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/08/12 14:16 upstream f8de32cc060b 39990d51 .config console log report info ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/08/11 18:46 upstream 9106536c1aa3 39990d51 .config console log report info ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/08/10 11:47 upstream 374a7f47bf40 da3c3ef8 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/08/09 23:36 upstream cacc6e22932f a1790533 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/08/07 23:39 upstream 14f9643dc90a b1b6ae3d .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/07/26 11:48 upstream 18b44bc5a672 4d1a770f .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/07/16 22:22 upstream 20edcec23f92 35d9ecc5 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/07/04 11:30 upstream 24be4d0b46bb 07d54a36 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/07/03 23:55 upstream 56cbceab928d 6e553898 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/06/30 09:50 upstream 6e2332e0ab53 01298212 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/06/29 11:06 upstream 6e2332e0ab53 134ddc02 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/06/28 02:10 upstream 6e2332e0ab53 4cd5bb25 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/06/24 02:59 upstream 61dabacdad4e 79782afc .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/06/22 10:26 upstream dad9774deaf1 79782afc .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/06/21 10:11 upstream e660abd551f1 79782afc .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/06/17 11:08 upstream 4973ca295528 f3921d4d .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/06/15 09:21 upstream b6dad5178cea ee64538c .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/06/10 06:54 upstream 64569520920a 49519f06 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/06/09 23:18 upstream 33f2b5785a2b 9018a337 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/06/03 01:28 upstream 4ecd704a4c51 a4ae4f42 .config console log report info ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/06/02 21:21 upstream 9e87b63ed37e a4ae4f42 .config console log report info ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/05/30 10:17 upstream 8b817fded42d 8d5c7541 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/05/30 01:27 upstream 8b817fded42d cf184559 .config console log report info ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/05/21 01:34 upstream d635f6cc934b 4bce1a3e .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/05/19 02:22 upstream 2d1bcbc6cd70 3bb7af1d .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/05/18 16:28 upstream 4d6d4c7f541d 3bb7af1d .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/05/14 09:29 upstream bb7c241fae62 2b9ba477 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/05/12 11:26 upstream cc3c44c9fda2 893599a2 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/05/11 14:37 upstream 80e62bc8487b 0fbd49f4 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/05/09 21:38 upstream 1dc3731daf1f 1964022b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/05/02 11:44 upstream 865fdb08197e 52d40fd2 .config console log report info ci-qemu-upstream-386 WARNING in send_hsr_supervision_frame
2023/05/14 04:26 net d80fc101d2eb 2b9ba477 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in send_hsr_supervision_frame
2023/05/18 19:46 net-next b50a8b0d57ab 3bb7af1d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in send_hsr_supervision_frame
* Struck through repros no longer work on HEAD.