syzbot


INFO: rcu detected stall in sys_rename (2)

Status: auto-obsoleted due to no activity on 2024/11/15 17:39
Reported-by: syzbot+eaaa06b11c5a3975197b@syzkaller.appspotmail.com
First crash: 105d, last: 105d
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_rename (2) kernel 2 1779d 1779d 0/28 closed as invalid on 2020/01/09 08:13
upstream INFO: rcu detected stall in sys_rename (5) fs 2 360d 421d 0/28 auto-obsoleted due to no activity on 2024/02/25 12:55
upstream INFO: rcu detected stall in sys_rename (4) fs 1 751d 751d 0/28 auto-obsoleted due to no activity on 2023/02/25 08:48
upstream INFO: rcu detected stall in sys_rename (3) fs 3 851d 925d 0/28 auto-obsoleted due to no activity on 2022/10/21 16:10
linux-5.15 INFO: rcu detected stall in sys_rename 1 411d 411d 0/3 auto-obsoleted due to no activity on 2024/01/14 17:35
upstream INFO: rcu detected stall in sys_rename kernel 9 1814d 1815d 0/28 closed as invalid on 2019/12/04 14:14
android-5-15 BUG: soft lockup in sys_rename 2 201d 206d 0/2 auto-obsoleted due to no activity on 2024/08/01 16:15

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	1-...0: (0 ticks this GP) idle=6f3/1/0x4000000000000000 softirq=7855/7857 fqs=5250 
	(detected by 0, t=10502 jiffies, g=7829, q=476)
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 3861 Comm: udevd Not tainted 5.15.164-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
RIP: 0010:enqueue_hrtimer+0x184/0x390 kernel/time/hrtimer.c:1090
Code: 83 c5 44 48 89 e8 48 c1 e8 03 42 0f b6 04 20 84 c0 0f 85 98 00 00 00 09 5d 00 49 8d 7e 38 48 89 f8 48 c1 e8 03 42 0f b6 04 20 <84> c0 0f 85 9a 00 00 00 41 c6 46 38 01 49 83 c5 50 4c 89 ef 4c 89
RSP: 0018:ffffc90000dd0d28 EFLAGS: 00000806
RAX: 0000000000000000 RBX: 0000000000000002 RCX: 0000000000000001
RDX: 0000000080010002 RSI: 0000000000000001 RDI: ffff88807ebc4b78
RBP: ffff8880b9b2a244 R08: ffffffff816f955e R09: fffffbfff1bd2986
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff8880b9b2a300 R14: ffff88807ebc4b40 R15: 1ffff11017365460
FS:  00007fe7ff95cc80(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000061c41000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 __run_hrtimer kernel/time/hrtimer.c:1703 [inline]
 __hrtimer_run_queues+0x6b6/0xcf0 kernel/time/hrtimer.c:1750
 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812
 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:orc_ip arch/x86/kernel/unwind_orc.c:30 [inline]
RIP: 0010:__orc_find arch/x86/kernel/unwind_orc.c:52 [inline]
RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:178 [inline]
RIP: 0010:unwind_next_frame+0x51d/0x1fa0 arch/x86/kernel/unwind_orc.c:448
Code: 49 89 fe 48 89 e8 4c 29 f0 48 89 c1 48 c1 f9 02 48 c1 e8 3f 48 01 c8 48 83 e0 fe 49 8d 1c 46 48 89 d8 48 c1 e8 03 0f b6 04 10 <84> c0 75 27 48 63 03 48 01 d8 48 8d 4b 04 4c 39 e8 4c 0f 46 f1 48
RSP: 0018:ffffc90003227068 EFLAGS: 00000a02
RAX: 0000000000000000 RBX: ffffffff8dfd1a00 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: ffffffff8e684956 RDI: ffffffff8dfd1a00
RBP: ffffffff8dfd1a00 R08: 0000000000000001 R09: ffffc90003227210
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8dfd1a00
R13: ffffffff81ad25f8 R14: ffffffff8dfd1a00 R15: ffffc90003227120
 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122
 save_stack+0xf6/0x1e0 mm/page_owner.c:119
 __reset_page_owner+0x52/0x180 mm/page_owner.c:140
 reset_page_owner include/linux/page_owner.h:24 [inline]
 free_pages_prepare mm/page_alloc.c:1340 [inline]
 free_pcp_prepare mm/page_alloc.c:1391 [inline]
 free_unref_page_prepare+0xc34/0xcf0 mm/page_alloc.c:3317
 free_unref_page_list+0x1f7/0x8e0 mm/page_alloc.c:3433
 release_pages+0x1bb9/0x1f40 mm/swap.c:963
 __pagevec_release+0x80/0xf0 mm/swap.c:983
 pagevec_release include/linux/pagevec.h:81 [inline]
 shmem_undo_range+0x67a/0x1b50 mm/shmem.c:964
 shmem_truncate_range mm/shmem.c:1063 [inline]
 shmem_evict_inode+0x21b/0xa00 mm/shmem.c:1145
 evict+0x2a4/0x620 fs/inode.c:587
 __dentry_kill+0x436/0x650 fs/dcache.c:586
 dentry_kill+0xbb/0x290
 dput+0xd8/0x1a0 fs/dcache.c:893
 do_renameat2+0xe1c/0x1700 fs/namei.c:4987
 __do_sys_rename fs/namei.c:5031 [inline]
 __se_sys_rename fs/namei.c:5029 [inline]
 __x64_sys_rename+0x82/0x90 fs/namei.c:5029
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fe7ffa0b93b
Code: 48 8b 15 f0 64 15 00 83 c8 ff 64 83 3a 15 75 0e 48 8b 7c 24 08 e8 d5 d4 07 00 f7 d8 19 c0 48 83 c4 18 c3 b8 52 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 10 48 8b 15 be 64 15 00 f7 d8 64 89 02 48 83
RSP: 002b:00007ffe94b583d8 EFLAGS: 00000202 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe7ffa0b93b
RDX: 0000555b4a4eae58 RSI: 00007ffe94b583f8 RDI: 00007ffe94b587f8
RBP: 0000555e1faf2cf0 R08: 0000000000000006 R09: 7273cab50a822511
R10: 00000000000001b6 R11: 0000000000000202 R12: 0000555e1faf8870
R13: 00007ffe94b583f8 R14: 00007ffe94b587f8 R15: 0000555e1f859160
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/08/07 17:39 linux-5.15.y 7e89efd3ae1c 109d2082 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_rename
* Struck through repros no longer work on HEAD.