rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P3691/1:b..l P5815/1:b..l (detected by 0, t=10502 jiffies, g=21789, q=112 ncpus=2) task:modprobe state:R running task stack:23880 pid:5815 ppid:3648 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6561 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6873 irqentry_exit+0x53/0x80 kernel/entry/common.c:439 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:203 Code: e8 25 00 00 00 0f 0b 0f 1f 00 53 48 89 fb e8 17 00 00 00 48 8b 3d e8 eb e8 0c 48 89 de 5b e9 a7 b0 56 00 cc cc cc cc cc cc cc <48> 8b 04 24 65 48 8b 0d b4 d4 77 7e 65 8b 15 b5 d4 77 7e f7 c2 00 RSP: 0018:ffffc90015677380 EFLAGS: 00000202 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffff8880229b5940 RDX: ffff8880229b5940 RSI: ffffffff8b3d4880 RDI: ffffffff8b3d4840 RBP: ffffffff8197bb62 R08: ffffffff8197bb92 R09: fffffbfff2093845 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880229b5940 R13: ffffffff81785510 R14: 0000000000000001 R15: 00007f82722c6bb7 rcu_read_lock include/linux/rcupdate.h:792 [inline] is_bpf_text_address+0x69/0x2a0 kernel/bpf/core.c:731 kernel_text_address+0x9f/0xd0 kernel/extable.c:125 __kernel_text_address+0x9/0x40 kernel/extable.c:79 unwind_get_return_address+0x49/0x80 arch/x86/kernel/unwind_orc.c:323 arch_stack_walk+0xf3/0x140 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:52 __kasan_slab_alloc+0x65/0x70 mm/kasan/common.c:328 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook+0x52/0x3a0 mm/slab.h:737 kmem_cache_alloc_bulk+0x3a2/0x4d0 mm/slub.c:3854 mt_alloc_bulk lib/maple_tree.c:157 [inline] mas_alloc_nodes+0x3df/0x800 lib/maple_tree.c:1299 mas_node_count_gfp lib/maple_tree.c:1359 [inline] mas_preallocate+0x12d/0x350 lib/maple_tree.c:5804 __vma_adjust+0x8df/0x1f40 mm/mmap.c:724 __split_vma+0x36e/0x530 mprotect_fixup+0x753/0x840 mm/mprotect.c:623 do_mprotect_pkey+0x8b6/0xbe0 mm/mprotect.c:792 __do_sys_mprotect mm/mprotect.c:819 [inline] __se_sys_mprotect mm/mprotect.c:816 [inline] __x64_sys_mprotect+0x7c/0x90 mm/mprotect.c:816 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f82722c6bb7 RSP: 002b:00007ffdd33fc2f8 EFLAGS: 00000206 ORIG_RAX: 000000000000000a RAX: ffffffffffffffda RBX: 00007f82722a90c0 RCX: 00007f82722c6bb7 RDX: 0000000000000001 RSI: 0000000000003000 RDI: 00007f82722a5000 RBP: 00007ffdd33fc410 R08: 00007ffdd33fc288 R09: 00007f82722a90c0 R10: 00007f82721eab48 R11: 0000000000000206 R12: 00007f82722a90c0 R13: 00007f82722ceeda R14: 00007f82722a7f28 R15: 00007f82722a72b8 task:kworker/u4:8 state:R running task stack:21016 pid:3691 ppid:2 flags:0x00004000 Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6561 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6873 irqentry_exit+0x53/0x80 kernel/entry/common.c:439 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:lock_acquire+0x26f/0x5a0 kernel/locking/lockdep.c:5666 Code: 2b 00 74 08 4c 89 f7 e8 cf b2 77 00 f6 44 24 61 02 0f 85 84 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:ffffc90004d87900 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff920009b0f2c RCX: 1ffff920009b0ecc RDX: dffffc0000000000 RSI: ffffffff8aec13c0 RDI: ffffffff8b3d48a0 RBP: ffffc90004d87a48 R08: dffffc0000000000 R09: fffffbfff2093845 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920009b0f28 R13: dffffc0000000000 R14: ffffc90004d87960 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:350 [inline] rcu_read_lock include/linux/rcupdate.h:791 [inline] batadv_iv_ogm_slide_own_bcast_window net/batman-adv/bat_iv_ogm.c:755 [inline] batadv_iv_ogm_schedule_buff net/batman-adv/bat_iv_ogm.c:826 [inline] batadv_iv_ogm_schedule+0x43b/0x1090 net/batman-adv/bat_iv_ogm.c:869 batadv_iv_send_outstanding_bat_ogm_packet+0x6fa/0x800 net/batman-adv/bat_iv_ogm.c:1713 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 rcu: rcu_preempt kthread timer wakeup didn't happen for 10441 jiffies! g21789 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=12087 rcu: rcu_preempt kthread starved for 10447 jiffies! g21789 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=1 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:26752 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6561 schedule+0xbf/0x180 kernel/sched/core.c:6637 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1965 rcu_gp_fqs_loop+0x2d2/0x1150 kernel/rcu/tree.c:1706 rcu_gp_kthread+0xa3/0x3b0 kernel/rcu/tree.c:1905 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline] NMI backtrace for cpu 1 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] NMI backtrace for cpu 1 skipped: idling at acpi_safe_halt drivers/acpi/processor_idle.c:111 [inline] NMI backtrace for cpu 1 skipped: idling at acpi_idle_do_entry+0x10f/0x340 drivers/acpi/processor_idle.c:567