rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P3561/1:b..l P4340/1:b..l (detected by 1, t=10502 jiffies, g=17429, q=246) task:kworker/u4:8 state:R running task stack:26784 pid: 4340 ppid: 2 flags:0x00004000 Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 preempt_schedule_irq+0xb1/0x150 kernel/sched/core.c:6780 irqentry_exit+0x63/0x70 kernel/entry/common.c:432 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:skb_put+0x0/0x210 net/core/skbuff.c:2028 Code: 07 80 c1 03 38 c1 0f 8c e6 fc ff ff 48 89 df e8 e6 ad ec f9 e9 d9 fc ff ff e8 7c 34 a7 f9 0f 0b e8 75 34 a7 f9 0f 0b 0f 1f 00 <55> 41 57 41 56 41 55 41 54 53 48 83 ec 10 41 89 f7 49 89 fe 48 bb RSP: 0018:ffffc900035ff978 EFLAGS: 00000206 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 0000000000000020 RSI: 000000000000003c RDI: ffff88805f4b68c0 RBP: 000000000000003c R08: dffffc0000000000 R09: ffff88805f11d000 R10: ffffed100be23a04 R11: 1ffff1100be23a00 R12: ffff88805f11d000 R13: ffff88805f4b694c R14: 000000000000003c R15: ffff888079570c80 batadv_iv_ogm_aggregate_new net/batman-adv/bat_iv_ogm.c:572 [inline] batadv_iv_ogm_queue_add+0x81f/0xcf0 net/batman-adv/bat_iv_ogm.c:670 batadv_iv_ogm_schedule_buff net/batman-adv/bat_iv_ogm.c:849 [inline] batadv_iv_ogm_schedule+0xacc/0xe90 net/batman-adv/bat_iv_ogm.c:868 batadv_iv_send_outstanding_bat_ogm_packet+0x72d/0x840 net/batman-adv/bat_iv_ogm.c:1712 process_one_work+0x863/0x1000 kernel/workqueue.c:2310 worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 task:udevd state:R running task stack:22848 pid: 3561 ppid: 1 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 preempt_schedule_irq+0xb1/0x150 kernel/sched/core.c:6780 irqentry_exit+0x63/0x70 kernel/entry/common.c:432 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:__rcu_read_unlock+0x0/0xd0 kernel/rcu/tree_plugin.h:415 Code: c0 75 11 ff 03 8b 03 3d 00 00 00 40 7d 02 5b c3 0f 0b eb fa 89 d9 80 e1 07 80 c1 03 38 c1 7c e3 48 89 df e8 12 f4 58 00 eb d9 <41> 57 41 56 41 55 41 54 53 49 bf 00 00 00 00 00 fc ff df 65 48 8b RSP: 0018:ffffc90002ebf908 EFLAGS: 00000293 RAX: ffffffff81d55664 RBX: 0000000000000001 RCX: ffff88807c028000 RDX: 0000000000000000 RSI: ffffffff8a59afe0 RDI: ffffffff8a59afa0 RBP: dffffc0000000000 R08: dffffc0000000000 R09: fffffbfff1ad3046 R10: fffffbfff1ad3046 R11: 1ffffffff1ad3045 R12: ffff888057826fd8 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000002416 rcu_read_unlock include/linux/rcupdate.h:771 [inline] prepend_path+0x923/0xbb0 fs/d_path.c:183 d_absolute_path+0x9e/0x140 fs/d_path.c:235 tomoyo_get_absolute_path security/tomoyo/realpath.c:101 [inline] tomoyo_realpath_from_path+0x331/0x610 security/tomoyo/realpath.c:276 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x1cd/0x510 security/tomoyo/file.c:822 security_inode_getattr+0xcf/0x120 security/security.c:1348 vfs_getattr+0x26/0x3a0 fs/stat.c:157 vfs_fstat fs/stat.c:182 [inline] __do_sys_newfstat fs/stat.c:421 [inline] __se_sys_newfstat fs/stat.c:418 [inline] __x64_sys_newfstat+0x104/0x1d0 fs/stat.c:418 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fd8ae2edad7 RSP: 002b:00007ffe1f0f3f88 EFLAGS: 00000206 ORIG_RAX: 0000000000000005 RAX: ffffffffffffffda RBX: 000000000000000e RCX: 00007fd8ae2edad7 RDX: 0000000000090800 RSI: 00007ffe1f0f3f90 RDI: 000000000000000e RBP: 00007ffe1f0f3f90 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000206 R12: 00005607370b57c0 R13: 00000000000000fe R14: 0000560724e70be0 R15: 00007ffe1f0f42f0 rcu: rcu_preempt kthread starved for 10121 jiffies! g17429 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:27200 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 schedule+0x11b/0x1e0 kernel/sched/core.c:6459 schedule_timeout+0x15c/0x280 kernel/time/timer.c:1914 rcu_gp_fqs_loop+0x29e/0x11b0 kernel/rcu/tree.c:1972 rcu_gp_kthread+0x98/0x350 kernel/rcu/tree.c:2145 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 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:51 [inline] NMI backtrace for cpu 0 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] NMI backtrace for cpu 0 skipped: idling at default_idle+0xb/0x10 arch/x86/kernel/process.c:728