syzbot


BUG: soft lockup in __mod_timer

Status: auto-obsoleted due to no activity on 2024/09/16 15:06
First crash: 161d, last: 161d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in __mod_timer (5) usb C error done 10 113d 177d 28/28 fixed on 2024/10/21 12:45
upstream INFO: rcu detected stall in __mod_timer (3) perf 24 1031d 1257d 0/28 closed as invalid on 2022/02/08 10:00
upstream INFO: rcu detected stall in __mod_timer (4) net 1 815d 815d 0/28 auto-obsoleted due to no activity on 2022/12/03 01:18

Sample crash report:
watchdog: BUG: soft lockup - CPU#0 stuck for 123s! [syz-executor.2:438]
Modules linked in:
CPU: 0 PID: 438 Comm: syz-executor.2 Not tainted 5.4.274-syzkaller-00002-g6f97bd951d82 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x4d/0x80 kernel/locking/spinlock.c:191
Code: 74 0c 48 c7 c7 90 3b eb 85 e8 ef 12 43 fd 48 83 3d 47 2d 9a 01 00 74 36 48 89 df e8 5d e8 fa fc 66 90 4c 89 34 24 ff 34 24 9d <bf> 01 00 00 00 e8 d9 d4 f3 fc 65 8b 05 1e 7f b1 7b 85 c0 74 08 48
RSP: 0018:ffff8881f6e09ba0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000001 RBX: ffff8881f6e49500 RCX: dffffc0000000000
RDX: 0000000000000101 RSI: 0000000000000246 RDI: ffff8881f6e49500
RBP: ffff8881f6e09d10 R08: ffffffff81549c09 R09: ffffed103edc92a9
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffff1103edc1384 R14: 0000000000000246 R15: ffff8881f6e49500
FS:  00007f403523d6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4035ff4f78 CR3: 00000001ef615000 CR4: 00000000003406b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 __mod_timer+0x72b/0x13e0 kernel/time/timer.c:1069
 call_timer_fn+0x36/0x390 kernel/time/timer.c:1448
 expire_timers kernel/time/timer.c:1493 [inline]
 __run_timers+0x879/0xbe0 kernel/time/timer.c:1817
 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1830
 __do_softirq+0x23b/0x6b7 kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:373 [inline]
 irq_exit+0x195/0x1c0 kernel/softirq.c:413
 exiting_irq arch/x86/include/asm/apic.h:538 [inline]
 smp_apic_timer_interrupt+0x11a/0x460 arch/x86/kernel/apic/apic.c:1149
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:834
 </IRQ>
RIP: 0010:do_vfs_ioctl+0x124f/0x1720 fs/ioctl.c:731
Code: 66 43 c7 44 25 2a 00 00 65 48 8b 04 25 28 00 00 00 48 3b 84 24 c0 01 00 00 0f 85 d3 04 00 00 89 d8 48 8d 65 d8 5b 41 5c 41 5d <41> 5e 41 5f 5d c3 e8 96 9c c4 ff bb ff ff ff ff eb 84 e8 8a 9c c4
RSP: 0018:ffff8881d530fec8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000000 RBX: ffff8881d52d7200 RCX: 0000000000040000
RDX: ffffc90001548000 RSI: 0000000000000a32 RDI: 0000000000000a33
RBP: ffff8881d530fed8 R08: ffffffff819f98d1 R09: ffffed103e22270b
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000005452
R13: 00000000200006c0 R14: 0000000000000000 R15: ffff8881d52d7200
 ksys_ioctl fs/ioctl.c:742 [inline]
 __do_sys_ioctl fs/ioctl.c:749 [inline]
 __se_sys_ioctl fs/ioctl.c:747 [inline]
 __x64_sys_ioctl+0xd4/0x110 fs/ioctl.c:747
 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x5c/0xc1
RIP: 0033:0x7f4035ec2f29
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f403523d0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f4035ff9f80 RCX: 00007f4035ec2f29
RDX: 00000000200006c0 RSI: 0000000000005452 RDI: 0000000000000003
RBP: 00007f4035f32074 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f4035ff9f80 R15: 00007fff3b920cc8
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 433 Comm: syz-executor.1 Not tainted 5.4.274-syzkaller-00002-g6f97bd951d82 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x50 kernel/kcov.c:183
Code: 1f 84 00 00 00 00 00 0f 1f 00 be 0c 00 00 00 48 c7 c7 a0 a7 f1 85 e8 3f de 2f 00 c3 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <48> 8b 04 24 65 48 8b 0d 54 51 9e 7e 65 8b 15 59 51 9e 7e f7 c2 00
RSP: 0018:ffff8881f6f09758 EFLAGS: 00000806
RAX: f3f3f300f1f1f1f1 RBX: ffffffff856321d0 RCX: dffffc0000000000
RDX: 0000000000010102 RSI: ffffffff84a48320 RDI: ffffffff84fa4680
RBP: ffff8881f6f09820 R08: ffffffff82316ca1 R09: ffffffff86e92058
R10: ffffffff86e92043 R11: 1ffffffff0dd2408 R12: ffffffff84fa4680
R13: 1ffff1103ede12f0 R14: dffffc0000000000 R15: ffffffff84a48320
FS:  00007f67943596c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000001ee9e6000 CR4: 00000000003406a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 check_preemption_disabled+0x6e/0x320 lib/smp_processor_id.c:13
 kvm_set_cpu_l1tf_flush_l1d arch/x86/include/asm/hardirq.h:67 [inline]
 ipi_entering_ack_irq arch/x86/include/asm/apic.h:533 [inline]
 smp_irq_work_interrupt+0x66/0x250 arch/x86/kernel/irq_work.c:18
 irq_work_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:865
RIP: 0010:__should_failslab+0x3f/0x150 mm/failslab.c:20
Code: ec 86 48 c1 e8 03 49 be 00 00 00 00 00 fc ff df 42 80 3c 30 00 74 0c 48 c7 c7 40 6e ec 86 e8 28 b1 ff ff 48 8b 1d 31 fe 57 05 <89> ee 81 e6 00 80 00 00 31 ff e8 f2 ce cf ff 89 e8 25 00 80 00 00
RSP: 0018:ffff8881f6f09910 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff09
RAX: 1ffffffff0dd8dc8 RBX: ffff8881f5c02000 RCX: ffff8881ee7f4ec0
RDX: 0000000000000102 RSI: 0000000000000a20 RDI: ffff8881ee572a00
RBP: 0000000000000a20 R08: ffffffff8382b664 R09: ffffed103adac022
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 00000000000000f0 R14: dffffc0000000000 R15: ffff8881ee572a00
 should_failslab+0x5/0x20 mm/slab_common.c:1829
 slab_pre_alloc_hook mm/slab.h:567 [inline]
 slab_alloc_node mm/slub.c:2742 [inline]
 slab_alloc mm/slub.c:2837 [inline]
 kmem_cache_alloc+0x28/0x250 mm/slub.c:2842
 dst_alloc+0x154/0x4c0 net/core/dst.c:93
 ip6_dst_alloc net/ipv6/route.c:357 [inline]
 icmp6_dst_alloc+0xf1/0x550 net/ipv6/route.c:3183
 ndisc_send_skb+0x262/0xc30 net/ipv6/ndisc.c:489
 addrconf_rs_timer+0x2d1/0x600 net/ipv6/addrconf.c:3953
 call_timer_fn+0x36/0x390 kernel/time/timer.c:1448
 expire_timers kernel/time/timer.c:1493 [inline]
 __run_timers+0x879/0xbe0 kernel/time/timer.c:1817
 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1830
 __do_softirq+0x23b/0x6b7 kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:373 [inline]
 irq_exit+0x195/0x1c0 kernel/softirq.c:413
 exiting_irq arch/x86/include/asm/apic.h:538 [inline]
 smp_apic_timer_interrupt+0x11a/0x460 arch/x86/kernel/apic/apic.c:1149
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:834
 </IRQ>
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x45/0x60 kernel/locking/spinlock.c:199
Code: 08 00 74 0c 48 c7 c7 90 3b eb 85 e8 75 12 43 fd 48 83 3d cd 2c 9a 01 00 74 29 48 89 df e8 e3 e7 fa fc 66 90 fb bf 01 00 00 00 <e8> 66 d4 f3 fc 65 8b 05 ab 7e b1 7b 85 c0 74 02 5b c3 e8 34 45 af
RSP: 0018:ffff8881ed8a7c30 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000001 RBX: ffff8881f6f57b40 RCX: dffffc0000000000
RDX: 0000000040000002 RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffff8881ed8a7c90 R08: ffffffff81799989 R09: fffffbfff0c96e5b
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881f6f57b40
R13: ffff8881ee7f4ec0 R14: dffffc0000000000 R15: ffff8881d83ff440
 finish_lock_switch kernel/sched/core.c:3347 [inline]
 finish_task_switch+0x130/0x590 kernel/sched/core.c:3447
 context_switch kernel/sched/core.c:3611 [inline]
 __schedule+0xb0d/0x1320 kernel/sched/core.c:4307
 preempt_schedule_irq+0xc7/0x140 kernel/sched/core.c:4558
 retint_kernel+0x1b/0x1b
RIP: 0010:exit_to_usermode_loop+0x20/0x1a0 arch/x86/entry/common.c:148
Code: 2e 0f 1f 84 00 00 00 00 00 90 41 57 41 56 41 54 53 41 89 f7 49 89 fe 49 bc 00 00 00 00 00 fc ff df e8 a4 d2 63 00 fb 44 89 fe <83> e6 08 31 ff e8 86 d5 63 00 44 89 f8 83 e0 08 75 07 e8 89 d2 63
RSP: 0000:ffff8881ed8a7ef0 EFLAGS: 00000287 ORIG_RAX: ffffffffffffff09
RAX: ffffffff8100697c RBX: 0000000000000000 RCX: 0000000000040000
RDX: ffffc90000d44000 RSI: 0000000000000008 RDI: 0000000000004963
RBP: 0000000000000008 R08: ffffffff810067f2 R09: ffffed103dcfe9d9
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffff1103dcfe9d8 R14: ffff8881ed8a7f58 R15: 0000000000000008
 prepare_exit_to_usermode+0x199/0x200 arch/x86/entry/common.c:194
 ret_from_intr+0x1c/0x1c
RIP: 0033:0x7f6794fdef29
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f67943590c8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000000 RBX: 00007f6795115f80 RCX: 00007f6794fdef29
RDX: 0000000020000240 RSI: 0000000000005452 RDI: 0000000000000003
RBP: 00007f679504e074 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f6795115f80 R15: 00007ffe0850dc28

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/18 15:02 android12-5.4 6f97bd951d82 639d6cdf .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan BUG: soft lockup in __mod_timer
* Struck through repros no longer work on HEAD.