rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 ticks this GP) idle=9064/1/0x4000000000000000 softirq=50781/50781 fqs=0 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P6065/1:b..l P13083/1:b..l rcu: (detected by 1, t=10506 jiffies, g=57141, q=184 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 5832 Comm: syz-executor Not tainted 6.12.0-syzkaller-07834-g06afb0f36106 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:match_held_lock+0x17/0xb0 kernel/locking/lockdep.c:5298 Code: 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 55 53 bd 01 00 00 00 48 39 77 10 74 67 48 89 fb 81 7f 20 00 00 20 00 <72> 59 48 8b 46 08 48 85 c0 75 11 31 ed 48 89 f7 31 f6 e8 52 fe ff RSP: 0018:ffffc90000007c10 EFLAGS: 00000083 RAX: 0000000000000000 RBX: ffff88807d0a28e0 RCX: ffff88807d0a1e00 RDX: ffff88807d0a1e00 RSI: ffff88805d9df300 RDI: ffff88807d0a28e0 RBP: 0000000000000001 R08: ffffffff89c13dcb R09: fffff52000000f7c R10: dffffc0000000000 R11: fffff52000000f7c R12: 0000000000000046 R13: ffff88807d0a1e00 R14: 00000000ffffffff R15: ffff88805d9df300 FS: 000055555bbd8500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fca604656c0 CR3: 0000000060a12000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_is_held kernel/locking/lockdep.c:5590 [inline] lock_is_held_type+0xa9/0x190 kernel/locking/lockdep.c:5921 lock_is_held include/linux/lockdep.h:249 [inline] advance_sched+0xcd/0xca0 net/sched/sch_taprio.c:925 __run_hrtimer kernel/time/hrtimer.c:1739 [inline] __hrtimer_run_queues+0x59b/0xd50 kernel/time/hrtimer.c:1803 hrtimer_interrupt+0x403/0xa40 kernel/time/hrtimer.c:1865 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x110/0x420 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lock_acquire+0xa/0x550 kernel/locking/lockdep.c:5817 Code: 0f 95 c0 c3 cc cc cc cc 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 55 48 89 e5 41 57 <41> 56 41 55 41 54 53 48 83 e4 e0 48 81 ec 20 01 00 00 4c 89 4c 24 RSP: 0018:ffffc90003e871a8 EFLAGS: 00000246 RAX: 0000000000000003 RBX: 0000000000000180 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8e93c7e0 RBP: ffffc90003e871b0 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: fffff9400032aa01 R12: dffffc0000000000 R13: 0000000000065540 R14: ffffffff8209dc56 R15: ffff88813fffae40 rcu_lock_acquire include/linux/rcupdate.h:337 [inline] rcu_read_lock_sched include/linux/rcupdate.h:941 [inline] pfn_valid+0x113/0x450 include/linux/mmzone.h:2043 page_table_check_set+0x22/0x540 mm/page_table_check.c:110 __page_table_check_ptes_set+0x30f/0x410 mm/page_table_check.c:225 page_table_check_ptes_set include/linux/page_table_check.h:74 [inline] set_ptes include/linux/pgtable.h:267 [inline] __copy_present_ptes mm/memory.c:969 [inline] copy_present_ptes mm/memory.c:1052 [inline] copy_pte_range mm/memory.c:1167 [inline] copy_pmd_range+0x4785/0x85b0 mm/memory.c:1255 copy_pud_range mm/memory.c:1292 [inline] copy_p4d_range mm/memory.c:1316 [inline] copy_page_range+0x99f/0xe90 mm/memory.c:1414 dup_mmap kernel/fork.c:746 [inline] dup_mm kernel/fork.c:1675 [inline] copy_mm+0x1117/0x1e80 kernel/fork.c:1724 copy_process+0x1845/0x3d50 kernel/fork.c:2375 kernel_clone+0x223/0x880 kernel/fork.c:2787 __do_sys_clone kernel/fork.c:2930 [inline] __se_sys_clone kernel/fork.c:2914 [inline] __x64_sys_clone+0x258/0x2a0 kernel/fork.c:2914 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fca5f775093 Code: 1f 84 00 00 00 00 00 64 48 8b 04 25 10 00 00 00 45 31 c0 31 d2 31 f6 bf 11 00 20 01 4c 8d 90 d0 02 00 00 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 89 c2 85 c0 75 2c 64 48 8b 04 25 10 00 00 RSP: 002b:00007ffc5c2c2468 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fca5f775093 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 000055555bbd87d0 R11: 0000000000000246 R12: 0000000000000000 R13: 00000000000d8de9 R14: 00000000000d8d6d R15: 00007ffc5c2c25f0 task:syz.0.1875 state:R running task stack:26736 pid:13083 tgid:13083 ppid:5849 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7078 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707 RIP: 0010:lock_release+0x658/0xa30 kernel/locking/lockdep.c:5874 Code: 3c 3b 00 74 08 4c 89 f7 e8 d5 28 8c 00 f6 84 24 91 00 00 00 02 75 77 41 f7 c5 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 04 27 00 00 00 00 4b c7 44 27 08 00 00 00 00 65 48 8b 04 25 RSP: 0000:ffffc9000c93f320 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92001927e76 RCX: ffffc9000c93f303 RDX: 0000000000000002 RSI: ffffffff8c0ae4c0 RDI: ffffffff8c5f9e60 RBP: ffffc9000c93f458 R08: ffffffff901c0137 R09: 1ffffffff2038026 R10: dffffc0000000000 R11: fffffbfff2038027 R12: 1ffff92001927e70 R13: 0000000000000246 R14: ffffc9000c93f3b0 R15: dffffc0000000000 rcu_lock_release include/linux/rcupdate.h:347 [inline] rcu_read_unlock include/linux/rcupdate.h:880 [inline] is_bpf_text_address+0x280/0x2a0 kernel/bpf/core.c:770 kernel_text_address+0xa7/0xe0 kernel/extable.c:125 __kernel_text_address+0xd/0x40 kernel/extable.c:79 unwind_get_return_address+0x4d/0x90 arch/x86/kernel/unwind_orc.c:369 arch_stack_walk+0xfd/0x150 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 unpoison_slab_object mm/kasan/common.c:319 [inline] __kasan_slab_alloc+0x66/0x80 mm/kasan/common.c:345 kasan_slab_alloc include/linux/kasan.h:247 [inline] slab_post_alloc_hook mm/slub.c:4085 [inline] slab_alloc_node mm/slub.c:4134 [inline] kmem_cache_alloc_noprof+0x135/0x2a0 mm/slub.c:4141 anon_vma_chain_alloc mm/rmap.c:143 [inline] __anon_vma_prepare+0xc4/0x4a0 mm/rmap.c:196 __vmf_anon_prepare mm/memory.c:3307 [inline] vmf_anon_prepare mm/internal.h:371 [inline] do_anonymous_page mm/memory.c:4780 [inline] do_pte_missing mm/memory.c:3963 [inline] handle_pte_fault+0x538a/0x6820 mm/memory.c:5766 __handle_mm_fault mm/memory.c:5909 [inline] handle_mm_fault+0x1053/0x1ad0 mm/memory.c:6077 do_user_addr_fault arch/x86/mm/fault.c:1338 [inline] handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x459/0x8c0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0033:0x7f14ce3462d8 RSP: 002b:00007ffe9f45dde8 EFLAGS: 00010202 RAX: 0000000020000000 RBX: 0000000000000004 RCX: 002364626e2f7665 RDX: 000000000000000a RSI: 64626e2f7665642f RDI: 0000000020000000 RBP: 00007ffe9f45e04c R08: 00007f14ce200000 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000009 R12: 0000000000000032 R13: 00000000000d8e05 R14: 00000000000d8d83 R15: fffffffffffffffe task:kworker/u8:9 state:R running task stack:20456 pid:6065 tgid:6065 ppid:2 flags:0x00004000 Workqueue: bat_events batadv_nc_worker Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7078 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707 RIP: 0010:lock_acquire+0x264/0x550 kernel/locking/lockdep.c:5853 Code: 2b 00 74 08 4c 89 f7 e8 8a 54 8c 00 f6 44 24 61 02 0f 85 85 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:ffffc900048579e0 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff9200090af48 RCX: ffff88802e01a8d8 RDX: dffffc0000000000 RSI: ffffffff8c0ae4c0 RDI: ffffffff8c5f9e60 RBP: ffffc90004857b40 R08: ffffffff942b0887 R09: 1ffffffff2856110 R10: dffffc0000000000 R11: fffffbfff2856111 R12: 1ffff9200090af44 R13: dffffc0000000000 R14: ffffc90004857a40 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:337 [inline] rcu_read_lock include/linux/rcupdate.h:849 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0xec/0x610 net/batman-adv/network-coding.c:719 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: rcu_preempt kthread timer wakeup didn't happen for 10505 jiffies! g57141 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=56986 rcu: rcu_preempt kthread starved for 10506 jiffies! g57141 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:26072 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_timeout+0x15a/0x290 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244