syzbot


BUG: soft lockup in mntput

Status: auto-obsoleted due to no activity on 2024/12/08 11:00
Reported-by: syzbot+355155633bc50243a102@syzkaller.appspotmail.com
First crash: 108d, last: 108d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 BUG: soft lockup in mntput 1 46d 46d 0/2 premoderation: reported on 2024/11/10 13:40
upstream INFO: rcu detected stall in mntput fs 1 598d 598d 0/28 auto-obsoleted due to no activity on 2023/08/06 23:33
upstream INFO: rcu detected stall in mntput (2) fs 1 121d 121d 0/28 auto-obsoleted due to no activity on 2024/11/25 12:43

Sample crash report:
watchdog: BUG: soft lockup - CPU#1 stuck for 120s! [syz.2.418:2450]
Modules linked in:
CPU: 1 PID: 2450 Comm: syz.2.418 Not tainted 6.1.93-syzkaller-00100-g27310ed6b677 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/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+0x5e4/0xda0 kernel/locking/qspinlock.c:511
Code: 10 c6 00 00 48 8b 44 24 18 0f b6 04 10 84 c0 0f 85 48 01 00 00 48 8b 44 24 08 c6 00 01 bb 00 80 ff ff eb 06 f3 90 ff c3 74 5d <41> 0f b6 04 14 84 c0 75 36 41 80 3f 00 75 eb 4c 89 ff be 02 00 00
RSP: 0018:ffffc90000967540 EFLAGS: 00000286
RAX: 0000000000000000 RBX: 00000000ffff9a0f RCX: ffffffff851ff8ec
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffffffff8700d604
RBP: ffffc90000967630 R08: dffffc0000000000 R09: fffffbfff0e01ac1
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff0e01ac0
R13: ffff8881f71d2f00 R14: 1ffff1103ede0001 R15: ffffffff8700d604
FS:  0000000000000000(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007faf294f91b8 CR3: 0000000139f82000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 </IRQ>
 <TASK>
 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:591 [inline]
 queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline]
 queued_spin_lock include/asm-generic/qspinlock.h:114 [inline]
 do_raw_spin_lock include/linux/spinlock.h:187 [inline]
 __raw_spin_lock include/linux/spinlock_api_smp.h:134 [inline]
 _raw_spin_lock+0x139/0x1b0 kernel/locking/spinlock.c:154
 spin_lock include/linux/spinlock.h:351 [inline]
 write_seqlock include/linux/seqlock.h:886 [inline]
 lock_mount_hash fs/namespace.c:103 [inline]
 mntput_no_expire+0x13f/0x6b0 fs/namespace.c:1227
 mntput+0x5d/0xc0 fs/namespace.c:1282
 __fput+0x61b/0x870 fs/file_table.c:331
 ____fput+0x15/0x20 fs/file_table.c:348
 task_work_run+0x24d/0x2e0 kernel/task_work.c:179
 exit_task_work include/linux/task_work.h:38 [inline]
 do_exit+0xbd5/0x2b80 kernel/exit.c:875
 do_group_exit+0x21a/0x2d0 kernel/exit.c:1025
 get_signal+0x169d/0x1820 kernel/signal.c:2880
 arch_do_signal_or_restart+0xb0/0x16f0 arch/x86/kernel/signal.c:871
 exit_to_user_mode_loop+0x74/0xa0 kernel/entry/common.c:174
 exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:210
 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
 syscall_exit_to_user_mode+0x26/0x130 kernel/entry/common.c:303
 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f925af7cef9
Code: Unable to access opcode bytes at 0x7f925af7cecf.
RSP: 002b:00007f925bd7d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 00007f925b135f80 RCX: 00007f925af7cef9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005
RBP: 00007f925afef046 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f925b135f80 R15: 00007ffea812d9f8
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 2329 Comm: syz.2.415 Not tainted 6.1.93-syzkaller-00100-g27310ed6b677 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:clockevents_program_event+0x18f/0x300 kernel/time/clockevents.c:333
Code: 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 4a 01 00 00 4c 0f af f3 45 8b 24 24 bf 40 00 00 00 44 89 e6 e8 65 91 0b 00 49 83 fc 3f <0f> 87 49 01 00 00 e8 a6 8d 0b 00 44 89 e1 49 d3 ee 49 8d 7f 08 48
RSP: 0018:ffffc90000007160 EFLAGS: 00000097
RAX: 0000000000010101 RBX: 0000000010000000 RCX: ffff88811d143cc0
RDX: ffff88811d143cc0 RSI: 0000000000000020 RDI: 0000000000000040
RBP: ffffc90000007190 R08: ffffffff816a179b R09: ffffffff816a168d
R10: 0000000000000002 R11: ffff88811d143cc0 R12: 0000000000000020
R13: dffffc0000000000 R14: 000001ccc0000000 R15: ffff8881f6e26e80
FS:  0000000000000000(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe6ee50000 CR3: 0000000122b07000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 tick_program_event+0x9f/0x120 kernel/time/tick-oneshot.c:44
 hrtimer_interrupt+0x625/0xaa0 kernel/time/hrtimer.c:1824
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline]
 __sysvec_apic_timer_interrupt+0xfd/0x3c0 arch/x86/kernel/apic/apic.c:1112
 sysvec_apic_timer_interrupt+0x44/0xc0 arch/x86/kernel/apic/apic.c:1106
 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:update_stack_state+0x272/0x460 arch/x86/kernel/unwind_frame.c:234
Code: 70 40 4d 89 f4 49 c1 ec 03 48 b8 00 00 00 00 00 fc ff df 41 80 3c 04 00 74 08 4c 89 f7 e8 86 f9 84 00 49 83 3e 00 48 8b 45 a8 <4c> 8b ad 78 ff ff ff 74 22 44 3b 7d a4 75 1c 48 3b 45 98 73 16 31
RSP: 0018:ffffc900000073f0 EFLAGS: 00000286
RAX: ffffc90000ed7970 RBX: ffffc90000007568 RCX: ffffc90000ed7980
RDX: 1ffff92000000eaa RSI: ffffc90000ed7970 RDI: ffffc90000007598
RBP: ffffc900000074a8 R08: ffffc90000007628 R09: 000000000000001f
R10: ffffc90000007630 R11: dffffc0000000001 R12: 1ffff92000000eb0
R13: ffffc90000ed8000 R14: ffffc90000007580 R15: 0000000000000001
 unwind_next_frame+0x3cb/0x700 arch/x86/kernel/unwind_frame.c:315
 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:45 [inline]
 kasan_set_track+0x4b/0x70 mm/kasan/common.c:52
 kasan_save_alloc_info+0x1f/0x30 mm/kasan/generic.c:505
 ____kasan_kmalloc mm/kasan/common.c:379 [inline]
 __kasan_kmalloc+0x9c/0xb0 mm/kasan/common.c:388
 kasan_kmalloc include/linux/kasan.h:212 [inline]
 kmalloc_trace+0x44/0xa0 mm/slab_common.c:1052
 kmalloc include/linux/slab.h:556 [inline]
 dst_cow_metrics_generic+0x55/0x1c0 net/core/dst.c:199
 dst_metrics_write_ptr include/net/dst.h:119 [inline]
 dst_metric_set include/net/dst.h:180 [inline]
 icmp6_dst_alloc+0x363/0x510 net/ipv6/route.c:3279
 ndisc_send_skb+0x28b/0xdc0 net/ipv6/ndisc.c:489
 ndisc_send_rs+0x47d/0x5f0 net/ipv6/ndisc.c:719
 addrconf_rs_timer+0x2d1/0x600 net/ipv6/addrconf.c:3984
 call_timer_fn+0x3b/0x2d0 kernel/time/timer.c:1510
 expire_timers kernel/time/timer.c:1555 [inline]
 __run_timers+0x72a/0xa10 kernel/time/timer.c:1826
 run_timer_softirq+0x69/0xf0 kernel/time/timer.c:1839
 handle_softirqs+0x1db/0x650 kernel/softirq.c:617
 __do_softirq kernel/softirq.c:655 [inline]
 invoke_softirq kernel/softirq.c:472 [inline]
 __irq_exit_rcu+0x52/0xf0 kernel/softirq.c:704
 irq_exit_rcu+0x9/0x10 kernel/softirq.c:716
 sysvec_apic_timer_interrupt+0x9a/0xc0 arch/x86/kernel/apic/apic.c:1106
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:update_stack_state+0x400/0x460
Code: d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 a6 f8 84 00 4c 89 33 43 80 3c 3c 00 4c 8b 75 b0 74 08 4c 89 f7 e8 f0 f7 84 00 <b3> 01 49 83 3e 00 0f 85 7d fe ff ff 43 80 3c 3c 00 74 08 4c 89 f7
RSP: 0018:ffffc90000ed71b0 EFLAGS: 00000246
RAX: 1ffff920001dae69 RBX: ffffc90000ed7348 RCX: 1ffff920001dae6b
RDX: 1ffff920001dae62 RSI: ffffc90000ed7ef8 RDI: ffffc90000ed7358
RBP: ffffc90000ed7268 R08: ffffc90000ed73e8 R09: 0000000000000010
R10: ffffc90000ed73f0 R11: dffffc0000000001 R12: 1ffff920001dae68
R13: 0000000000000000 R14: ffffc90000ed7340 R15: dffffc0000000000
 unwind_next_frame+0x3cb/0x700 arch/x86/kernel/unwind_frame.c:315
 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:45 [inline]
 kasan_set_track+0x4b/0x70 mm/kasan/common.c:52
 kasan_save_free_info+0x2b/0x40 mm/kasan/generic.c:516
 ____kasan_slab_free+0x131/0x180 mm/kasan/common.c:241
 __kasan_slab_free+0x11/0x20 mm/kasan/common.c:249
 kasan_slab_free include/linux/kasan.h:178 [inline]
 slab_free_hook mm/slub.c:1745 [inline]
 slab_free_freelist_hook mm/slub.c:1771 [inline]
 slab_free mm/slub.c:3684 [inline]
 __kmem_cache_free+0x218/0x3b0 mm/slub.c:3697
 kfree+0x7a/0xf0 mm/slab_common.c:1009
 __put_mountpoint+0x1c7/0x220 fs/namespace.c:840
 put_mountpoint fs/namespace.c:847 [inline]
 umount_mnt fs/namespace.c:898 [inline]
 umount_tree+0xd5e/0xef0 fs/namespace.c:1594
 drop_collected_mounts fs/namespace.c:1982 [inline]
 put_mnt_ns+0x8f/0xe0 fs/namespace.c:4461
 free_nsproxy+0x4e/0x260 kernel/nsproxy.c:191
 put_nsproxy include/linux/nsproxy.h:105 [inline]
 switch_task_namespaces kernel/nsproxy.c:249 [inline]
 exit_task_namespaces+0xb4/0xd0 kernel/nsproxy.c:254
 do_exit+0xbd0/0x2b80 kernel/exit.c:874
 do_group_exit+0x21a/0x2d0 kernel/exit.c:1025
 get_signal+0x169d/0x1820 kernel/signal.c:2880
 arch_do_signal_or_restart+0xb0/0x16f0 arch/x86/kernel/signal.c:871
 exit_to_user_mode_loop+0x74/0xa0 kernel/entry/common.c:174
 exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:210
 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
 syscall_exit_to_user_mode+0x26/0x130 kernel/entry/common.c:303
 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f339857cef9
Code: Unable to access opcode bytes at 0x7f339857cecf.
RSP: 002b:00007f33992d5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: 0000000000000000 RBX: 00007f3398735f80 RCX: 00007f339857cef9
RDX: 0000000020000780 RSI: 0000000000005452 RDI: 0000000000000006
RBP: 00007f33985ef046 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f3398735f80 R15: 00007fff5f6dd998
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/09 10:58 android14-6.1 27310ed6b677 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in mntput
* Struck through repros no longer work on HEAD.