rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5211/1:b..l P5193/1:b..l rcu: (detected by 1, t=10503 jiffies, g=10761, q=1164 ncpus=2) task:syslogd state:R running task stack:23624 pid:5193 tgid:5193 ppid:1 task_flags:0x400000 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x1b88/0x5240 kernel/sched/core.c:6767 preempt_schedule_notrace+0x103/0x140 kernel/sched/core.c:7040 preempt_schedule_notrace_thunk+0x16/0x30 arch/x86/entry/thunk.S:13 rcu_is_watching+0x7e/0xb0 kernel/rcu/tree.c:737 rcu_read_lock include/linux/rcupdate.h:842 [inline] class_rcu_constructor include/linux/rcupdate.h:1155 [inline] unwind_next_frame+0xe7/0x23b0 arch/x86/kernel/unwind_orc.c:479 arch_stack_walk+0x11e/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x11a/0x1d0 kernel/stacktrace.c:122 save_stack+0xfc/0x1f0 mm/page_owner.c:156 __reset_page_owner+0x76/0x1e0 mm/page_owner.c:308 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1262 [inline] __free_frozen_pages+0xde8/0x10a0 mm/page_alloc.c:2680 discard_slab mm/slub.c:2720 [inline] __put_partials+0x160/0x1c0 mm/slub.c:3189 put_cpu_partial+0x17e/0x250 mm/slub.c:3264 __slab_free+0x294/0x390 mm/slub.c:4516 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9a/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x23/0x80 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4151 [inline] slab_alloc_node mm/slub.c:4200 [inline] __do_kmalloc_node mm/slub.c:4330 [inline] __kmalloc_noprof+0x238/0x4d0 mm/slub.c:4343 kmalloc_noprof include/linux/slab.h:909 [inline] kzalloc_noprof include/linux/slab.h:1039 [inline] tomoyo_encode2 security/tomoyo/realpath.c:45 [inline] tomoyo_encode+0x26f/0x540 security/tomoyo/realpath.c:80 tomoyo_realpath_from_path+0x59e/0x5e0 security/tomoyo/realpath.c:283 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x2be/0x640 security/tomoyo/file.c:822 security_inode_getattr+0x130/0x330 security/security.c:2377 vfs_getattr fs/stat.c:243 [inline] vfs_fstat fs/stat.c:265 [inline] vfs_fstatat+0xa5/0x150 fs/stat.c:366 __do_sys_newfstatat fs/stat.c:532 [inline] __se_sys_newfstatat fs/stat.c:526 [inline] __x64_sys_newfstatat+0x11f/0x1a0 fs/stat.c:526 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1f2651e5f4 RSP: 002b:00007ffe156d7ca8 EFLAGS: 00000206 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 00005645d80b2910 RCX: 00007f1f2651e5f4 RDX: 00007ffe156d7cd0 RSI: 00007f1f265bb130 RDI: 0000000000000003 RBP: 00007ffe156d7db0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000001000 R11: 0000000000000206 R12: 00005645d80b2c50 R13: 0000000067ffb631 R14: 0000000000000004 R15: 00005645d80b2a60 task:udevd state:R running task stack:24744 pid:5211 tgid:5211 ppid:1 task_flags:0x400140 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x1b88/0x5240 kernel/sched/core.c:6767 preempt_schedule_irq+0xfe/0x1c0 kernel/sched/core.c:7090 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:lock_release+0x254/0x3e0 kernel/locking/lockdep.c:5891 Code: 24 20 00 02 00 00 0f 85 c3 00 00 00 41 f7 c6 00 02 00 00 74 01 fb 65 48 8b 03 48 3b 44 24 28 0f 85 82 01 00 00 48 83 c4 30 5b <41> 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc ff c3 48 8d 4c 24 20 4c RSP: 0018:ffffc90002fff328 EFLAGS: 00000282 RAX: bd30a7df40d2ae00 RBX: 0000000000000000 RCX: 0000000000000002 RDX: 0000000000000000 RSI: ffffffff8e4fde72 RDI: ffffffff8ca1b760 RBP: ffff88807ecbe540 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000002 R13: ffff88807ecbda00 R14: 0000000000000206 R15: ffffffff8ed3dfa0 rcu_lock_release include/linux/rcupdate.h:341 [inline] rcu_read_unlock include/linux/rcupdate.h:871 [inline] class_rcu_destructor include/linux/rcupdate.h:1155 [inline] is_module_text_address+0x194/0x1f0 kernel/module/main.c:3745 kernel_text_address+0x96/0xe0 kernel/extable.c:119 __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+0xff/0x150 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x11a/0x1d0 kernel/stacktrace.c:122 save_stack+0xfc/0x1f0 mm/page_owner.c:156 __reset_page_owner+0x76/0x1e0 mm/page_owner.c:308 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1262 [inline] __free_frozen_pages+0xde8/0x10a0 mm/page_alloc.c:2680 __slab_free+0x2c6/0x390 mm/slub.c:4557 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9a/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:286 __kasan_kmalloc+0x23/0xb0 mm/kasan/common.c:385 kasan_kmalloc include/linux/kasan.h:260 [inline] __do_kmalloc_node mm/slub.c:4331 [inline] __kmalloc_noprof+0x28e/0x4d0 mm/slub.c:4343 kmalloc_noprof include/linux/slab.h:909 [inline] tomoyo_realpath_from_path+0xcf/0x5e0 security/tomoyo/realpath.c:251 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x2be/0x640 security/tomoyo/file.c:822 security_inode_getattr+0x130/0x330 security/security.c:2377 vfs_getattr fs/stat.c:243 [inline] vfs_statx_path+0x23/0x2b0 fs/stat.c:283 vfs_statx+0x13a/0x200 fs/stat.c:349 vfs_fstatat+0xdc/0x150 fs/stat.c:368 __do_sys_newfstatat fs/stat.c:532 [inline] __se_sys_newfstatat fs/stat.c:526 [inline] __x64_sys_newfstatat+0x11f/0x1a0 fs/stat.c:526 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4719b165f4 RSP: 002b:00007ffcb87805d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 000055685039f6c0 RCX: 00007f4719b165f4 RDX: 00007ffcb87805e8 RSI: 000055685038d7ed RDI: 00000000ffffff9c RBP: 00005568743ed448 R08: 00000000069859bf R09: 7fffffffffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000000000 R15: 0000556850393dca