syzbot


INFO: rcu detected stall in sys_sendfile64 (5)

Status: auto-obsoleted due to no activity on 2024/01/14 10:13
Subsystems: fs
[Documentation on labels]
First crash: 168d, last: 168d
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_sendfile64 (3) mm 2 736d 736d 0/26 auto-closed as invalid on 2022/06/25 08:10
upstream INFO: rcu detected stall in sys_sendfile64 (4) net 1 477d 477d 0/26 auto-obsoleted due to no activity on 2023/04/18 07:19
upstream INFO: rcu detected stall in sys_sendfile64 lsm C 4 1960d 1960d 0/26 closed as invalid on 2018/12/19 10:12
upstream INFO: rcu detected stall in sys_sendfile64 (2) C done error 100 846d 1929d 0/26 closed as invalid on 2022/02/08 10:47
linux-4.19 INFO: rcu detected stall in sys_sendfile64 (2) 3 1505d 1557d 0/1 auto-closed as invalid on 2020/07/16 06:45
linux-6.1 INFO: rcu detected stall in sys_sendfile64 1 351d 351d 0/3 auto-obsoleted due to no activity on 2023/08/24 12:36
linux-4.19 INFO: rcu detected stall in sys_sendfile64 1 1839d 1839d 0/1 auto-closed as invalid on 2019/10/16 04:09

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	(detected by 1, t=10502 jiffies, g=90801, q=97 ncpus=2)
rcu: All QSes seen, last rcu_preempt kthread activity 10500 (4295107206-4295096706), jiffies_till_next_fqs=1, root ->qsmask 0x0
rcu: rcu_preempt kthread starved for 10500 jiffies! g90801 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0
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:28752 pid:17    tgid:17    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5376 [inline]
 __schedule+0xede/0x5b00 kernel/sched/core.c:6688
 __schedule_loop kernel/sched/core.c:6763 [inline]
 schedule+0xe7/0x270 kernel/sched/core.c:6778
 schedule_timeout+0x136/0x290 kernel/time/timer.c:2167
 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:1631
 rcu_gp_kthread+0x245/0x380 kernel/rcu/tree.c:1830
 kthread+0x2c1/0x3a0 kernel/kthread.c:388
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 17938 Comm: syz-executor.4 Not tainted 6.7.0-rc1-next-20231115-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
RIP: 0010:lock_release+0x39/0x6a0 kernel/locking/lockdep.c:5761
Code: 57 41 56 41 55 41 54 49 89 fc 55 53 48 81 ec 90 00 00 00 48 8d 6c 24 10 48 89 74 24 08 48 c7 44 24 10 b3 8a b5 41 48 c1 ed 03 <48> c7 44 24 18 20 dc 81 8c 48 01 e8 48 c7 44 24 20 30 69 68 81 c7
RSP: 0018:ffffc90000007ce8 EFLAGS: 00000806
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff816788de
RDX: 0000000000000001 RSI: ffffffff817aa46f RDI: ffffffff8cfd9248
RBP: 1ffff92000000f9f R08: 0000000000000000 R09: fffffbfff23e33e9
R10: ffffffff91f19f4f R11: 0000000000000001 R12: ffffffff8cfd9248
R13: dffffc0000000000 R14: ffff8880b982b940 R15: ffffffff817aa440
FS:  00007fbf4501a6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b31431000 CR3: 00000000796fa000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 seqcount_lockdep_reader_access include/linux/seqlock.h:103 [inline]
 ktime_get+0x91/0x490 kernel/time/timekeeping.c:846
 tick_nohz_highres_handler+0x2f/0x110 kernel/time/tick-sched.c:1507
 __run_hrtimer kernel/time/hrtimer.c:1688 [inline]
 __hrtimer_run_queues+0x654/0xc20 kernel/time/hrtimer.c:1752
 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1814
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1065 [inline]
 __sysvec_apic_timer_interrupt+0x10c/0x410 arch/x86/kernel/apic/apic.c:1082
 sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1076
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:debug_check_no_obj_freed+0xa/0x4c0 lib/debugobjects.c:1062
Code: e9 5f fe ff ff e8 e6 85 17 06 e8 c1 2f 75 fd e9 00 ff ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 90 66 0f 1f 00 8b 05 96 54 af 0a <85> c0 75 01 c3 48 01 fe 48 89 f8 41 57 48 8d 96 ff 0f 00 00 48 25
RSP: 0018:ffffc90005f1f8e0 EFLAGS: 00000246
RAX: 0000000000000001 RBX: ffff8880366ca600 RCX: dffffc0000000000
RDX: ffff88801c0fe448 RSI: 0000000000000100 RDI: ffff8880366ca600
RBP: 0000000000000000 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000002 R12: 0000000000000000
R13: 0000000000000000 R14: ffffc90005f1f958 R15: ffff888013041b40
 slab_free_hook mm/slub.c:1784 [inline]
 slab_free_freelist_hook+0x18c/0x1e0 mm/slub.c:1835
 slab_free mm/slub.c:3784 [inline]
 __kmem_cache_free+0xc0/0x180 mm/slub.c:3797
 iter_file_splice_write+0x5ab/0xc00 fs/splice.c:764
 do_splice_from fs/splice.c:933 [inline]
 direct_splice_actor+0x118/0x180 fs/splice.c:1142
 splice_direct_to_actor+0x346/0xa30 fs/splice.c:1088
 do_splice_direct+0x1af/0x280 fs/splice.c:1194
 do_sendfile+0xb3a/0x1310 fs/read_write.c:1254
 __do_sys_sendfile64 fs/read_write.c:1322 [inline]
 __se_sys_sendfile64 fs/read_write.c:1308 [inline]
 __x64_sys_sendfile64+0x1d6/0x220 fs/read_write.c:1308
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x40/0x110 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x62/0x6a
RIP: 0033:0x7fbf4427cae9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fbf4501a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007fbf4439c050 RCX: 00007fbf4427cae9
RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000005
RBP: 00007fbf442c847a R08: 0000000000000000 R09: 0000000000000000
R10: 000080001d00c0d0 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007fbf4439c050 R15: 00007ffd113c9448
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/11/15 10:10 linux-next bc962b35b139 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in sys_sendfile64
* Struck through repros no longer work on HEAD.