syzbot


BUG: soft lockup in garp_join_timer_arm

Status: auto-closed as invalid on 2022/02/02 23:13
Reported-by: syzbot+88bd0d4544339db41715@syzkaller.appspotmail.com
First crash: 1155d, last: 1155d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: soft lockup in garp_join_timer_arm kernel 1 130d 130d 0/28 closed as invalid on 2024/09/03 15:13

Sample crash report:
bridge604: port 1(vlan143) entered blocking state
bridge604: port 1(vlan143) entered disabled state
device vlan143 entered promiscuous mode
IPv6: ADDRCONF(NETDEV_UP): bridge604: link is not ready
watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [syz-executor.2:23932]
Modules linked in:
irq event stamp: 4568969
hardirqs last  enabled at (4568968): [<ffffffff88193459>] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline]
hardirqs last  enabled at (4568968): [<ffffffff88193459>] _raw_spin_unlock_irqrestore+0x79/0xe0 kernel/locking/spinlock.c:184
hardirqs last disabled at (4568969): [<ffffffff81003d00>] trace_hardirqs_off_thunk+0x1a/0x1c
softirqs last  enabled at (4449512): [<ffffffff88400678>] __do_softirq+0x678/0x980 kernel/softirq.c:318
softirqs last disabled at (4449515): [<ffffffff813927d5>] invoke_softirq kernel/softirq.c:372 [inline]
softirqs last disabled at (4449515): [<ffffffff813927d5>] irq_exit+0x215/0x260 kernel/softirq.c:412
CPU: 0 PID: 23932 Comm: syz-executor.2 Not tainted 4.19.208-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:check_preemption_disabled+0x4/0x280 lib/smp_processor_id.c:12
Code: 21 fe e9 d5 f1 ff ff e8 9a 8e c0 fd 48 8b 3c 24 e8 a1 47 21 fe e9 87 f7 ff ff 90 90 90 90 90 90 90 90 90 90 90 90 41 57 41 56 <41> 55 49 89 f5 41 54 55 48 89 fd 53 e8 8b 6c eb fd 65 44 8b 25 93
RSP: 0018:ffff8880ba007cc0 EFLAGS: 00000206 ORIG_RAX: ffffffffffffff13
RAX: ffff8881e2616600 RBX: ffff888036dc3540 RCX: 0000000000000000
RDX: 0000000000000100 RSI: ffffffff88b3e0e0 RDI: ffffffff88b3e120
RBP: 0000000000000014 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880ba007d58
R13: 1ffff11017400fa7 R14: 0000000000000000 R15: 0000000000000000
FS:  00007fd551d52700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020045000 CR3: 00000001fb4e6000 CR4: 00000000003426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 prandom_u32+0x1c/0x1f0 lib/random32.c:379
 garp_join_timer_arm+0x21/0x80 net/802/garp.c:413
 call_timer_fn+0x177/0x700 kernel/time/timer.c:1338
 expire_timers+0x243/0x4e0 kernel/time/timer.c:1375
 __run_timers kernel/time/timer.c:1696 [inline]
 run_timer_softirq+0x21c/0x670 kernel/time/timer.c:1709
 __do_softirq+0x265/0x980 kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:372 [inline]
 irq_exit+0x215/0x260 kernel/softirq.c:412
 exiting_irq arch/x86/include/asm/apic.h:536 [inline]
 smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1098
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
 </IRQ>
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline]
RIP: 0010:lock_is_held_type+0x17a/0x210 kernel/locking/lockdep.c:3948
Code: 00 00 00 00 fc ff df c7 85 84 08 00 00 00 00 00 00 48 c1 e8 03 80 3c 10 00 75 63 48 83 3d 35 cd a6 08 00 74 2c 48 89 df 57 9d <0f> 1f 44 00 00 48 83 c4 08 44 89 e0 5b 5d 41 5c c3 48 83 c4 08 41
RSP: 0018:ffff8881e2627430 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13
RAX: 1ffffffff13e3051 RBX: 0000000000000286 RCX: 0000000000000001
RDX: dffffc0000000000 RSI: 00000000ffffffff RDI: 0000000000000286
RBP: ffff8881e2616600 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000
R13: 000000000002b0c0 R14: ffff8881e2620000 R15: ffff8880ba02b0c0
 lock_is_held include/linux/lockdep.h:344 [inline]
 schedule_debug kernel/sched/core.c:3337 [inline]
 __schedule+0xf42/0x2040 kernel/sched/core.c:3439
 preempt_schedule_irq+0xb0/0x140 kernel/sched/core.c:3744
 retint_kernel+0x1b/0x2d
RIP: 0010:__sanitizer_cov_trace_const_cmp8+0x4/0x20 kernel/kcov.c:194
Code: 00 00 00 00 00 90 48 8b 0c 24 89 f2 89 fe bf 05 00 00 00 e9 ce fe ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 48 8b 0c 24 <48> 89 f2 48 89 fe bf 07 00 00 00 e9 ac fe ff ff 66 66 2e 0f 1f 84
RSP: 0018:ffff8881e2627600 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000000 RBX: ffff8881f7504250 RCX: ffffffff818cb3d0
RDX: 0400000000000080 RSI: 0000000000000000 RDI: 0000000000000080
RBP: 00000001f2a47067 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000007 R11: 0000000000000000 R12: 0000000020045000
R13: 1ffff1103c4c4ec7 R14: ffffffff89cfb4f0 R15: ffff8881f9623500
 __handle_mm_fault+0x3b0/0x41c0 mm/memory.c:4251
 handle_mm_fault+0x436/0xb10 mm/memory.c:4336
 __do_page_fault+0x68e/0xd60 arch/x86/mm/fault.c:1412
 page_fault+0x1e/0x30 arch/x86/entry/entry_64.S:1205
RIP: 0010:copy_user_enhanced_fast_string+0xe/0x20 arch/x86/lib/copy_user_64.S:181
Code: 89 d1 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 31 c0 0f 01 ca c3 0f 1f 80 00 00 00 00 0f 01 cb 83 fa 40 0f 82 70 ff ff ff 89 d1 <f3> a4 31 c0 0f 01 ca c3 66 2e 0f 1f 84 00 00 00 00 00 0f 01 cb 83
RSP: 0018:ffff8881e2627920 EFLAGS: 00050202
RAX: ffffed103c4cce86 RBX: 000000000000742c RCX: 0000000000002fac
RDX: 000000000000742c RSI: 0000000020045000 RDI: ffff8881e2664480
RBP: 0000000020040b80 R08: 0000000000000001 R09: ffffed103c4cce85
R10: ffff8881e266742b R11: 0000000000000000 R12: ffff8881e2660000
R13: 0000000020047fac R14: 00007ffffffff000 R15: 0000000000000000
 copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline]
 raw_copy_from_user arch/x86/include/asm/uaccess_64.h:71 [inline]
 copyin+0xcd/0xf0 lib/iov_iter.c:146
 _copy_from_iter_full+0x1df/0x7c0 lib/iov_iter.c:724
 copy_from_iter_full include/linux/uio.h:124 [inline]
 skb_do_copy_data_nocache include/net/sock.h:1969 [inline]
 skb_copy_to_page_nocache include/net/sock.h:1995 [inline]
 tcp_sendmsg_locked+0x126b/0x2f60 net/ipv4/tcp.c:1364
 tcp_sendmsg+0x2b/0x40 net/ipv4/tcp.c:1462
 inet_sendmsg+0x132/0x5a0 net/ipv4/af_inet.c:798
 sock_sendmsg_nosec net/socket.c:651 [inline]
 sock_sendmsg+0xc3/0x120 net/socket.c:661
 sock_write_iter+0x287/0x3c0 net/socket.c:966
 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:0x7fd5547db8d9
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 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fd551d52188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fd5548dff60 RCX: 00007fd5547db8d9
RDX: 0000000000300000 RSI: 0000000020000080 RDI: 0000000000000004
RBP: 00007fd554835cb4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffdff945cff R14: 00007fd551d52300 R15: 0000000000022000
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 23926 Comm: syz-executor.2 Not tainted 4.19.208-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__read_once_size include/linux/compiler.h:261 [inline]
RIP: 0010:csd_lock_wait kernel/smp.c:108 [inline]
RIP: 0010:smp_call_function_single+0x1db/0x420 kernel/smp.c:302
Code: 00 e8 a9 03 0a 00 48 8b 4c 24 08 48 8b 54 24 10 48 8d 74 24 40 8b 7c 24 1c e8 a1 f9 ff ff 41 89 c5 eb 07 e8 87 03 0a 00 f3 90 <44> 8b 64 24 58 31 ff 41 83 e4 01 44 89 e6 e8 e2 04 0a 00 45 85 e4
RSP: 0018:ffff8881f46e7a60 EFLAGS: 00000293
RAX: ffff8881e76a64c0 RBX: 1ffff1103e8dcf50 RCX: ffffffff815880ae
RDX: 0000000000000000 RSI: ffffffff81588099 RDI: 0000000000000005
RBP: ffff8881f46e7b30 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000001 R15: ffff8881e261663c
FS:  000055555589c400(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b30126000 CR3: 00000001fb4e6000 CR4: 00000000003426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 task_function_call+0xe0/0x170 kernel/events/core.c:115
 event_function_call+0x228/0x430 kernel/events/core.c:283
 perf_remove_from_context+0x9b/0x1c0 kernel/events/core.c:2113
 perf_event_release_kernel+0x169/0xcd0 kernel/events/core.c:4607
 perf_release+0x33/0x40 kernel/events/core.c:4703
 __fput+0x2ce/0x890 fs/file_table.c:278
 task_work_run+0x148/0x1c0 kernel/task_work.c:113
 tracehook_notify_resume include/linux/tracehook.h:193 [inline]
 exit_to_usermode_loop+0x251/0x2a0 arch/x86/entry/common.c:167
 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
 do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7fd55478e51b
Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44
RSP: 002b:00007ffdff945d60 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007fd55478e51b
RDX: 0000001b30126808 RSI: ffffffff837717c1 RDI: 0000000000000003
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b30123ec4
R10: 00000000000006ce R11: 0000000000000293 R12: 00007fd5548e0b60
R13: 00007fd5548e0b60 R14: 00007fd5548dff60 R15: 0000000000229ab2
----------------
Code disassembly (best guess):
   0:	21 fe                	and    %edi,%esi
   2:	e9 d5 f1 ff ff       	jmpq   0xfffff1dc
   7:	e8 9a 8e c0 fd       	callq  0xfdc08ea6
   c:	48 8b 3c 24          	mov    (%rsp),%rdi
  10:	e8 a1 47 21 fe       	callq  0xfe2147b6
  15:	e9 87 f7 ff ff       	jmpq   0xfffff7a1
  1a:	90                   	nop
  1b:	90                   	nop
  1c:	90                   	nop
  1d:	90                   	nop
  1e:	90                   	nop
  1f:	90                   	nop
  20:	90                   	nop
  21:	90                   	nop
  22:	90                   	nop
  23:	90                   	nop
  24:	90                   	nop
  25:	90                   	nop
  26:	41 57                	push   %r15
  28:	41 56                	push   %r14
* 2a:	41 55                	push   %r13 <-- trapping instruction
  2c:	49 89 f5             	mov    %rsi,%r13
  2f:	41 54                	push   %r12
  31:	55                   	push   %rbp
  32:	48 89 fd             	mov    %rdi,%rbp
  35:	53                   	push   %rbx
  36:	e8 8b 6c eb fd       	callq  0xfdeb6cc6
  3b:	65                   	gs
  3c:	44                   	rex.R
  3d:	8b                   	.byte 0x8b
  3e:	25                   	.byte 0x25
  3f:	93                   	xchg   %eax,%ebx

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/10/05 23:12 linux-4.19.y c2276d585654 8a6b1a8d .config console log report info ci2-linux-4-19 BUG: soft lockup in garp_join_timer_arm
* Struck through repros no longer work on HEAD.