rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5857/1:b..l P2943/1:b..l rcu: (detected by 1, t=10502 jiffies, g=20641, q=478 ncpus=2) task:kworker/u8:12 state:R running task stack:20144 pid:2943 tgid:2943 ppid:2 flags:0x00004000 Workqueue: bat_events batadv_nc_worker Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x17ae/0x4a10 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_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:19 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:87 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:123 [inline] RIP: 0010:lock_release+0x175/0xa30 kernel/locking/lockdep.c:5776 Code: f7 e8 0f a7 87 00 48 c7 c0 10 e7 3a 93 49 39 06 0f 84 ee 04 00 00 4c 8d b4 24 b0 00 00 00 4c 89 f3 48 c1 eb 03 42 80 3c 3b 00 <74> 08 4c 89 f7 e8 d1 a7 87 00 4c 89 6c 24 50 48 c7 84 24 b0 00 00 RSP: 0018:ffffc90009d87a20 EFLAGS: 00000246 RAX: ffffffff933ae710 RBX: 1ffff920013b0f5a RCX: ffffffff816fe240 RDX: 0000000000000000 RSI: ffffffff8c3f8920 RDI: ffffffff8c3f88e0 RBP: ffffc90009d87b48 R08: ffffffff8ff6956f R09: 1ffffffff1fed2ad R10: dffffc0000000000 R11: fffffbfff1fed2ae R12: 1ffff920013b0f50 R13: ffffffff8b77920b R14: ffffc90009d87ad0 R15: dffffc0000000000 rcu_lock_release include/linux/rcupdate.h:336 [inline] rcu_read_unlock include/linux/rcupdate.h:869 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0x28b/0x610 net/batman-adv/network-coding.c:719 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd40 kernel/workqueue.c:3390 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 task:udevd state:R running task stack:24864 pid:5857 tgid:5857 ppid:4672 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x17ae/0x4a10 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:seqcount_lockdep_reader_access+0x1d6/0x220 include/linux/seqlock.h:75 Code: 62 e8 3e 1f 7b ff 4d 85 f6 48 bb 00 00 00 00 00 fc ff df 75 07 e8 2a 1f 7b ff eb 06 e8 23 1f 7b ff fb 48 c7 04 24 0e 36 e0 45 <4a> c7 04 23 00 00 00 00 66 42 c7 44 23 09 00 00 42 c6 44 23 0b 00 RSP: 0018:ffffc90004917640 EFLAGS: 00000293 RAX: ffffffff8218572d RBX: dffffc0000000000 RCX: ffff88802204bc00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900049176f0 R08: ffffffff82185708 R09: 1ffffffff269dd07 R10: dffffc0000000000 R11: fffffbfff269dd08 R12: 1ffff92000922ec8 R13: ffffc90004917660 R14: 0000000000000200 R15: 0000000000000046 read_seqbegin include/linux/seqlock.h:772 [inline] read_seqbegin_or_lock include/linux/seqlock.h:1076 [inline] prepend_path+0xe1/0xbe0 fs/d_path.c:166 d_absolute_path+0x179/0x310 fs/d_path.c:234 tomoyo_get_absolute_path security/tomoyo/realpath.c:101 [inline] tomoyo_realpath_from_path+0x2b4/0x5e0 security/tomoyo/realpath.c:271 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x2b7/0x740 security/tomoyo/file.c:822 security_inode_getattr+0xd8/0x130 security/security.c:2269 vfs_getattr+0x45/0x430 fs/stat.c:204 vfs_statx_path fs/stat.c:251 [inline] vfs_statx+0x199/0x490 fs/stat.c:315 vfs_fstatat+0x145/0x190 fs/stat.c:341 __do_sys_newfstatat fs/stat.c:505 [inline] __se_sys_newfstatat fs/stat.c:499 [inline] __x64_sys_newfstatat+0x11d/0x1a0 fs/stat.c:499 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:0x7fca165165f4 RSP: 002b:00007fffd1201ce8 EFLAGS: 00000202 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fca165165f4 RDX: 00007fffd1201d18 RSI: 0000559554843760 RDI: 00000000ffffff9c RBP: 0000000000000000 R08: 00000000ffffffff R09: 000055955483f640 R10: 0000000000000100 R11: 0000000000000202 R12: 0000000000006180 R13: 0000000000006180 R14: 0000559554843760 R15: 000055955484ce10 rcu: rcu_preempt kthread starved for 10562 jiffies! g20641 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:25816 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x17ae/0x4a10 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+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: 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