syzbot


INFO: rcu detected stall in sys_rename (6)

Status: auto-obsoleted due to no activity on 2025/03/09 06:53
Subsystems: fs
[Documentation on labels]
First crash: 264d, last: 93d
Similar bugs (9)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_rename (2) kernel 2 1890d 1890d 0/28 closed as invalid on 2020/01/09 08:13
upstream INFO: rcu detected stall in sys_rename (5) fs 2 470d 532d 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 861d 861d 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 962d 1036d 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 522d 522d 0/3 auto-obsoleted due to no activity on 2024/01/14 17:35
upstream INFO: rcu detected stall in sys_rename kernel 9 1924d 1926d 0/28 closed as invalid on 2019/12/04 14:14
linux-5.15 INFO: rcu detected stall in sys_rename (2) 1 216d 216d 0/3 auto-obsoleted due to no activity on 2024/11/15 17:39
linux-5.15 INFO: rcu detected stall in sys_rename (3) 1 27d 27d 0/3 upstream: reported on 2025/02/12 15:25
android-5-15 BUG: soft lockup in sys_rename 2 312d 317d 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: 	(detected by 0, t=10502 jiffies, g=49381, q=1143 ncpus=2)
rcu: All QSes seen, last rcu_preempt kthread activity 10478 (4295020450-4295009972), jiffies_till_next_fqs=1, root ->qsmask 0x0
rcu: rcu_preempt kthread starved for 10478 jiffies! g49381 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1
rcu: 	Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior.
rcu: RCU grace-period kthread stack dump:
task:rcu_preempt     state:R  running task     stack:27216 pid:17    tgid:17    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5369 [inline]
 __schedule+0xe58/0x5ad0 kernel/sched/core.c:6756
 __schedule_loop kernel/sched/core.c:6833 [inline]
 schedule+0xe7/0x350 kernel/sched/core.c:6848
 schedule_timeout+0x124/0x280 kernel/time/sleep_timeout.c:99
 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2045
 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2247
 kthread+0x2c1/0x3a0 kernel/kthread.c:389
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 5968 Comm: udevd Not tainted 6.13.0-rc1-syzkaller-00378-g62b5a46999c7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:netdev_get_num_tc include/linux/netdevice.h:2509 [inline]
RIP: 0010:advance_sched+0x9b/0xc60 net/sched/sch_taprio.c:918
Code: 58 40 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 80 3c 02 00 0f 85 32 0b 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 1b <48> 8d 7b 36 48 89 fa 48 c1 ea 03 0f b6 14 02 48 89 f8 83 e0 07 83
RSP: 0018:ffffc90000a18d80 EFLAGS: 00000046
RAX: dffffc0000000000 RBX: ffff88805dcf4000 RCX: 1ffff11004bc2a69
RDX: 1ffff1100bbb5000 RSI: ffffffff8941ef8a RDI: ffff888029ef9040
RBP: 000000000003d90c R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000002 R12: ffff888029ef9340
R13: ffff8880b872cb00 R14: ffff888029ef9340 R15: ffffffff8941ef70
FS:  00007fe0e4ee4280(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000032b68000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 __run_hrtimer kernel/time/hrtimer.c:1739 [inline]
 __hrtimer_run_queues+0x20a/0xae0 kernel/time/hrtimer.c:1803
 hrtimer_interrupt+0x392/0x8e0 kernel/time/hrtimer.c:1865
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline]
 __sysvec_apic_timer_interrupt+0x10f/0x400 arch/x86/kernel/apic/apic.c:1055
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline]
 sysvec_apic_timer_interrupt+0x9f/0xc0 arch/x86/kernel/apic/apic.c:1049
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x31/0x80 kernel/locking/spinlock.c:194
Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 06 24 4a f6 48 89 df e8 4e a3 4a f6 f7 c5 00 02 00 00 75 23 9c 58 f6 c4 02 75 37 <bf> 01 00 00 00 e8 d5 97 3b f6 65 8b 05 c6 51 d7 74 85 c0 74 16 5b
RSP: 0018:ffffc900021af740 EFLAGS: 00000246
RAX: 0000000000000002 RBX: ffffffff9a9bc6e8 RCX: 1ffffffff20bda11
RDX: 0000000000000000 RSI: ffffffff8b6cd840 RDI: ffffffff8bd1b6a0
RBP: 0000000000000206 R08: 0000000000000001 R09: 0000000000000001
R10: ffffffff905f12d7 R11: 0000000000000002 R12: 00000000000001d8
R13: 0000000000000001 R14: dffffc0000000000 R15: 0000000000000206
 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline]
 avc_reclaim_node security/selinux/avc.c:482 [inline]
 avc_alloc_node+0x365/0x5a0 security/selinux/avc.c:501
 avc_insert security/selinux/avc.c:612 [inline]
 avc_compute_av+0xfd/0x5c0 security/selinux/avc.c:987
 avc_perm_nonode+0xaa/0x170 security/selinux/avc.c:1110
 avc_has_perm_noaudit+0x2d2/0x3a0 security/selinux/avc.c:1153
 selinux_inode_permission+0x361/0x590 security/selinux/hooks.c:3118
 security_inode_permission+0xda/0x260 security/security.c:2319
 inode_permission fs/namei.c:600 [inline]
 inode_permission+0x17a/0x5f0 fs/namei.c:567
 may_lookup fs/namei.c:1819 [inline]
 link_path_walk.part.0.constprop.0+0x1d7/0xd40 fs/namei.c:2425
 link_path_walk fs/namei.c:2409 [inline]
 path_parentat+0xaa/0x1b0 fs/namei.c:2681
 __filename_parentat+0x22d/0x680 fs/namei.c:2705
 filename_parentat fs/namei.c:2723 [inline]
 do_renameat2+0x204/0xdd0 fs/namei.c:5131
 __do_sys_rename fs/namei.c:5271 [inline]
 __se_sys_rename fs/namei.c:5269 [inline]
 __x64_sys_rename+0x7d/0xa0 fs/namei.c:5269
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe0e4a9a93b
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:00007ffd20761748 EFLAGS: 00000206 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fe0e4a9a93b
RDX: 00005616013af1fa RSI: 00007ffd20761768 RDI: 00007ffd20761b68
RBP: 00005613600d3320 R08: 0000000000000006 R09: 0b7b40e52512e21c
R10: 000000000000010f R11: 0000000000000206 R12: 00005613600da490
R13: 00007ffd20761768 R14: 00007ffd20761b68 R15: 000056135ef32ec8
 </TASK>

Crashes (13):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/09 06:53 upstream 62b5a46999c7 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in sys_rename
2024/11/30 23:51 upstream 0e287d31b62b 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in sys_rename
2024/11/26 11:34 upstream 2c22dc1ee3a1 11dbc254 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_rename
2024/10/30 02:53 upstream e42b1a9a2557 66aeb999 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in sys_rename
2024/10/16 23:26 upstream c964ced77262 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in sys_rename
2024/08/29 10:39 upstream 928f79a188aa ef3de9e8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in sys_rename
2024/07/01 04:44 upstream 3ffea9a7a6f7 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_rename
2024/06/20 21:57 upstream 2ccbdf43d5e7 dac2aa43 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_rename
2024/10/27 07:34 net-next 6d858708d465 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: rcu detected stall in sys_rename
2024/10/10 11:37 net-next 09cf85ef183a 0278d004 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: rcu detected stall in sys_rename
2024/10/21 00:35 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 07b887f8236e cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in sys_rename
2024/10/19 01:55 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 07b887f8236e cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in sys_rename
2024/10/16 05:20 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 64f3b5a6bc49 bde2d81c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in sys_rename
* Struck through repros no longer work on HEAD.