syzbot


INFO: rcu detected stall in dput

Status: auto-obsoleted due to no activity on 2023/12/08 00:28
Reported-by: syzbot+968ea94b9ed7af27be8e@syzkaller.appspotmail.com
First crash: 503d, last: 463d
Similar bugs (10)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: rcu detected stall in dput (2) 18 6d02h 190d 0/3 upstream: reported on 2024/05/28 13:43
upstream INFO: rcu detected stall in dput (4) kvm C error error 2 1090d 1450d 0/28 closed as invalid on 2022/02/08 10:37
upstream INFO: rcu detected stall in dput (3) kernel 1 1792d 1792d 0/28 closed as invalid on 2020/01/09 08:13
upstream INFO: rcu detected stall in dput (8) mm C done 212 5d00h 339d 0/28 upstream: reported C repro on 2023/12/31 19:35
upstream INFO: rcu detected stall in dput (6) fs 2 764d 824d 0/28 auto-obsoleted due to no activity on 2023/01/16 04:13
linux-5.15 INFO: rcu detected stall in dput (2) 10 122d 264d 0/3 auto-obsoleted due to no activity on 2024/11/12 09:55
upstream INFO: rcu detected stall in dput (5) fs 1 960d 960d 0/28 auto-closed as invalid on 2022/07/18 12:41
linux-6.1 INFO: rcu detected stall in dput 1 511d 511d 0/3 auto-obsoleted due to no activity on 2023/10/20 22:44
upstream INFO: rcu detected stall in dput fs 1 1828d 1828d 0/28 closed as invalid on 2019/12/04 14:04
upstream INFO: rcu detected stall in dput (2) kernel 2 1793d 1792d 0/28 closed as invalid on 2020/01/08 05:33

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	0-...0: (2 ticks this GP) idle=333/1/0x4000000000000000 softirq=101133/101133 fqs=2100 
	(detected by 1, t=10503 jiffies, g=144725, q=2007)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 30389 Comm: syz-executor.5 Not tainted 5.15.128-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
RIP: 0010:__lock_acquire+0x2b3/0x1ff0
Code: 00 0f 85 b5 12 00 00 48 c7 c7 80 0b 8b 8a 48 c7 c6 20 34 8b 8a e8 5d 57 e9 ff 0f 0b 31 f6 e9 9b 12 00 00 31 c0 44 89 64 24 70 <44> 89 74 24 54 49 8d 8d f0 0a 00 00 4c 8d 34 80 4c 89 6c 24 18 4b
RSP: 0018:ffffc90000007a80 EFLAGS: 00000046
RAX: 0000000000000000 RBX: 0000000000000117 RCX: ffffffff913d0003
RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffff8880b9a2a218
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001
R13: ffff888075ba9dc0 R14: 0000000000000000 R15: 0000000000000000
FS:  0000555555dab480(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020404030 CR3: 00000000880fb000 CR4: 00000000003506f0
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5622
 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:128 [inline]
 _raw_spin_lock_irq+0xcf/0x110 kernel/locking/spinlock.c:170
 __run_hrtimer kernel/time/hrtimer.c:1689 [inline]
 __hrtimer_run_queues+0x662/0xcf0 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline]
 __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102
 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:stack_depot_save+0x149/0x440 lib/stackdepot.c:280
Code: c8 31 c7 c1 c0 0e 29 c7 41 31 ff c1 c7 18 41 29 ff 48 8b 05 61 bb 45 0d 44 89 fd 81 e5 ff ff 0f 00 48 89 44 24 08 4c 8b 2c e8 <44> 89 f3 eb 04 4d 8b 6d 00 4d 85 ed 74 29 45 39 7d 08 75 f1 45 39
RSP: 0018:ffffc9000a99f980 EFLAGS: 00000206
RAX: ffff88823b000000 RBX: 00000000ca13b908 RCX: 0000000028d1b563
RDX: 0000000000000800 RSI: ffffc9000a99fa4c RDI: 00000000feaf729c
RBP: 000000000000150c R08: 0000000000000003 R09: fffffbfff1bc8156
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc9000a99f9e0
R13: ffff88802496ede0 R14: 000000000000000f R15: 000000009f50150c
 kasan_save_stack mm/kasan/common.c:40 [inline]
 kasan_set_track+0x62/0x80 mm/kasan/common.c:46
 kasan_set_free_info+0x1f/0x40 mm/kasan/generic.c:360
 ____kasan_slab_free+0xd8/0x120 mm/kasan/common.c:366
 kasan_slab_free include/linux/kasan.h:230 [inline]
 slab_free_hook mm/slub.c:1705 [inline]
 slab_free_freelist_hook+0xdd/0x160 mm/slub.c:1731
 slab_free mm/slub.c:3499 [inline]
 kmem_cache_free+0x91/0x1f0 mm/slub.c:3515
 __dentry_kill+0x4f4/0x650 fs/dcache.c:596
 dentry_kill+0xbb/0x290
 dput+0x1f1/0x420 fs/dcache.c:888
 __fput+0x5ec/0x890 fs/file_table.c:288
 task_work_run+0x129/0x1a0 kernel/task_work.c:164
 tracehook_notify_resume include/linux/tracehook.h:189 [inline]
 exit_to_user_mode_loop+0x106/0x130 kernel/entry/common.c:175
 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:208
 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline]
 syscall_exit_to_user_mode+0x5d/0x250 kernel/entry/common.c:301
 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f72fc1b89da
Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 03 7f 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 63 7f 02 00 8b 44 24
RSP: 002b:00007fff397e2030 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007f72fc1b89da
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004
RBP: 00007f72fc2da980 R08: 0000001b31120000 R09: 000000000000046b
R10: 00000000842a640a R11: 0000000000000293 R12: 00000000001bf7f8
R13: ffffffffffffffff R14: 00007f72fbd3d000 R15: 00000000001bf28f
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/08/30 00:27 linux-5.15.y 5ddfe5cc8716 ce731e62 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in dput
2023/07/20 21:18 linux-5.15.y d54cfc420586 f49af159 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in dput
* Struck through repros no longer work on HEAD.