syzbot


INFO: rcu detected stall in sys_sendfile64 (4)

Status: auto-obsoleted due to no activity on 2023/04/18 07:19
Subsystems: net
[Documentation on labels]
First crash: 531d, last: 531d
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 790d 790d 0/27 auto-closed as invalid on 2022/06/25 08:10
upstream INFO: rcu detected stall in sys_sendfile64 lsm C 4 2015d 2014d 0/27 closed as invalid on 2018/12/19 10:12
upstream INFO: rcu detected stall in sys_sendfile64 (2) C done error 100 900d 1983d 0/27 closed as invalid on 2022/02/08 10:47
linux-4.19 INFO: rcu detected stall in sys_sendfile64 (2) 3 1559d 1611d 0/1 auto-closed as invalid on 2020/07/16 06:45
linux-6.1 INFO: rcu detected stall in sys_sendfile64 1 405d 405d 0/3 auto-obsoleted due to no activity on 2023/08/24 12:36
upstream INFO: rcu detected stall in sys_sendfile64 (5) fs 1 222d 222d 0/27 auto-obsoleted due to no activity on 2024/01/14 10:13
linux-4.19 INFO: rcu detected stall in sys_sendfile64 1 1893d 1893d 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: 	1-...!: (0 ticks this GP) idle=cecc/1/0x4000000000000000 softirq=71656/71656 fqs=0
	(detected by 0, t=10506 jiffies, g=119841, q=29 ncpus=2)
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 24507 Comm: syz-executor.3 Not tainted 6.2.0-rc3-syzkaller-00009-g5a41237ad1d4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:rcu_preempt_read_exit kernel/rcu/tree_plugin.h:382 [inline]
RIP: 0010:__rcu_read_unlock+0x2f/0x100 kernel/rcu/tree_plugin.h:421
Code: 41 55 41 54 53 49 bc 00 00 00 00 00 fc ff df 65 4c 8b 34 25 40 98 03 00 4d 8d ae 3c 04 00 00 4c 89 eb 48 c1 eb 03 42 8a 04 23 <84> c0 75 5e 41 8b 6d 00 ff cd 42 8a 04 23 84 c0 75 67 41 89 6d 00
RSP: 0018:ffffc900001e0c48 EFLAGS: 00000803
RAX: ffffffff88ee7b00 RBX: 1ffff11007f1e42f RCX: ffff88803f8f1d40
RDX: 0000000080010000 RSI: ffffffff8b697a60 RDI: ffffffff8b697a20
RBP: 0000000000028000 R08: ffffffff88b3d38b R09: ffffed1003809c2c
R10: ffffed1003809c2c R11: 1ffff11003809c2b R12: dffffc0000000000
R13: ffff88803f8f217c R14: ffff88803f8f1d40 R15: 1738dfa62c6b0000
FS:  00007f0bd6c22700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000201a9000 CR3: 00000000862e1000 CR4: 00000000003506e0
Call Trace:
 <IRQ>
 rcu_read_unlock include/linux/rcupdate.h:796 [inline]
 advance_sched+0x749/0x8c0 net/sched/sch_taprio.c:755
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x50b/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:lock_acquire+0x21e/0x400 kernel/locking/lockdep.c:5672
Code: 23 00 74 08 4c 89 f7 e8 00 ee 77 00 f6 44 24 61 02 0f 85 76 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 04 2c 00 00 00 00 43 c7 44 2c 09 00 00 00 00 43 c7 44 2c 11
RSP: 0018:ffffc9000b4bec80 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 1ffff92001697d9c RCX: ffff88803f8f2770
RDX: dffffc0000000000 RSI: ffffffff8b0daae0 RDI: ffffffff8b697a80
RBP: ffffc9000b4bedc8 R08: dffffc0000000000 R09: fffffbfff212e031
R10: fffffbfff212e031 R11: 1ffffffff212e030 R12: dffffc0000000000
R13: 1ffff92001697d98 R14: ffffc9000b4bece0 R15: 0000000000000246
 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:325
 rcu_read_lock include/linux/rcupdate.h:764 [inline]
 is_bpf_text_address+0x27/0x270 kernel/bpf/core.c:717
 kernel_text_address+0x9e/0xd0 kernel/extable.c:125
 __kernel_text_address+0x9/0x40 kernel/extable.c:79
 unwind_get_return_address+0x48/0x80 arch/x86/kernel/unwind_orc.c:342
 arch_stack_walk+0xf8/0x140 arch/x86/kernel/stacktrace.c:26
 stack_trace_save+0x12d/0x1f0 kernel/stacktrace.c:122
 save_stack+0xf5/0x1e0 mm/page_owner.c:127
 __set_page_owner+0x26/0x390 mm/page_owner.c:190
 prep_new_page mm/page_alloc.c:2531 [inline]
 get_page_from_freelist+0x72b/0x7a0 mm/page_alloc.c:4283
 __alloc_pages+0x259/0x560 mm/page_alloc.c:5549
 folio_alloc+0x1a/0x50 mm/mempolicy.c:2296
 filemap_alloc_folio+0xca/0x2c0 mm/filemap.c:972
 page_cache_ra_unbounded+0x212/0x820 mm/readahead.c:248
 page_cache_sync_readahead include/linux/pagemap.h:1210 [inline]
 filemap_get_pages+0x49b/0x1110 mm/filemap.c:2600
 filemap_read+0x3e7/0xee0 mm/filemap.c:2694
 call_read_iter include/linux/fs.h:2183 [inline]
 generic_file_splice_read+0x24e/0x650 fs/splice.c:309
 do_splice_to fs/splice.c:793 [inline]
 splice_direct_to_actor+0x41b/0xc00 fs/splice.c:865
 do_splice_direct+0x2a0/0x3f0 fs/splice.c:974
 do_sendfile+0x641/0xfd0 fs/read_write.c:1255
 __do_sys_sendfile64 fs/read_write.c:1323 [inline]
 __se_sys_sendfile64+0x178/0x1e0 fs/read_write.c:1309
 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:0x7f0bd5e8c0c9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f0bd6c22168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f0bd5fac120 RCX: 00007f0bd5e8c0c9
RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000007
RBP: 00007f0bd5ee7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 000080001d00c0d0 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffed236ff8f R14: 00007f0bd6c22300 R15: 0000000000022000
 </TASK>
rcu: rcu_preempt kthread starved for 10506 jiffies! g119841 f0x0 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:26488 pid:16    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5244 [inline]
 __schedule+0x9d1/0xe40 kernel/sched/core.c:6555
 schedule+0xcb/0x190 kernel/sched/core.c:6631
 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:2167
 rcu_gp_fqs_loop+0x309/0x1070 kernel/rcu/tree.c:1656
 rcu_gp_kthread+0xa5/0x390 kernel/rcu/tree.c:1855
 kthread+0x266/0x300 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.2.0-rc3-syzkaller-00009-g5a41237ad1d4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:22 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline]
RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:130 [inline]
RIP: 0010:acpi_safe_halt drivers/acpi/processor_idle.c:113 [inline]
RIP: 0010:acpi_idle_do_entry drivers/acpi/processor_idle.c:570 [inline]
RIP: 0010:acpi_idle_enter+0x43d/0x800 drivers/acpi/processor_idle.c:707
Code: ff e8 87 5f be f6 48 83 e3 08 44 8b 7c 24 04 0f 85 00 01 00 00 e8 73 20 c5 f6 66 90 e8 ac 5a be f6 0f 00 2d c5 35 a5 00 fb f4 <4c> 89 e3 48 c1 eb 03 42 80 3c 2b 00 74 08 4c 89 e7 e8 3d 13 15 f7
RSP: 0018:ffffffff8d207b80 EFLAGS: 000002d3
RAX: ffffffff8acf6d74 RBX: 0000000000000000 RCX: ffffffff8d2bb740
RDX: 0000000000000000 RSI: ffffffff8b0d9960 RDI: ffffffff8b697a80
RBP: ffffffff8d207c30 R08: ffffffff8acf6d59 R09: fffffbfff1a576e9
R10: fffffbfff1a576e9 R11: 1ffffffff1a576e8 R12: ffffffff8d207bc0
R13: dffffc0000000000 R14: ffff8880129de800 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000040 CR3: 00000000862e1000 CR4: 00000000003506f0
Call Trace:
 <TASK>
 cpuidle_enter_state+0x50b/0xf50 drivers/cpuidle/cpuidle.c:239
 cpuidle_enter+0x59/0x90 drivers/cpuidle/cpuidle.c:356
 call_cpuidle kernel/sched/idle.c:155 [inline]
 cpuidle_idle_call kernel/sched/idle.c:236 [inline]
 do_idle+0x3da/0x680 kernel/sched/idle.c:303
 cpu_startup_entry+0x15/0x20 kernel/sched/idle.c:400
 rest_init+0x24f/0x270 init/main.c:732
 arch_call_rest_init+0xa/0x10 init/main.c:894
 start_kernel+0x48e/0x540 init/main.c:1148
 secondary_startup_64_no_verify+0xcf/0xdb
 </TASK>

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