rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (0 ticks this GP) idle=c8c4/1/0x4000000000000000 softirq=107282/107282 fqs=0 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5096/1:b..l P26519/1:b..l P2206/1:b..l rcu: (detected by 1, t=10505 jiffies, g=178125, q=101 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 2226 Comm: syz-executor.0 Not tainted 6.7.0-rc1-syzkaller-00344-g037266a5f723 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:__kasan_check_read+0xa/0x20 mm/kasan/shadow.c:31 Code: 48 c7 c7 b8 fa 12 8d 48 89 de eb 0a 48 c7 c7 ea fa 12 8d 4c 89 fe e8 15 52 29 09 31 db eb d4 90 f3 0f 1e fa 89 f6 48 8b 0c 24 <31> d2 e9 bf ea ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 RSP: 0018:ffffc90000007a20 EFLAGS: 00000003 RAX: 0000000000000001 RBX: 000000000000006a RCX: ffffffff816d967a RDX: 0000000000000008 RSI: 0000000000000008 RDI: ffffffff90dd4368 RBP: 0000000000000008 R08: ffffffff90dd436f R09: 1ffffffff21ba86d R10: dffffc0000000000 R11: fffffbfff21ba86e R12: 0000000000000001 R13: dffffc0000000000 R14: 0000000000000100 R15: ffff88802340a880 FS: 00007f8c1a21c6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8c1959d988 CR3: 000000001f153000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] hlock_class kernel/locking/lockdep.c:228 [inline] mark_lock+0x9a/0x350 kernel/locking/lockdep.c:4655 mark_usage kernel/locking/lockdep.c:4598 [inline] __lock_acquire+0xc09/0x1fd0 kernel/locking/lockdep.c:5090 lock_acquire+0x1e3/0x530 kernel/locking/lockdep.c:5753 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irq+0xd3/0x120 kernel/locking/spinlock.c:170 __run_hrtimer kernel/time/hrtimer.c:1692 [inline] __hrtimer_run_queues+0x66c/0xd20 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x396/0x980 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1065 [inline] __sysvec_apic_timer_interrupt+0x104/0x3a0 arch/x86/kernel/apic/apic.c:1082 sysvec_apic_timer_interrupt+0x92/0xb0 arch/x86/kernel/apic/apic.c:1076 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd8/0x140 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 3e 27 c9 f6 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 33 75 3f f6 65 8b 05 f4 82 e2 74 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc900037a79e0 EFLAGS: 00000206 RAX: d260986ecdbe8400 RBX: 1ffff920006f4f40 RCX: ffffffff925cc303 RDX: dffffc0000000000 RSI: ffffffff8b6aaf40 RDI: 0000000000000001 RBP: ffffc900037a7a70 R08: ffffffff8f00c0ef R09: 1ffffffff1e0181d R10: dffffc0000000000 R11: fffffbfff1e0181e R12: dffffc0000000000 R13: 1ffff920006f4f3c R14: ffffc900037a7a00 R15: 0000000000000246 class_raw_spinlock_irqsave_destructor include/linux/spinlock.h:518 [inline] try_to_wake_up+0x8e8/0x1440 kernel/sched/core.c:4226 wake_up_process kernel/sched/core.c:4474 [inline] wake_up_q+0xc8/0x110 kernel/sched/core.c:1028 futex_wake+0x51e/0x5c0 kernel/futex/waitwake.c:198 do_futex+0x392/0x550 kernel/futex/syscalls.c:107 __do_sys_futex kernel/futex/syscalls.c:179 [inline] __se_sys_futex+0x3f8/0x480 kernel/futex/syscalls.c:160 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f8c1947cae9 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:00007f8c1a21c178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 00007f8c1959bf88 RCX: 00007f8c1947cae9 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f8c1959bf8c RBP: 00007f8c1959bf80 R08: 00007ffc72b170b0 R09: 00007f8c1a21c6c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f8c1959bf8c R13: 000000000000004d R14: 00007ffc72b0f900 R15: 00007ffc72b0f9e8 task:syz-executor.5 state:R running task stack:24048 pid:2206 tgid:2198 ppid:5087 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0x1961/0x4ab0 kernel/sched/core.c:6688 preempt_schedule_irq+0xfb/0x1b0 kernel/sched/core.c:7008 irqentry_exit+0x5a/0x80 kernel/entry/common.c:432 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:650 RIP: 0010:mas_is_start lib/maple_tree.c:251 [inline] RIP: 0010:mt_find+0x39c/0x7c0 lib/maple_tree.c:6532 Code: 41 e8 98 20 82 f6 4c 89 ff e8 a0 81 ff ff 48 89 c3 48 b8 00 00 00 00 00 fc ff df 41 80 3c 04 00 74 08 4c 89 ef e8 f4 fe dd f6 <4c> 8b b4 24 98 00 00 00 49 83 fe 01 75 0a e8 61 20 82 f6 e9 5c ff RSP: 0018:ffffc90003757640 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: ffff888038358700 RCX: 0000000000040000 RDX: ffffc900037576d0 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc90003757770 R08: ffffffff8b0be4d1 R09: ffffffff8b0be365 R10: 0000000000000003 R11: ffff888024531dc0 R12: 1ffff920006eaedb R13: ffffc900037576d8 R14: ffff888089bf901c R15: ffffc900037576c0 find_vma+0x13e/0x1c0 mm/mmap.c:1882 lock_mm_and_find_vma+0x5f/0x2d0 mm/memory.c:5434 do_user_addr_fault arch/x86/mm/fault.c:1385 [inline] handle_page_fault arch/x86/mm/fault.c:1505 [inline] exc_page_fault+0x1b3/0x870 arch/x86/mm/fault.c:1561 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0010:rep_movs_alternative+0x4a/0x70 arch/x86/lib/copy_user_64.S:71 Code: 75 f1 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 48 8b 06 48 89 07 48 83 c6 08 48 83 c7 08 83 e9 08 74 df 83 f9 08 73 e8 eb c9 a4 c3 48 89 c8 48 c1 e9 03 83 e0 07 f3 48 a5 89 c1 85 c9 75 b3 RSP: 0018:ffffc90003757978 EFLAGS: 00050206 RAX: ffff888010790001 RBX: 0000000020166e80 RCX: 0000000000000e80 RDX: 0000000000000000 RSI: ffff888010790180 RDI: 0000000020167000 RBP: ffffc90003757af8 R08: ffff888010790fff R09: 1ffff110020f21ff R10: dffffc0000000000 R11: ffffed10020f2200 R12: 0000000000001000 R13: 0000000000001000 R14: ffffc90003757e30 R15: ffff888010790000 copy_user_generic arch/x86/include/asm/uaccess_64.h:112 [inline] raw_copy_to_user arch/x86/include/asm/uaccess_64.h:133 [inline] copy_to_user_iter lib/iov_iter.c:25 [inline] iterate_iovec include/linux/iov_iter.h:51 [inline] iterate_and_advance2 include/linux/iov_iter.h:247 [inline] iterate_and_advance include/linux/iov_iter.h:271 [inline] _copy_to_iter+0x4a0/0x1cf0 lib/iov_iter.c:186 copy_page_to_iter+0xb1/0x160 lib/iov_iter.c:381 process_vm_rw_pages mm/process_vm_access.c:45 [inline] process_vm_rw_single_vec mm/process_vm_access.c:117 [inline] process_vm_rw_core mm/process_vm_access.c:215 [inline] process_vm_rw+0x86e/0xcf0 mm/process_vm_access.c:283 __do_sys_process_vm_readv mm/process_vm_access.c:295 [inline] __se_sys_process_vm_readv mm/process_vm_access.c:291 [inline] __x64_sys_process_vm_readv+0xe0/0xf0 mm/process_vm_access.c:291 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f1d9087cae9 RSP: 002b:00007f1d915ac0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000136 RAX: ffffffffffffffda RBX: 00007f1d9099c050 RCX: 00007f1d9087cae9 RDX: 0000000000000002 RSI: 0000000020008400 RDI: 000000000000109a RBP: 00007f1d908c847a R08: 0000000000000286 R09: 0000000000000000 R10: 0000000020008640 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f1d9099c050 R15: 00007ffed7088888 task:syz-executor.2 state:R running task stack:20528 pid:26519 tgid:26519 ppid:26518 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0x1961/0x4ab0 kernel/sched/core.c:6688 preempt_schedule_common+0x83/0xc0 kernel/sched/core.c:6865 preempt_schedule+0xdd/0xf0 kernel/sched/core.c:6889 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk_64.S:45 unwind_next_frame+0x211e/0x29e0 arch/x86/kernel/unwind_orc.c:672 arch_stack_walk+0x146/0x1a0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x117/0x1c0 kernel/stacktrace.c:122 save_stack+0xfa/0x1e0 mm/page_owner.c:128 __reset_page_owner+0x4f/0x190 mm/page_owner.c:149 reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1137 [inline] free_unref_page_prepare+0x931/0xa60 mm/page_alloc.c:2347 free_unref_page_list+0x5a0/0x840 mm/page_alloc.c:2533 release_pages+0x2117/0x2400 mm/swap.c:1042 __folio_batch_release+0x84/0x100 mm/swap.c:1062 folio_batch_release include/linux/pagevec.h:83 [inline] shmem_undo_range+0x6aa/0x19d0 mm/shmem.c:1004 shmem_truncate_range mm/shmem.c:1096 [inline] shmem_evict_inode+0x29b/0xa60 mm/shmem.c:1224 evict+0x2a4/0x630 fs/inode.c:664 __dentry_kill+0x436/0x660 fs/dcache.c:607 dentry_kill+0xbb/0x290 dput+0x21e/0x470 fs/dcache.c:913 __fput+0x60b/0xa10 fs/file_table.c:402 task_work_run+0x24a/0x300 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xde/0x100 kernel/entry/common.c:171 exit_to_user_mode_prepare+0xb1/0x150 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x69/0x2a0 kernel/entry/common.c:296 do_syscall_64+0x52/0x110 arch/x86/entry/common.c:88 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f5c76c7de17 RSP: 002b:00007fff5428c608 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f5c76c7de17 RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007fff5428c6c0 RBP: 00007fff5428c6c0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fff5428d780 R13: 00007f5c76cc73b9 R14: 0000000000260423 R15: 0000000000000007 task:syz-executor.4 state:R running task stack:20208 pid:5096 tgid:5096 ppid:5083 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0x1961/0x4ab0 kernel/sched/core.c:6688 preempt_schedule_irq+0xfb/0x1b0 kernel/sched/core.c:7008 irqentry_exit+0x5a/0x80 kernel/entry/common.c:432 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:lock_acquire+0x25a/0x530 kernel/locking/lockdep.c:5757 Code: 2b 00 74 08 4c 89 f7 e8 b4 34 7d 00 f6 44 24 61 02 0f 85 8a 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc900040b7100 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92000816e2c RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffffff8b6ac0c0 RDI: ffffffff8bbdf3c0 RBP: ffffc900040b7248 R08: ffffffff90dd4367 R09: 1ffffffff21ba86c R10: dffffc0000000000 R11: fffffbfff21ba86d R12: 1ffff92000816e28 R13: dffffc0000000000 R14: ffffc900040b7160 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:301 [inline] rcu_read_lock include/linux/rcupdate.h:747 [inline] is_bpf_text_address+0x42/0x2a0 kernel/bpf/core.c:733 kernel_text_address+0xa3/0xe0 kernel/extable.c:125 __kernel_text_address+0xd/0x40 kernel/extable.c:79 unwind_get_return_address+0x5d/0xc0 arch/x86/kernel/unwind_orc.c:369 arch_stack_walk+0x11f/0x1a0 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x117/0x1c0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4f/0x70 mm/kasan/common.c:52 __kasan_slab_alloc+0x66/0x70 mm/kasan/common.c:328 kasan_slab_alloc include/linux/kasan.h:188 [inline] slab_post_alloc_hook+0x6c/0x3c0 mm/slab.h:763 slab_alloc_node mm/slub.c:3478 [inline] slab_alloc mm/slub.c:3486 [inline] __kmem_cache_alloc_lru mm/slub.c:3493 [inline] kmem_cache_alloc+0x19e/0x2b0 mm/slub.c:3502 anon_vma_chain_alloc mm/rmap.c:142 [inline] anon_vma_clone+0x98/0x4d0 mm/rmap.c:289 anon_vma_fork+0x87/0x580 mm/rmap.c:352 dup_mmap kernel/fork.c:727 [inline] dup_mm kernel/fork.c:1691 [inline] copy_mm+0xdb3/0x1f10 kernel/fork.c:1740 copy_process+0x1d6f/0x3fb0 kernel/fork.c:2502 kernel_clone+0x222/0x840 kernel/fork.c:2907 __do_sys_clone kernel/fork.c:3050 [inline] __se_sys_clone kernel/fork.c:3034 [inline] __x64_sys_clone+0x258/0x2a0 kernel/fork.c:3034 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f75ed479b13 RSP: 002b:00007ffdbf07e7c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f75ed479b13 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 0000555556bb6750 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001 rcu: rcu_preempt kthread timer wakeup didn't happen for 10504 jiffies! g178125 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=196992 rcu: rcu_preempt kthread starved for 10505 jiffies! g178125 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:26256 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0x1961/0x4ab0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0x149/0x260 kernel/sched/core.c:6778 schedule_timeout+0x1bd/0x300 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x30a/0x1500 kernel/rcu/tree.c:1631 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1830 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242