syzbot


INFO: rcu detected stall in sys_truncate

Status: auto-obsoleted due to no activity on 2025/11/15 00:49
Subsystems: fs
[Documentation on labels]
First crash: 117d, last: 117d

Sample crash report:
ip6_tunnel: ip6gretap4 xmit: Local address not yet configured!
ip6_tunnel: ip6gretap4 xmit: Local address not yet configured!
ip6_tunnel: ip6gretap4 xmit: Local address not yet configured!
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	1-...!: (1 GPs behind) idle=4c8c/1/0x4000000000000000 softirq=253978/253980 fqs=0
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P23220/1:b..l P23213/1:b..l
rcu: 	(detected by 0, t=10502 jiffies, g=264117, q=160 ncpus=2)
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 23219 Comm: syz.0.22447 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
RIP: 0010:__remove_hrtimer kernel/time/hrtimer.c:1115 [inline]
RIP: 0010:__run_hrtimer kernel/time/hrtimer.c:1757 [inline]
RIP: 0010:__hrtimer_run_queues+0x380/0xc60 kernel/time/hrtimer.c:1841
Code: bc 24 90 00 00 00 4c 89 e6 e8 bc 2e d2 09 84 c0 74 07 e8 13 16 12 00 eb 69 48 8b 54 24 38 48 89 d0 48 c1 e8 03 42 0f b6 04 28 <84> c0 0f 85 41 05 00 00 44 8b 2a bf 20 00 00 00 44 89 ee e8 28 1a
RSP: 0018:ffffc90000a08d40 EFLAGS: 00000802
RAX: 0000000000000000 RBX: ffff8880b8727c08 RCX: dffffc0000000000
RDX: ffff8880b8727bc8 RSI: ffff8880b8727c10 RDI: ffff888078598348
RBP: ffffc90000a08e90 R08: ffffffff8fc43c37 R09: 1ffffffff1f88786
R10: dffffc0000000000 R11: fffffbfff1f88787 R12: ffff888078598340
R13: dffffc0000000000 R14: ffff8880b8727ac0 R15: 0000000000000001
FS:  00007f78147a06c0(0000) GS:ffff888125ae0000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b31f1fff8 CR3: 00000000321e2000 CR4: 00000000003526f0
Call Trace:
 <IRQ>
 hrtimer_interrupt+0x45b/0xaa0 kernel/time/hrtimer.c:1903
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1041 [inline]
 __sysvec_apic_timer_interrupt+0x10b/0x410 arch/x86/kernel/apic/apic.c:1058
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1052 [inline]
 sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1052
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:__raw_read_unlock_irqrestore include/linux/rwlock_api_smp.h:242 [inline]
RIP: 0010:_raw_read_unlock_irqrestore+0xa8/0x110 kernel/locking/spinlock.c:268
Code: 74 05 e8 3b e0 40 f6 48 c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f6 44 24 21 02 75 4f f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 <e8> 53 77 09 f6 65 8b 05 0c 63 3d 07 85 c0 74 40 48 c7 04 24 0e 36
RSP: 0018:ffffc9000b337aa0 EFLAGS: 00000206
RAX: 3e96e3720a924a00 RBX: 0000000000000a02 RCX: 3e96e3720a924a00
RDX: 0000000000000006 RSI: ffffffff8dbc0fba RDI: 0000000000000001
RBP: ffffc9000b337b38 R08: ffffffff8fc43c37 R09: 1ffffffff1f88786
R10: dffffc0000000000 R11: fffffbfff1f88787 R12: dffffc0000000000
R13: ffff888079c07700 R14: ffff888054bd15e8 R15: 1ffff92001666f54
 kill_fasync_rcu fs/fcntl.c:1136 [inline]
 kill_fasync+0x258/0x4d0 fs/fcntl.c:1148
 lease_break_callback+0x26/0x30 fs/locks.c:558
 __break_lease+0x6a5/0x1620 fs/locks.c:1592
 vfs_truncate+0x428/0x520 fs/open.c:112
 do_sys_truncate+0xdb/0x190 fs/open.c:141
 __do_sys_truncate fs/open.c:153 [inline]
 __se_sys_truncate fs/open.c:151 [inline]
 __x64_sys_truncate+0x5b/0x70 fs/open.c:151
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f781398eba9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f78147a0038 EFLAGS: 00000246 ORIG_RAX: 000000000000004c
RAX: ffffffffffffffda RBX: 00007f7813bd5fa0 RCX: 00007f781398eba9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000040
RBP: 00007f7813a11e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f7813bd6038 R14: 00007f7813bd5fa0 R15: 00007ffceaa58e48
 </TASK>
task:syz.4.22443     state:R  running task     stack:26072 pid:23213 tgid:23209 ppid:5874   task_flags:0x400040 flags:0x00004002
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5360 [inline]
 __schedule+0x1798/0x4cc0 kernel/sched/core.c:6964
 preempt_schedule_irq+0xb5/0x150 kernel/sched/core.c:7291
 irqentry_exit+0x6f/0x90 kernel/entry/common.c:211
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:lock_is_held_type+0x137/0x190 kernel/locking/lockdep.c:5945
Code: 01 75 44 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 75 4c 41 f7 c4 00 02 00 00 74 01 fb 65 48 8b 05 f9 f9 3f 07 <48> 3b 44 24 08 75 43 89 d8 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f
RSP: 0018:ffffc9001bd3f4e0 EFLAGS: 00000206
RAX: 24b2cbf6b4bb1500 RBX: 0000000000000000 RCX: 24b2cbf6b4bb1500
RDX: ffff88807e0b9e40 RSI: ffffffff8ddb21f6 RDI: ffffffff8c038200
RBP: 00000000ffffffff R08: 0000000000000000 R09: ffffffff84b547bd
R10: ffffc9001bd3f618 R11: fffff520037a7ec7 R12: 0000000000000246
R13: ffff88807e0b9e40 R14: ffffffff8e374b18 R15: 0000000000000001
 lock_is_held include/linux/lockdep.h:249 [inline]
 task_css include/linux/cgroup.h:458 [inline]
 blkcg_css+0xcc/0x1d0 block/blk-cgroup.c:110
 bio_associate_blkg+0x15c/0x230 block/blk-cgroup.c:2171
 bio_init+0xc9/0x250 block/bio.c:266
 blkdev_issue_flush+0xab/0x110 block/blk-flush.c:472
 blkdev_fsync+0x99/0xd0 block/fops.c:625
 generic_write_sync+0x1b3/0x290 include/linux/fs.h:3048
 blkdev_write_iter+0x5fa/0x710 block/fops.c:803
 iter_file_splice_write+0x975/0x10e0 fs/splice.c:738
 do_splice_from fs/splice.c:938 [inline]
 direct_splice_actor+0x101/0x160 fs/splice.c:1161
 splice_direct_to_actor+0x5a8/0xcc0 fs/splice.c:1105
 do_splice_direct_actor fs/splice.c:1204 [inline]
 do_splice_direct+0x181/0x270 fs/splice.c:1230
 do_sendfile+0x4da/0x7e0 fs/read_write.c:1370
 __do_sys_sendfile64 fs/read_write.c:1431 [inline]
 __se_sys_sendfile64+0x13e/0x190 fs/read_write.c:1417
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fb86ed8eba9
RSP: 002b:00007fb86fbe6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007fb86efd5fa0 RCX: 00007fb86ed8eba9
RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000003
RBP: 00007fb86ee11e19 R08: 0000000000000000 R09: 0000000000000000
R10: 7fffffffffffffff R11: 0000000000000246 R12: 0000000000000000
R13: 00007fb86efd6038 R14: 00007fb86efd5fa0 R15: 00007fff41510168
 </TASK>
task:syz.6.22449     state:R  running task     stack:27464 pid:23220 tgid:23220 ppid:20953  task_flags:0x40004c flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5360 [inline]
 __schedule+0x1798/0x4cc0 kernel/sched/core.c:6964
 preempt_schedule_irq+0xb5/0x150 kernel/sched/core.c:7291
 irqentry_exit+0x6f/0x90 kernel/entry/common.c:211
 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:lock_acquire+0x175/0x360 kernel/locking/lockdep.c:5872
Code: 00 00 00 00 9c 8f 44 24 30 f7 44 24 30 00 02 00 00 0f 85 cd 00 00 00 f7 44 24 08 00 02 00 00 74 01 fb 65 48 8b 05 cb 8f 26 11 <48> 3b 44 24 58 0f 85 f2 00 00 00 48 83 c4 60 5b 41 5c 41 5d 41 5e
RSP: 0018:ffffc9001bfd7480 EFLAGS: 00000206
RAX: d221dbbb63358200 RBX: 0000000000000000 RCX: d221dbbb63358200
RDX: 0000000000000000 RSI: ffffffff8ddb21f6 RDI: ffffffff8c038200
RBP: ffffffff8210948c R08: 0000000000000000 R09: ffffffff8210948c
R10: ffffc9001bfd77e0 R11: fffff520037faefe R12: 0000000000000002
R13: ffffffff8e33d660 R14: 0000000000000000 R15: 0000000000000246
 rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
 rcu_read_lock include/linux/rcupdate.h:841 [inline]
 ___pte_offset_map+0x4c/0x340 mm/pgtable-generic.c:286
 __pte_offset_map include/linux/mm.h:3129 [inline]
 __pte_offset_map_lock+0x46/0x210 mm/pgtable-generic.c:403
 pte_offset_map_lock include/linux/mm.h:3144 [inline]
 zap_pte_range mm/memory.c:1840 [inline]
 zap_pmd_range mm/memory.c:1946 [inline]
 zap_pud_range mm/memory.c:1975 [inline]
 zap_p4d_range mm/memory.c:1996 [inline]
 unmap_page_range+0x3b97/0x4370 mm/memory.c:2017
 unmap_single_vma mm/memory.c:2060 [inline]
 unmap_vmas+0x399/0x580 mm/memory.c:2104
 exit_mmap+0x240/0xb40 mm/mmap.c:1280
 __mmput+0x118/0x430 kernel/fork.c:1148
 exit_mm+0x1da/0x2c0 kernel/exit.c:582
 do_exit+0x648/0x2300 kernel/exit.c:954
 do_group_exit+0x21c/0x2d0 kernel/exit.c:1107
 __do_sys_exit_group kernel/exit.c:1118 [inline]
 __se_sys_exit_group kernel/exit.c:1116 [inline]
 __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1116
 x64_sys_call+0x21f7/0x2200 arch/x86/include/generated/asm/syscalls_64.h:232
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f6a9978eba9
RSP: 002b:00007ffdb9f82cd8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f6a9978eba9
RDX: 0000000000000064 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007ffdb9f82d3c R08: 00000004b9f82dcf R09: 00000000000927c0
R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000092
R13: 00000000000927c0 R14: 000000000016b1fd R15: 00007ffdb9f82d90
 </TASK>
rcu: rcu_preempt kthread starved for 10502 jiffies! g264117 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:27256 pid:16    tgid:16    ppid:2      task_flags:0x208040 flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5360 [inline]
 __schedule+0x1798/0x4cc0 kernel/sched/core.c:6964
 __schedule_loop kernel/sched/core.c:7046 [inline]
 schedule+0x165/0x360 kernel/sched/core.c:7061
 schedule_timeout+0x12b/0x270 kernel/time/sleep_timeout.c:99
 rcu_gp_fqs_loop+0x301/0x1540 kernel/rcu/tree.c:2083
 rcu_gp_kthread+0x99/0x390 kernel/rcu/tree.c:2285
 kthread+0x711/0x8a0 kernel/kthread.c:463
 ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
CPU: 0 UID: 0 PID: 23206 Comm: syz.2.22442 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
RIP: 0010:csd_lock_wait kernel/smp.c:342 [inline]
RIP: 0010:smp_call_function_many_cond+0xd38/0x12d0 kernel/smp.c:877
Code: 89 ee 83 e6 01 31 ff e8 e6 7f 0b 00 41 83 e5 01 49 bd 00 00 00 00 00 fc ff df 75 07 e8 91 7b 0b 00 eb 38 f3 90 42 0f b6 04 2b <84> c0 75 11 41 f7 04 24 01 00 00 00 74 1e e8 75 7b 0b 00 eb e4 44
RSP: 0018:ffffc9000b367340 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 1ffff110170e8005 RCX: ffff88802f87dac0
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc9000b3674c0 R08: ffffffff8fc43c37 R09: 1ffffffff1f88786
R10: dffffc0000000000 R11: fffffbfff1f88787 R12: ffff8880b8740028
R13: dffffc0000000000 R14: ffff8880b863b240 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff8881259e0000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555590c795c8 CR3: 000000000e138000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1044
 __flush_tlb_multi arch/x86/include/asm/paravirt.h:91 [inline]
 flush_tlb_multi arch/x86/mm/tlb.c:1361 [inline]
 flush_tlb_mm_range+0x6b1/0x12d0 arch/x86/mm/tlb.c:1451
 tlb_flush arch/x86/include/asm/tlb.h:23 [inline]
 tlb_flush_mmu_tlbonly include/asm-generic/tlb.h:490 [inline]
 tlb_flush_mmu+0x1a7/0x680 mm/mmu_gather.c:403
 tlb_finish_mmu+0xc3/0x1d0 mm/mmu_gather.c:497
 free_ldt_pgtables+0x17b/0x320 arch/x86/kernel/ldt.c:411
 arch_exit_mmap arch/x86/include/asm/mmu_context.h:234 [inline]
 exit_mmap+0x174/0xb40 mm/mmap.c:1266
 __mmput+0x118/0x430 kernel/fork.c:1148
 exit_mm+0x1da/0x2c0 kernel/exit.c:582
 do_exit+0x648/0x2300 kernel/exit.c:954
 do_group_exit+0x21c/0x2d0 kernel/exit.c:1107
 get_signal+0x1286/0x1340 kernel/signal.c:3034
 arch_do_signal_or_restart+0xa0/0x790 arch/x86/kernel/signal.c:337
 exit_to_user_mode_loop+0x75/0x130 kernel/entry/common.c:40
 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline]
 syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline]
 syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline]
 do_syscall_64+0x2bd/0xfa0 arch/x86/entry/syscall_64.c:100
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f70c958eba9
Code: Unable to access opcode bytes at 0x7f70c958eb7f.
RSP: 002b:00007f70ca4ca0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f70c97d5fa8 RCX: 00007f70c958eba9
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f70c97d5fa8
RBP: 00007f70c97d5fa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f70c97d6038 R14: 00007ffdadd1f1e0 R15: 00007ffdadd1f2c8
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/09/16 00:46 linux-next c3067c2c3831 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in sys_truncate
* Struck through repros no longer work on HEAD.