rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5741/1:b..l P5789/1:b..l rcu: (detected by 1, t=10502 jiffies, g=11153, q=1037 ncpus=2) task:modprobe state:R running task stack:23680 pid:5789 tgid:5789 ppid:990 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6529 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6851 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:mas_validate_limits lib/maple_tree.c:7516 [inline] RIP: 0010:mt_validate+0x19ae/0x4aa0 lib/maple_tree.c:7590 Code: bc 00 00 00 00 00 fc ff df 42 80 3c 20 00 74 05 e8 57 2c 4f f6 48 8b 44 24 40 48 8b 18 31 ff 48 89 de e8 b5 ea e7 f5 48 85 db <0f> 85 36 01 00 00 e8 c7 e5 e7 f5 4c 8b 6c 24 10 e9 a1 fd ff ff e8 RSP: 0018:ffffc90018927420 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff88807d21da00 RDX: ffff88807d21da00 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90018927610 R08: ffffffff8bab91ab R09: ffffffff8bab8dd4 R10: 0000000000000003 R11: ffff88807d21da00 R12: dffffc0000000000 R13: 0000000000000001 R14: 000000000000000e R15: 000000000000000f validate_mm+0xe7/0x530 mm/mmap.c:329 do_vmi_align_munmap+0x15dd/0x18c0 mm/mmap.c:2759 do_vmi_munmap+0x261/0x2f0 mm/mmap.c:2830 mmap_region+0x72f/0x2090 mm/mmap.c:2881 do_mmap+0x8f9/0x1010 mm/mmap.c:1468 vm_mmap_pgoff+0x1dd/0x3d0 mm/util.c:588 ksys_mmap_pgoff+0x4f1/0x720 mm/mmap.c:1514 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:0x7fe85007cb74 RSP: 002b:00007ffdf50a4ce8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007ffdf50a4d60 RCX: 00007fe85007cb74 RDX: 0000000000000001 RSI: 0000000000025000 RDI: 00007fe84fd86000 RBP: 00007ffdf50a5080 R08: 0000000000000000 R09: 000000000002e000 R10: 0000000000000812 R11: 0000000000000246 R12: 00007fe850059570 R13: 00007ffdf50a5108 R14: 000000000002d9c6 R15: 0000000000000000 task:kworker/u8:10 state:R running task stack:24472 pid:5741 tgid:5741 ppid:2 flags:0x00004000 Workqueue: netns cleanup_net Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6529 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6851 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:batadv_hardif_get_by_netdev+0x17d/0x4e0 net/batman-adv/hard-interface.c:72 Code: 48 8d 44 24 40 48 c1 e8 03 48 89 04 24 49 c7 c5 80 5f 33 95 4c 89 74 24 18 49 8d 5c 24 18 48 89 d8 48 c1 e8 03 42 80 3c 38 00 <74> 08 48 89 df e8 e9 69 7c f6 4c 39 33 74 0a e8 6f 23 15 f6 e9 81 RSP: 0018:ffffc9000c90f6e0 EFLAGS: 00000246 RAX: 1ffff1100f8fa903 RBX: ffff88807c7d4818 RCX: ffff888022b78000 RDX: 0000000000000000 RSI: ffffffff8c6060a0 RDI: ffffffff8c606060 RBP: ffffc9000c90f790 R08: ffffffff8b7e5334 R09: 1ffffffff26e5d00 R10: dffffc0000000000 R11: fffffbfff26e5d01 R12: ffff88807c7d4800 R13: ffffffff95335f80 R14: ffff88801f500000 R15: dffffc0000000000 batadv_hard_if_event+0x82/0x1620 net/batman-adv/hard-interface.c:967 notifier_call_chain+0x1a1/0x3e0 kernel/notifier.c:93 call_netdevice_notifiers_extack net/core/dev.c:2032 [inline] call_netdevice_notifiers net/core/dev.c:2046 [inline] unregister_netdevice_many_notify+0xd81/0x1c40 net/core/dev.c:11344 cleanup_net+0x75d/0xcc0 net/core/net_namespace.c:635 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2e/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd40 kernel/workqueue.c:3390 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: rcu_preempt kthread starved for 10235 jiffies! g11153 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:26448 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2034 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2236 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:48 [inline] NMI backtrace for cpu 0 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:106 [inline] NMI backtrace for cpu 0 skipped: idling at acpi_safe_halt+0x21/0x30 drivers/acpi/processor_idle.c:111 sched: RT throttling activated