syzbot


INFO: rcu detected stall in sys_unlink (2)

Status: auto-obsoleted due to no activity on 2023/04/22 20:06
Subsystems: kernel
[Documentation on labels]
First crash: 550d, last: 465d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_unlink (3) ext4 C error 20 18d 262d 0/26 upstream: reported C repro on 2023/08/13 23:42
linux-6.1 INFO: rcu detected stall in sys_unlink 2 29d 99d 0/3 upstream: reported on 2024/01/23 10:50
upstream INFO: rcu detected stall in sys_unlink kasan mm 1 641d 641d 0/26 auto-obsoleted due to no activity on 2022/10/29 07:23
linux-5.15 INFO: rcu detected stall in sys_unlink 1 50d 50d 0/3 upstream: reported on 2024/03/12 14:47
android-5-15 BUG: soft lockup in sys_unlink 4 20h15m 15d 0/2 premoderation: reported on 2024/04/16 22:56

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	0-...0: (2 ticks this GP) idle=df0c/1/0x4000000000000000 softirq=111227/111229 fqs=2100
	(detected by 1, t=10505 jiffies, g=165201, q=375 ncpus=2)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 5104 Comm: syz-executor.5 Not tainted 6.2.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
RIP: 0010:lock_acquire+0x6f/0x400 kernel/locking/lockdep.c:5636
Code: 48 c7 44 24 48 b4 05 de 8c 48 c7 44 24 50 d0 90 6c 81 4c 8d 6c 24 40 49 c1 ed 03 48 b8 f1 f1 f1 f1 00 f2 f2 f2 4b 89 44 25 00 <43> c7 44 25 09 f2 f2 f2 00 43 c7 44 25 11 f3 f3 f3 f3 66 43 c7 44
RSP: 0018:ffffc90000007ac0 EFLAGS: 00000806
RAX: f2f2f200f1f1f1f1 RBX: 0000000000000001 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff9237c9d8
RBP: ffffc90000007c08 R08: 0000000000000001 R09: 0000000000000000
R10: ffffed1006c4006b R11: 1ffff11006c40068 R12: dffffc0000000000
R13: 1ffff92000000f60 R14: ffffffff9237c9d8 R15: 0000000000000000
FS:  00005555564d4400(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f57db5ad988 CR3: 0000000034f39000 CR4: 00000000003526f0
Call Trace:
 <IRQ>
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
 _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162
 debug_object_deactivate+0x61/0x420 lib/debugobjects.c:739
 debug_hrtimer_deactivate kernel/time/hrtimer.c:425 [inline]
 debug_deactivate kernel/time/hrtimer.c:481 [inline]
 __run_hrtimer kernel/time/hrtimer.c:1653 [inline]
 __hrtimer_run_queues+0x2f9/0xa60 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x3a6/0xfd0 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline]
 __sysvec_apic_timer_interrupt+0xf9/0x280 arch/x86/kernel/apic/apic.c:1113
 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1107
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:refill_obj_stock+0x35e/0x5f0 mm/memcontrol.c:3348
Code: ff df 80 3c 03 00 74 08 4c 89 e7 e8 fc 92 f8 ff f6 44 24 61 02 0f 85 cb 01 00 00 41 f7 c6 00 02 00 00 74 01 fb 48 8b 7c 24 28 <48> 85 ff 74 05 e8 e8 b1 00 00 45 85 ff 0f 84 57 01 00 00 e8 9a 06
RSP: 0018:ffffc9000432f5e0 EFLAGS: 00000206
RAX: dffffc0000000000 RBX: 1ffff92000865ec8 RCX: ffffffff816cfb6a
RDX: dffffc0000000000 RSI: ffffffff8b0d9940 RDI: 0000000000000000
RBP: ffffc9000432f6e0 R08: dffffc0000000000 R09: fffffbfff212e644
R10: fffffbfff212e644 R11: 1ffffffff212e643 R12: ffffc9000432f640
R13: 00000000000010d0 R14: 0000000000000246 R15: 0000000000000001
 memcg_slab_free_hook+0x17b/0x200 mm/slab.h:579
 slab_free mm/slub.c:3782 [inline]
 kmem_cache_free+0x7d/0x1d0 mm/slub.c:3809
 free_buffer_head+0x45/0xb0 fs/buffer.c:2915
 try_to_free_buffers+0x335/0x640 fs/buffer.c:2856
 block_invalidate_folio+0x661/0xa60 fs/buffer.c:1526
 folio_invalidate mm/truncate.c:159 [inline]
 truncate_cleanup_folio+0x289/0x7b0 mm/truncate.c:179
 truncate_inode_pages_range+0x2c8/0x1650 mm/truncate.c:368
 ext4_evict_inode+0x405/0x10b0 fs/ext4/inode.c:221
 evict+0x2a4/0x620 fs/inode.c:664
 do_unlinkat+0x522/0x990 fs/namei.c:4327
 __do_sys_unlink fs/namei.c:4368 [inline]
 __se_sys_unlink fs/namei.c:4366 [inline]
 __x64_sys_unlink+0x45/0x50 fs/namei.c:4366
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f5c7468ba37
Code: 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 57 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffe60409f18 EFLAGS: 00000206 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f5c7468ba37
RDX: 00007ffe60409f50 RSI: 00007ffe60409f50 RDI: 00007ffe60409fe0
RBP: 00007ffe60409fe0 R08: 0000000000000001 R09: 00007ffe60409db0
R10: 00005555564d5853 R11: 0000000000000206 R12: 00007f5c746e6b24
R13: 00007ffe6040b0a0 R14: 00005555564d5810 R15: 00007ffe6040b0e0
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/22 19:56 upstream 2241ab53cbb5 559a440a .config console log report info ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_unlink
2022/10/30 00:51 upstream b229b6ca5abb 2a71366b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in sys_unlink
* Struck through repros no longer work on HEAD.