rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P13358/1:b..l P12280/1:b..l P13592/1:b..l P13562/1:b..l P5602/1:b..l rcu: (detected by 0, t=10503 jiffies, g=79997, q=1132 ncpus=2) task:syz-executor state:R running task stack:21480 pid:5602 tgid:5602 ppid:5597 task_flags:0x400140 flags:0x00080000 Call Trace: context_switch kernel/sched/core.c:5533 [inline] __schedule+0x1259/0x6920 kernel/sched/core.c:7284 preempt_schedule_notrace+0x57/0xd0 kernel/sched/core.c:7556 preempt_schedule_notrace_thunk+0x16/0x30 arch/x86/entry/thunk.S:13 rcu_is_watching+0x90/0xc0 kernel/rcu/tree.c:754 trace_lock_release include/trace/events/lock.h:68 [inline] lock_release+0x24d/0x310 kernel/locking/lockdep.c:5954 rcu_lock_release include/linux/rcupdate.h:319 [inline] rcu_read_unlock include/linux/rcupdate.h:880 [inline] class_rcu_destructor include/linux/rcupdate.h:1216 [inline] unwind_next_frame+0x3c3/0x2090 arch/x86/kernel/unwind_orc.c:495 arch_stack_walk+0x94/0xf0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8e/0xc0 kernel/stacktrace.c:122 save_stack+0x162/0x1e0 mm/page_owner.c:183 __reset_page_owner+0x84/0x190 mm/page_owner.c:338 reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1418 [inline] free_unref_folios+0xa4a/0x1790 mm/page_alloc.c:3022 folios_put_refs+0x585/0xaa0 mm/folio.c:1036 folio_batch_release include/linux/folio_batch.h:101 [inline] shmem_undo_range+0x5e5/0x1570 mm/shmem.c:1161 shmem_truncate_range mm/shmem.c:1289 [inline] shmem_evict_inode+0x3b1/0xca0 mm/shmem.c:1420 evict+0x3c2/0xad0 fs/inode.c:822 iput_final fs/inode.c:2014 [inline] iput.part.0+0x989/0x1050 fs/inode.c:2063 iput+0x35/0x40 fs/inode.c:2029 filename_unlinkat+0x466/0x730 fs/namei.c:5723 __do_sys_unlink fs/namei.c:5754 [inline] __se_sys_unlink fs/namei.c:5751 [inline] __x64_sys_unlink+0x46/0x70 fs/namei.c:5751 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f859739d247 RSP: 002b:00007ffc6c1230b8 EFLAGS: 00000206 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f859739d247 RDX: 00007ffc6c1230e0 RSI: 00007ffc6c123170 RDI: 00007ffc6c123170 RBP: 00007ffc6c123170 R08: 00007ffc6c124170 R09: 00000000ffffffff R10: 0000000000000100 R11: 0000000000000206 R12: 00007ffc6c124200 R13: 00007f85974344bb R14: 00000000000f03de R15: 00007ffc6c124240 task:syz.3.1703 state:R running task stack:26040 pid:13562 tgid:13558 ppid:5614 task_flags:0x40054c flags:0x00080001 Call Trace: context_switch kernel/sched/core.c:5533 [inline] __schedule+0x1259/0x6920 kernel/sched/core.c:7284 preempt_schedule_common+0x3c/0xb0 kernel/sched/core.c:7463 preempt_schedule_thunk+0x16/0x40 arch/x86/entry/thunk.S:12 __raw_spin_unlock include/linux/spinlock_api_smp.h:201 [inline] _raw_spin_unlock+0x3e/0x50 kernel/locking/spinlock.c:213 spin_unlock include/linux/spinlock.h:401 [inline] zap_pte_range mm/memory.c:2095 [inline] zap_pmd_range mm/memory.c:2151 [inline] zap_pud_range mm/memory.c:2179 [inline] zap_p4d_range mm/memory.c:2200 [inline] __zap_vma_range+0x16b0/0x48e0 mm/memory.c:2240 unmap_vmas+0x299/0x5f0 mm/memory.c:2309 exit_mmap+0x1ef/0xa00 mm/mmap.c:1315 __mmput+0x12a/0x410 kernel/fork.c:1193 mmput+0x67/0x80 kernel/fork.c:1216 exit_mm kernel/exit.c:592 [inline] do_exit+0x83b/0x2a50 kernel/exit.c:974 do_group_exit+0xd5/0x2a0 kernel/exit.c:1129 get_signal+0x1ec7/0x21e0 kernel/signal.c:3112 arch_do_signal_or_restart+0x91/0x7e0 arch/x86/kernel/signal.c:337 __exit_to_user_mode_loop kernel/entry/common.c:66 [inline] exit_to_user_mode_loop+0x139/0x700 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline] do_syscall_64+0x661/0x790 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd94ab9e159 RSP: 002b:00007fd94b9c8028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: 0000000000000030 RBX: 00007fd94ae26090 RCX: 00007fd94ab9e159 RDX: 0000000000008000 RSI: 0000200000000100 RDI: 0000000000000004 RBP: 00007fd94ac3506b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fd94ae26128 R14: 00007fd94ae26090 R15: 00007ffe1c62e158 task:rm state:R running task stack:24872 pid:13592 tgid:13592 ppid:13547 task_flags:0x400000 flags:0x00080000 Call Trace: context_switch kernel/sched/core.c:5533 [inline] __schedule+0x1259/0x6920 kernel/sched/core.c:7284 preempt_schedule_irq+0x4e/0x90 kernel/sched/core.c:7606 irqentry_exit_to_kernel_mode_preempt include/linux/irq-entry-common.h:468 [inline] irqentry_exit_to_kernel_mode include/linux/irq-entry-common.h:539 [inline] irqentry_exit+0x205/0xa10 kernel/entry/common.c:167 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 RIP: 0010:on_stack arch/x86/include/asm/stacktrace.h:60 [inline] RIP: 0010:stack_access_ok+0x9b/0x1d0 arch/x86/kernel/unwind_orc.c:409 Code: 03 80 3c 02 00 0f 85 0b 01 00 00 48 8b 43 10 49 39 ed 77 1a 48 39 e8 76 15 4a 8d 54 25 00 48 39 d0 0f 93 c0 49 39 d5 0f 92 c2 <20> d0 75 38 48 8d 7b 28 48 8d 4b 20 48 b8 00 00 00 00 00 fc ff df RSP: 0018:ffffc90003597278 EFLAGS: 00000297 RAX: ffffc90003598001 RBX: ffffc90003597318 RCX: ffffffff9222e0fa RDX: ffffc90003597701 RSI: ffffc90003597770 RDI: ffffc90003597328 RBP: ffffc90003597770 R08: ffffffff9222e0fe R09: 0000000000000007 R10: 0000000000000200 R11: 000000000003ea4d R12: 0000000000000008 R13: ffffc90003590000 R14: ffffc90003597778 R15: ffffc9000359734c deref_stack_reg arch/x86/kernel/unwind_orc.c:419 [inline] unwind_next_frame+0xcf5/0x2090 arch/x86/kernel/unwind_orc.c:614 arch_stack_walk+0x94/0xf0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8e/0xc0 kernel/stacktrace.c:122 kasan_save_stack+0x30/0x50 mm/kasan/common.c:57 kasan_save_track+0x14/0x30 mm/kasan/common.c:78 poison_kmalloc_redzone mm/kasan/common.c:409 [inline] __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:426 kasan_kmalloc include/linux/kasan.h:263 [inline] __do_kmalloc_node mm/slub.c:5414 [inline] __kmalloc_noprof+0x32f/0x840 mm/slub.c:5439 _kmalloc_noprof include/linux/slab.h:995 [inline] _kzalloc_noprof include/linux/slab.h:1312 [inline] tomoyo_encode2+0xfb/0x3c0 security/tomoyo/realpath.c:45 tomoyo_encode+0x29/0x50 security/tomoyo/realpath.c:80 tomoyo_realpath_from_path+0x18c/0x690 security/tomoyo/realpath.c:283 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_check_open_permission+0x2af/0x3c0 security/tomoyo/file.c:776 tomoyo_file_open+0x6b/0x90 security/tomoyo/tomoyo.c:334 security_file_open+0xb5/0x1e0 security/security.c:2739 do_dentry_open+0x588/0x14d0 fs/open.c:973 vfs_open+0x82/0x3f0 fs/open.c:1101 do_open fs/namei.c:4837 [inline] path_openat+0x19fa/0x2440 fs/namei.c:5000 do_file_open+0x20e/0x430 fs/namei.c:5029 do_sys_openat2+0x10f/0x1e0 fs/open.c:1417 do_sys_open fs/open.c:1423 [inline] __do_sys_openat fs/open.c:1439 [inline] __se_sys_openat fs/open.c:1434 [inline] __x64_sys_openat+0x12d/0x210 fs/open.c:1434 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fdb6a3160ba RSP: 002b:00007ffcfcbcb398 EFLAGS: 00000206 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007ffcfcbcb410 RCX: 00007fdb6a3160ba RDX: 0000000000080000 RSI: 00007ffcfcbcb410 RDI: 00000000ffffff9c RBP: 00007ffcfcbcb400 R08: 00007ffcfcbcb607 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000016 R13: 00007fdb6a2ea000 R14: 00007ffcfcbcb620 R15: 0000000000000000 task:syz-executor state:R running task stack:23864 pid:12280 tgid:12280 ppid:12268 task_flags:0x400140 flags:0x00080000 Call Trace: context_switch kernel/sched/core.c:5533 [inline] __schedule+0x1259/0x6920 kernel/sched/core.c:7284 preempt_schedule_common+0x3c/0xb0 kernel/sched/core.c:7463 preempt_schedule_thunk+0x16/0x40 arch/x86/entry/thunk.S:12 __raw_spin_unlock include/linux/spinlock_api_smp.h:201 [inline] _raw_spin_unlock+0x3e/0x50 kernel/locking/spinlock.c:213 spin_unlock include/linux/spinlock.h:401 [inline] copy_pte_range mm/memory.c:1429 [inline] copy_pmd_range mm/memory.c:1490 [inline] copy_pud_range mm/memory.c:1527 [inline] copy_p4d_range mm/memory.c:1551 [inline] copy_page_range+0x1c66/0x57c0 mm/memory.c:1637 dup_mmap+0x1230/0x2370 mm/mmap.c:1819 dup_mm kernel/fork.c:1543 [inline] copy_mm kernel/fork.c:1595 [inline] copy_process+0x4821/0x8380 kernel/fork.c:2311 kernel_clone+0x176/0x9d0 kernel/fork.c:2771 __do_sys_clone+0xd9/0x120 kernel/fork.c:2913 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe70b1c6bd2 RSP: 002b:00007ffe26445820 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007ffe26445820 RCX: 00007fe70b1c6bd2 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 00007ffe264459ac R08: 0000000000000000 R09: 0000000000000001 R10: 0000555572d617d0 R11: 0000000000000246 R12: 0000000000000001 R13: 00000000000927c0 R14: 00000000000f03ec R15: 00007ffe26445a00 task:syz.6.1673 state:R running task stack:22904 pid:13358 tgid:13358 ppid:12280 task_flags:0x40064c flags:0x00080001 Call Trace: context_switch kernel/sched/core.c:5533 [inline] __schedule+0x1259/0x6920 kernel/sched/core.c:7284 preempt_schedule_irq+0x4e/0x90 kernel/sched/core.c:7606 irqentry_exit_to_kernel_mode_preempt include/linux/irq-entry-common.h:468 [inline] irqentry_exit_to_kernel_mode include/linux/irq-entry-common.h:539 [inline] irqentry_exit+0x205/0xa10 kernel/entry/common.c:167 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 RIP: 0010:lock_acquire+0x5e/0x380 kernel/locking/lockdep.c:5947 Code: 05 4f 9b a5 12 83 f8 07 0f 87 da 00 00 00 48 0f a3 05 5e e4 5d 0f 0f 82 c9 02 00 00 8b 35 fe 15 5e 0f 85 f6 0f 85 c7 00 00 00 <48> 8b 44 24 30 65 48 2b 05 ed 9a a5 12 0f 85 09 03 00 00 48 83 c4 RSP: 0018:ffffc9000e1ceea8 EFLAGS: 00000206 RAX: 0000000000000046 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8e3683a1 RDI: ffffffff8c623980 RBP: ffffffff8edec5a0 R08: 00000000ef9d33e4 R09: 0000000000000007 R10: 0000000000000200 R11: 0000000000000000 R12: 0000000000000002 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:309 [inline] rcu_read_lock include/linux/rcupdate.h:849 [inline] class_rcu_constructor include/linux/rcupdate.h:1216 [inline] unwind_next_frame+0xd1/0x2090 arch/x86/kernel/unwind_orc.c:495 arch_stack_walk+0x94/0xf0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8e/0xc0 kernel/stacktrace.c:122 save_stack+0x162/0x1e0 mm/page_owner.c:183 __reset_page_owner+0x84/0x190 mm/page_owner.c:338 reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1418 [inline] free_unref_folios+0xa4a/0x1790 mm/page_alloc.c:3022 folios_put_refs+0x585/0xaa0 mm/folio.c:1036 folio_batch_release include/linux/folio_batch.h:101 [inline] shmem_undo_range+0x5e5/0x1570 mm/shmem.c:1161 shmem_truncate_range mm/shmem.c:1289 [inline] shmem_evict_inode+0x3b1/0xca0 mm/shmem.c:1420 evict+0x3c2/0xad0 fs/inode.c:822 iput_final fs/inode.c:2014 [inline] iput.part.0+0x989/0x1050 fs/inode.c:2063 iput+0x35/0x40 fs/inode.c:2029 dentry_unlink_inode+0x284/0x470 fs/dcache.c:479 dentry_kill+0x25d/0xc20 fs/dcache.c:826 finish_dput fs/dcache.c:1001 [inline] dput.part.0+0xd7/0x240 fs/dcache.c:1042 dput+0x1f/0x30 fs/dcache.c:1037 __fput+0x519/0xb50 fs/file_table.c:520 task_work_run+0x150/0x240 kernel/task_work.c:233 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0x8da/0x2a50 kernel/exit.c:986 do_group_exit+0xd5/0x2a0 kernel/exit.c:1129 get_signal+0x1ec7/0x21e0 kernel/signal.c:3112 arch_do_signal_or_restart+0x91/0x7e0 arch/x86/kernel/signal.c:337 __exit_to_user_mode_loop kernel/entry/common.c:66 [inline] exit_to_user_mode_loop kernel/entry/common.c:101 [inline] __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] irqentry_exit_to_user_mode_prepare include/linux/irq-entry-common.h:244 [inline] irqentry_exit_to_user_mode include/linux/irq-entry-common.h:315 [inline] irqentry_exit+0x402/0xa10 kernel/entry/common.c:165 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:595 RIP: 0033:0x7fe70b19e161 RSP: 002b:0000000000000030 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007fe70b425fa0 RCX: 00007fe70b19e159 RDX: 0000000000000000 RSI: 0000000000000030 RDI: 0000000000000600 RBP: 00007fe70b23506b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 00007fe70b426038 R14: 00007fe70b425fa0 R15: 00007ffe26445608