syzbot


INFO: rcu detected stall in sys_newfstat

Status: upstream: reported on 2025/06/09 10:15
Reported-by: syzbot+26fdb539432016a3def1@syzkaller.appspotmail.com
First crash: 301d, last: 1d02h
Similar bugs (5)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: rcu detected stall in sys_newfstat 1 3 46d 113d 0/3 upstream: reported on 2025/12/14 02:05
linux-6.6 INFO: rcu detected stall in sys_newfstat 1 1 286d 286d 0/2 auto-obsoleted due to no activity on 2025/10/02 03:58
upstream INFO: rcu detected stall in sys_newfstat (4) mm 1 C error 17 5d16h 105d 0/29 upstream: reported C repro on 2025/12/22 03:48
upstream INFO: rcu detected stall in sys_newfstat (2) mm 1 1 2280d 2280d 0/29 closed as invalid on 2020/01/08 05:33
upstream INFO: rcu detected stall in sys_newfstat mm 1 1 2315d 2315d 0/29 closed as invalid on 2019/12/04 14:04

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	0-....: (1 GPs behind) idle=083/1/0x4000000000000002 softirq=61733/61734 fqs=2099 
	(detected by 1, t=10505 jiffies, g=78741, q=1068)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 3560 Comm: udevd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026
RIP: 0010:memset_erms+0x0/0x10 arch/x86/lib/memset_64.S:61
Code: 89 f9 48 89 d1 83 e2 07 48 c1 e9 03 40 0f b6 f6 48 b8 01 01 01 01 01 01 01 01 48 0f af c6 f3 48 ab 89 d1 f3 aa 4c 89 c8 c3 90 <49> 89 f9 40 88 f0 48 89 d1 f3 aa 4c 89 c8 c3 90 49 89 fa 40 0f b6
RSP: 0018:ffffc90000006a18 EFLAGS: 00000002
RAX: 0000000000000001 RBX: ffffc90000006b40 RCX: ffffffff813516bd
RDX: 0000000000000010 RSI: 0000000000000000 RDI: ffffc90000006b90
RBP: ffffc90000006b88 R08: ffffc90000006b9f R09: 1ffff92000000d73
R10: dffffc0000000000 R11: fffff52000000d74 R12: 1ffffffff1c0873f
R13: dffffc0000000000 R14: ffffc90000006b90 R15: ffffc90000006b75
FS:  00007f7bd2ca0880(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000002a82e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 unwind_next_frame+0xa3d/0x1d90 arch/x86/kernel/unwind_orc.c:547
 perf_callchain_kernel+0x449/0x720 arch/x86/events/core.c:2783
 get_perf_callchain+0x356/0x460 kernel/events/callchain.c:200
 perf_callchain kernel/events/core.c:7606 [inline]
 perf_prepare_sample+0x352/0x1cd0 kernel/events/core.c:7633
 __perf_event_output kernel/events/core.c:7802 [inline]
 perf_event_output_forward+0x185/0x2e0 kernel/events/core.c:7822
 __perf_event_overflow+0x364/0x530 kernel/events/core.c:9515
 perf_tp_event+0x383/0xbf0 kernel/events/core.c:10047
 perf_trace_run_bpf_submit+0xf3/0x1c0 kernel/events/core.c:10021
 perf_trace_preemptirq_template+0x2aa/0x360 include/trace/events/preemptirq.h:14
 trace_irq_enable_rcuidle+0x108/0x180 include/trace/events/preemptirq.h:40
 trace_hardirqs_on+0x57/0x80 kernel/trace/trace_preemptirq.c:44
 asm_sysvec_irq_work+0x16/0x20 arch/x86/include/asm/idtentry.h:713
RIP: 0010:rcu_read_unlock_special+0x7f/0x4a0 kernel/rcu/tree_plugin.h:674
Code: eb 03 48 b8 f1 f1 f1 f1 f8 f2 f2 f2 4a 89 04 2b 42 c7 44 2b 08 f8 f3 f3 f3 65 44 8b 35 12 f2 9c 7e 41 f7 c6 00 00 f0 00 74 40 <48> c7 44 24 20 0e 36 e0 45 4a c7 04 2b 00 00 00 00 42 c7 44 2b 08
RSP: 0018:ffffc90000007440 EFLAGS: 00000206
RAX: e1b74600d646c800 RBX: 1ffff92000000e8c RCX: e1b74600d646c800
RDX: dffffc0000000000 RSI: ffffffff8a2b2780 RDI: ffffffff8a79f980
RBP: ffffc90000007520 R08: ffffffff901d4167 R09: 1ffffffff203a82c
R10: dffffc0000000000 R11: fffffbfff203a82d R12: ffffffff8c322f00
R13: dffffc0000000000 R14: 0000000000000246 R15: 0000000000000001
 __rcu_read_unlock+0x78/0xd0 kernel/rcu/tree_plugin.h:422
 rcu_read_unlock include/linux/rcupdate.h:772 [inline]
 nf_hook+0x2de/0x360 include/linux/netfilter.h:259
 __ip_local_out+0x4b7/0x5e0 net/ipv4/ip_output.c:115
 ip_local_out net/ipv4/ip_output.c:124 [inline]
 ip_send_skb+0x48/0x1c0 net/ipv4/ip_output.c:1588
 __icmp_send+0xcea/0x10f0 net/ipv4/icmp.c:777
 ipv4_send_dest_unreach net/ipv4/route.c:1270 [inline]
 ipv4_link_failure+0x5e0/0x980 net/ipv4/route.c:1277
 dst_link_failure include/net/dst.h:422 [inline]
 arp_error_report+0x10e/0x150 net/ipv4/arp.c:295
 neigh_invalidate+0x22c/0x440 net/core/neighbour.c:1001
 neigh_timer_handler+0x910/0xfe0 net/core/neighbour.c:1088
 call_timer_fn+0x17b/0x540 kernel/time/timer.c:1648
 expire_timers kernel/time/timer.c:1699 [inline]
 __run_timers+0x53e/0x800 kernel/time/timer.c:1970
 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1983
 handle_softirqs+0x339/0x830 kernel/softirq.c:576
 __do_softirq kernel/softirq.c:610 [inline]
 invoke_softirq kernel/softirq.c:450 [inline]
 __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:659
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:671
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
 sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:kasan_quarantine_put+0x84/0x220 mm/kasan/quarantine.c:234
Code: e8 c1 18 c1 ff 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 0f 85 83 00 00 00 41 f7 c7 00 02 00 00 74 01 fb 31 c0 <48> 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f c3 48 8d 80 40 62 03 00 45
RSP: 0018:ffffc90002e7f948 EFLAGS: 00000206
RAX: e1b74600d646c801 RBX: ffff888025b20000 RCX: e1b74600d646c800
RDX: dffffc0000000000 RSI: ffffffff8a2b2780 RDI: ffffffff8a79f980
RBP: ffffc90002e7f9d8 R08: ffff8880b903b30b R09: 1ffff11017207661
R10: dffffc0000000000 R11: ffffed1017207662 R12: ffff888016c42140
R13: ffff888025b20000 R14: 00000000000a1e20 R15: 0000000000000286
 kasan_slab_free include/linux/kasan.h:230 [inline]
 slab_free_hook mm/slub.c:1710 [inline]
 slab_free_freelist_hook+0xea/0x170 mm/slub.c:1736
 slab_free mm/slub.c:3504 [inline]
 kfree+0xef/0x2a0 mm/slub.c:4564
 tomoyo_realpath_from_path+0x5d8/0x610 security/tomoyo/realpath.c:291
 tomoyo_get_realpath security/tomoyo/file.c:151 [inline]
 tomoyo_path_perm+0x23f/0x5d0 security/tomoyo/file.c:822
 security_inode_getattr+0xcf/0x120 security/security.c:1348
 vfs_getattr+0x26/0x3a0 fs/stat.c:157
 vfs_fstat fs/stat.c:182 [inline]
 __do_sys_newfstat fs/stat.c:421 [inline]
 __se_sys_newfstat fs/stat.c:418 [inline]
 __x64_sys_newfstat+0x137/0x210 fs/stat.c:418
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f7bd2df8ad7
Code: 73 01 c3 48 8b 0d 21 f3 0d 00 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 05 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 8b 15 f1 f2 0d 00 f7 d8 64 89 02 b8
RSP: 002b:00007ffd51c14f68 EFLAGS: 00000202 ORIG_RAX: 0000000000000005
RAX: ffffffffffffffda RBX: 000000000000000d RCX: 00007f7bd2df8ad7
RDX: 0000000000090800 RSI: 00007ffd51c14f70 RDI: 000000000000000d
RBP: 00007ffd51c14f70 R08: 0000000000000000 R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000202 R12: 000055aa746be7b0
R13: 00000000000000ff R14: 000055aa4a0eebe0 R15: 00007ffd51c152a0
 </TASK>

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/04/05 12:23 linux-5.15.y 91d48252ad4b 4440e7c2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_newfstat
2026/01/19 08:27 linux-5.15.y 68efe5a6c16a 20d37d28 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_newfstat
2025/12/09 14:16 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_newfstat
2025/09/08 05:43 linux-5.15.y 7a6c2d093c45 d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_newfstat
2025/08/30 12:10 linux-5.15.y 01879f56bdde 807a3b61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_newfstat
2025/06/09 10:14 linux-5.15.y 1c700860e8bc 4826c28e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_newfstat
2025/07/02 00:27 linux-5.15.y 3dea0e7f549e 091a06cd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: rcu detected stall in sys_newfstat
* Struck through repros no longer work on HEAD.