syzbot


BUG: soft lockup in sys_clone

Status: auto-obsoleted due to no activity on 2024/10/06 12:58
Reported-by: syzbot+f48477c39df855369311@syzkaller.appspotmail.com
First crash: 99d, last: 99d
Similar bugs (11)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: soft lockup in sys_clone kernel 3 1662d 1666d 0/28 closed as invalid on 2020/05/29 21:04
android-5-15 BUG: soft lockup in sys_clone origin:upstream C error 18 35d 178d 0/2 upstream: reported C repro on 2024/04/20 04:17
linux-5.15 INFO: rcu detected stall in sys_clone 1 314d 314d 0/3 auto-obsoleted due to no activity on 2024/03/15 18:08
linux-6.1 INFO: rcu detected stall in sys_clone 3 461d 533d 0/3 auto-obsoleted due to no activity on 2023/10/20 18:18
upstream INFO: rcu detected stall in sys_clone (4) kernel 1 1204d 1204d 0/28 auto-closed as invalid on 2021/09/27 17:49
upstream INFO: rcu detected stall in sys_clone (6) kasan mm 1 874d 874d 0/28 auto-closed as invalid on 2022/08/23 03:28
upstream INFO: rcu detected stall in sys_clone (8) mm C error 86 5h43m 200d 0/28 upstream: reported C repro on 2024/03/29 00:16
upstream INFO: rcu detected stall in sys_clone (5) kernfs 5 1008d 1108d 0/28 closed as invalid on 2022/02/08 10:00
upstream INFO: rcu detected stall in sys_clone (7) fs 1 610d 610d 0/28 auto-obsoleted due to no activity on 2023/05/14 17:18
linux-5.15 INFO: rcu detected stall in sys_clone (2) origin:upstream missing-backport C done 7 61d 202d 0/3 upstream: reported C repro on 2024/03/27 00:16
linux-6.1 INFO: rcu detected stall in sys_clone (2) 8 17h36m 209d 0/3 upstream: reported on 2024/03/20 15:17

Sample crash report:
watchdog: BUG: soft lockup - CPU#1 stuck for 123s! [syz.1.3113:10410]
Modules linked in:
CPU: 1 PID: 10410 Comm: syz.1.3113 Tainted: G        W         5.10.218-syzkaller-00638-g3feee789f446 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
RIP: 0010:trylock_clear_pending kernel/locking/qspinlock_paravirt.h:121 [inline]
RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:435 [inline]
RIP: 0010:__pv_queued_spin_lock_slowpath+0x5a5/0xc70 kernel/locking/qspinlock.c:508
Code: 00 c6 03 00 48 8b 44 24 28 42 0f b6 04 30 84 c0 0f 85 bf 01 00 00 48 8b 04 24 c6 00 01 bb 00 80 ff ff eb 06 f3 90 ff c3 74 50 <43> 0f b6 44 35 00 84 c0 75 32 41 80 3c 24 00 75 e9 4c 89 e7 be 02
RSP: 0018:ffffc90001637520 EFLAGS: 00000282
RAX: 0000000000000000 RBX: 00000000ffffd5dc RCX: ffffffff8150b5a4
RDX: 0000000000000001 RSI: 0000000000000003 RDI: ffffc900016374a0
RBP: ffffc90001637610 R08: dffffc0000000000 R09: fffffbfff0cf3134
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff86798998
R13: 1ffffffff0cf3133 R14: dffffc0000000000 R15: ffff88823ff52540
FS:  00007effa12896c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f687ee16c5a CR3: 0000000114dfd000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 </IRQ>
 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:554 [inline]
 queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline]
 queued_spin_lock include/asm-generic/qspinlock.h:85 [inline]
 do_raw_spin_lock include/linux/spinlock.h:183 [inline]
 __raw_spin_lock include/linux/spinlock_api_smp.h:143 [inline]
 _raw_spin_lock+0x139/0x1b0 kernel/locking/spinlock.c:151
 spin_lock include/linux/spinlock.h:354 [inline]
 __mutex_lock_common kernel/locking/mutex.c:985 [inline]
 __mutex_lock+0x397/0xf20 kernel/locking/mutex.c:1117
 __mutex_lock_slowpath+0xe/0x10 kernel/locking/mutex.c:1379
 mutex_lock+0xd6/0x110 kernel/locking/mutex.c:299
 rcu_barrier+0x46/0x400 kernel/rcu/tree.c:3890
 setup_net+0xa91/0xbf0 net/core/net_namespace.c:374
 copy_net_ns+0x32f/0x520 net/core/net_namespace.c:486
 create_new_namespaces+0x410/0x660 kernel/nsproxy.c:110
 copy_namespaces+0x1d1/0x220 kernel/nsproxy.c:179
 copy_process+0x11a0/0x3340 kernel/fork.c:2186
 kernel_clone+0x21e/0x9e0 kernel/fork.c:2574
 __do_sys_clone kernel/fork.c:2700 [inline]
 __se_sys_clone kernel/fork.c:2684 [inline]
 __x64_sys_clone+0x23f/0x290 kernel/fork.c:2684
 do_syscall_64+0x34/0x70
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7effa2007bd9
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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007effa1288ff8 EFLAGS: 00000206 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007effa2195f60 RCX: 00007effa2007bd9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000640c7000
RBP: 00007effa2076e60 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 000000000000000b R14: 00007effa2195f60 R15: 00007fffbd6ecf28
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 9308 Comm: syz.4.2868 Tainted: G        W         5.10.218-syzkaller-00638-g3feee789f446 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:25 [inline]
RIP: 0010:static_key_false include/linux/jump_label.h:221 [inline]
RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:162 [inline]
RIP: 0010:wrmsr arch/x86/include/asm/msr.h:273 [inline]
RIP: 0010:native_apic_msr_write+0x39/0x50 arch/x86/include/asm/apic.h:208
Code: 74 05 83 ff 30 75 12 5d c3 81 ff d0 00 00 00 74 f6 81 ff e0 00 00 00 74 ee c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 <0f> 1f 44 00 00 eb d6 89 f6 31 d2 e8 27 8b 3e 01 5d c3 0f 1f 44 00
RSP: 0018:ffffc90000007158 EFLAGS: 00000046
RAX: 0000000000000162 RBX: ffffffff85dc0988 RCX: 0000000000000838
RDX: 0000000000000000 RSI: 0000000000000162 RDI: 0000000000000838
RBP: ffffc90000007158 R08: ffffffff815df321 R09: ffffffff815df2ad
R10: 0000000000000002 R11: ffff888115ef4f00 R12: 0000000000001626
R13: dffffc0000000000 R14: 0000000000000162 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000100000000 CR3: 000000013c498000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 apic_write arch/x86/include/asm/apic.h:396 [inline]
 lapic_next_event+0x5f/0x70 arch/x86/kernel/apic/apic.c:466
 clockevents_program_event+0x1a7/0x2c0 kernel/time/clockevents.c:334
 tick_program_event+0x9f/0x120 kernel/time/tick-oneshot.c:44
 hrtimer_interrupt+0x4cf/0x8b0 kernel/time/hrtimer.c:1722
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1083 [inline]
 __sysvec_apic_timer_interrupt+0xfd/0x3c0 arch/x86/kernel/apic/apic.c:1100
 run_sysvec_on_irqstack_cond arch/x86/include/asm/irq_stack.h:91 [inline]
 sysvec_apic_timer_interrupt+0xba/0xe0 arch/x86/kernel/apic/apic.c:1094
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635
RIP: 0010:__dev_queue_xmit+0x16d9/0x28e0 net/core/dev.c:4189
Code: 00 0f 85 1d 0e 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 48 c7 c7 00 eb 8d 85 e8 0f ce e7 00 65 66 ff 05 17 fa 40 7c <48> 8b 7c 24 18 48 8b b4 24 80 00 00 00 4c 89 e2 4c 89 f1 e8 4f bb
RSP: 0018:ffffc90000007420 EFLAGS: 00000202
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff888115ef4f00
RDX: 0000000000000502 RSI: ffffffff858deb00 RDI: ffffffff85601ec0
RBP: ffffc90000007610 R08: ffffffff83c47a5c R09: ffffffff83c41b3b
R10: 0000000000000002 R11: ffff888115ef4f00 R12: ffff88810ac7c000
R13: 0000000000000000 R14: ffffc900000075a0 R15: 1ffff1102158f818
 dev_queue_xmit+0x17/0x20 net/core/dev.c:4223
 neigh_resolve_output+0x6b8/0x760 net/core/neighbour.c:1509
 neigh_output include/net/neighbour.h:517 [inline]
 ip6_finish_output2+0xf21/0x1850 net/ipv6/ip6_output.c:145
 __ip6_finish_output+0x5ec/0x780 net/ipv6/ip6_output.c:216
 ip6_finish_output+0x34/0x1e0 net/ipv6/ip6_output.c:226
 NF_HOOK_COND include/linux/netfilter.h:288 [inline]
 ip6_output+0x1f7/0x4d0 net/ipv6/ip6_output.c:249
 dst_output include/net/dst.h:437 [inline]
 NF_HOOK include/linux/netfilter.h:299 [inline]
 ndisc_send_skb+0x6e9/0xc00 net/ipv6/ndisc.c:509
 ndisc_send_rs+0x532/0x6a0 net/ipv6/ndisc.c:703
 addrconf_rs_timer+0x2d1/0x600 net/ipv6/addrconf.c:3963
 call_timer_fn+0x3b/0x2d0 kernel/time/timer.c:1450
 expire_timers kernel/time/timer.c:1495 [inline]
 __run_timers+0x72a/0xa10 kernel/time/timer.c:1789
 run_timer_softirq+0x69/0xf0 kernel/time/timer.c:1802
 __do_softirq+0x268/0x5bb kernel/softirq.c:309
 asm_call_irq_on_stack+0xf/0x20
 </IRQ>
 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline]
 run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline]
 do_softirq_own_stack+0x60/0x80 arch/x86/kernel/irq_64.c:77
 invoke_softirq kernel/softirq.c:405 [inline]
 __irq_exit_rcu+0x128/0x150 kernel/softirq.c:435
 irq_exit_rcu+0x9/0x10 kernel/softirq.c:447
 sysvec_apic_timer_interrupt+0xbf/0xe0 arch/x86/kernel/apic/apic.c:1094
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635
RIP: 0010:__list_del_entry_valid+0x33/0x120 lib/list_debug.c:47
Code: 54 53 49 89 fe 49 bc 00 00 00 00 00 fc ff df 48 83 c7 08 48 89 f8 48 c1 e8 03 42 80 3c 20 00 74 05 e8 31 bc 51 ff 4d 8b 7e 08 <4c> 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 17 bc 51 ff
RSP: 0018:ffffc90000f37510 EFLAGS: 00000246
RAX: 1ffff920001e6eb9 RBX: ffff888115ef4f10 RCX: 0000000000000001
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffc90000f375c8
RBP: ffffc90000f37530 R08: dffffc0000000000 R09: 0000000000000003
R10: fffff520001e6e98 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffffffff86798990 R14: ffffc90000f375c0 R15: ffffffff867989a0
 __list_del_entry include/linux/list.h:132 [inline]
 list_del include/linux/list.h:146 [inline]
 __mutex_remove_waiter kernel/locking/mutex.c:226 [inline]
 __mutex_lock_common kernel/locking/mutex.c:1086 [inline]
 __mutex_lock+0x8ef/0xf20 kernel/locking/mutex.c:1117
 __mutex_lock_slowpath+0xe/0x10 kernel/locking/mutex.c:1379
 mutex_lock+0xd6/0x110 kernel/locking/mutex.c:299
 rcu_barrier+0x46/0x400 kernel/rcu/tree.c:3890
 netdev_run_todo+0x157/0xdc0 net/core/dev.c:10294
 rtnl_unlock+0xe/0x10 net/core/rtnetlink.c:112
 tun_detach drivers/net/tun.c:716 [inline]
 tun_chr_close+0xc4/0x140 drivers/net/tun.c:3483
 __fput+0x309/0x760 fs/file_table.c:281
 ____fput+0x15/0x20 fs/file_table.c:314
 task_work_run+0x129/0x190 kernel/task_work.c:165
 exit_task_work include/linux/task_work.h:32 [inline]
 do_exit+0xc83/0x2a50 kernel/exit.c:861
 do_group_exit+0x141/0x310 kernel/exit.c:983
 get_signal+0x10a0/0x1410 kernel/signal.c:2782
 arch_do_signal_or_restart+0xbd/0x17c0 arch/x86/kernel/signal.c:805
 handle_signal_work kernel/entry/common.c:145 [inline]
 exit_to_user_mode_loop+0x9b/0xd0 kernel/entry/common.c:169
 exit_to_user_mode_prepare kernel/entry/common.c:199 [inline]
 irqentry_exit_to_user_mode+0x4e/0x80 kernel/entry/common.c:287
 irqentry_exit+0x12/0x60 kernel/entry/common.c:375
 sysvec_apic_timer_interrupt+0xcb/0xe0 arch/x86/kernel/apic/apic.c:1094
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635
RIP: 0033:0x7f131f32ea99
Code: Unable to access opcode bytes at RIP 0x7f131f32ea6f.
RSP: 002b:00007f131e6e8060 EFLAGS: 00000217
RAX: 0000000000000000 RBX: 00007f131f5f4f60 RCX: 00007f131f4d5e60
RDX: 0000000000000000 RSI: 0000000000005452 RDI: 0000000000000003
RBP: 00007f131f4d5e60 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f131f5f4f60 R15: 00007ffeaa176e98

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/07/08 12:51 android13-5.10-lts 3feee789f446 cde64f7d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sys_clone
* Struck through repros no longer work on HEAD.