rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5771/2:b..l P2/1:b..l P5151/1:b..l rcu: (detected by 0, t=10502 jiffies, g=57753, q=247 ncpus=2) task:udevd state:R running task stack:23240 pid:5151 ppid:1 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5393 [inline] __schedule+0x156f/0x4720 kernel/sched/core.c:6722 preempt_schedule_common+0x82/0xc0 kernel/sched/core.c:6889 preempt_schedule+0xc0/0xd0 kernel/sched/core.c:6913 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk_64.S:45 unwind_next_frame+0x201c/0x2990 arch/x86/kernel/unwind_orc.c:672 arch_stack_walk+0x144/0x190 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0xaa/0x100 kernel/stacktrace.c:122 save_stack+0x125/0x230 mm/page_owner.c:128 __reset_page_owner+0x4e/0x190 mm/page_owner.c:149 reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1182 [inline] free_unref_page_prepare+0x7d7/0x8f0 mm/page_alloc.c:2366 free_unref_page+0x32/0x2e0 mm/page_alloc.c:2459 discard_slab mm/slub.c:2149 [inline] __unfreeze_partials+0x1cf/0x210 mm/slub.c:2689 put_cpu_partial+0x17c/0x250 mm/slub.c:2765 __slab_free+0x319/0x400 mm/slub.c:3723 qlink_free mm/kasan/quarantine.c:166 [inline] qlist_free_all+0x75/0xd0 mm/kasan/quarantine.c:185 kasan_quarantine_reduce+0x143/0x160 mm/kasan/quarantine.c:292 ____kasan_kmalloc mm/kasan/common.c:341 [inline] __kasan_kmalloc+0x22/0xa0 mm/kasan/common.c:384 kasan_kmalloc include/linux/kasan.h:198 [inline] __do_kmalloc_node mm/slab_common.c:1007 [inline] __kmalloc+0xb7/0x240 mm/slab_common.c:1020 kmalloc include/linux/slab.h:604 [inline] kzalloc include/linux/slab.h:721 [inline] tomoyo_encode2 security/tomoyo/realpath.c:45 [inline] tomoyo_encode+0x2ad/0x570 security/tomoyo/realpath.c:80 tomoyo_realpath_from_path+0x57c/0x5c0 security/tomoyo/realpath.c:283 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x282/0x560 security/tomoyo/file.c:822 security_inode_getattr+0xd3/0x120 security/security.c:2190 vfs_getattr fs/stat.c:173 [inline] vfs_statx+0x172/0x680 fs/stat.c:248 vfs_fstatat+0x12a/0x1b0 fs/stat.c:299 __do_sys_newfstatat fs/stat.c:463 [inline] __se_sys_newfstatat fs/stat.c:457 [inline] __x64_sys_newfstatat+0x149/0x1f0 fs/stat.c:457 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f7584311b0a RSP: 002b:00007fff259a96c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 0000555ed9792418 RCX: 00007f7584311b0a RDX: 00007fff259a96d0 RSI: 0000555ed9780ef3 RDI: 00000000ffffff9c RBP: 0000555f143a0148 R08: 00065f6be9ab64cf R09: 0000000000745d1e R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007fff259a96d0 R14: 0000000000000000 R15: 00065f6be9ab64cf task:kthreadd state:R running task stack:25992 pid:2 ppid:0 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5393 [inline] __schedule+0x156f/0x4720 kernel/sched/core.c:6722 preempt_schedule_irq+0xbf/0x150 kernel/sched/core.c:7032 irqentry_exit+0x67/0x70 kernel/entry/common.c:441 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687 RIP: 0010:lock_acquire+0x208/0x420 kernel/locking/lockdep.c:5794 Code: f7 84 24 80 00 00 00 00 02 00 00 43 c6 44 3c 04 f8 0f 85 f0 00 00 00 41 f7 c6 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 04 3c 00 00 00 00 43 c7 44 3c 08 00 00 00 00 65 48 8b 04 25 RSP: 0018:ffffc90000077400 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 0000000000000000 RCX: e711e7922815ce00 RDX: 0000000000000000 RSI: ffffffff8aeae2c0 RDI: ffffffff8b3c5260 RBP: ffffc90000077518 R08: dffffc0000000000 R09: 1ffffffff24446a0 R10: dffffc0000000000 R11: fffffbfff24446a1 R12: 1ffff9200000ee8c R13: ffffffff8e1322e0 R14: 0000000000000246 R15: dffffc0000000000 rcu_lock_acquire include/linux/rcupdate.h:334 [inline] rcu_read_lock include/linux/rcupdate.h:786 [inline] page_ext_get+0x3e/0x2b0 mm/page_ext.c:508 __page_table_check_zero+0x138/0x4b0 mm/page_table_check.c:148 page_table_check_free include/linux/page_table_check.h:41 [inline] free_pages_prepare mm/page_alloc.c:1183 [inline] free_unref_page_prepare+0x7e6/0x8f0 mm/page_alloc.c:2366 free_unref_page+0x32/0x2e0 mm/page_alloc.c:2459 discard_slab mm/slub.c:2149 [inline] __unfreeze_partials+0x1cf/0x210 mm/slub.c:2689 put_cpu_partial+0x17c/0x250 mm/slub.c:2765 __slab_free+0x319/0x400 mm/slub.c:3723 qlink_free mm/kasan/quarantine.c:166 [inline] qlist_free_all+0x75/0xd0 mm/kasan/quarantine.c:185 kasan_quarantine_reduce+0x143/0x160 mm/kasan/quarantine.c:292 __kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:306 kasan_slab_alloc include/linux/kasan.h:188 [inline] slab_post_alloc_hook+0x6a/0x4d0 mm/slab.h:770 slab_alloc_node mm/slub.c:3518 [inline] slab_alloc mm/slub.c:3526 [inline] __kmem_cache_alloc_lru mm/slub.c:3533 [inline] kmem_cache_alloc+0x17e/0x2d0 mm/slub.c:3542 alloc_pid+0xa1/0xc20 kernel/pid.c:183 copy_process+0x1980/0x3da0 kernel/fork.c:2530 kernel_clone+0x24b/0x8a0 kernel/fork.c:2922 kernel_thread+0x13f/0x1b0 kernel/fork.c:2984 create_kthread kernel/kthread.c:411 [inline] kthreadd+0x579/0x750 kernel/kthread.c:766 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 task:syz-executor state:R running task stack:22408 pid:5771 ppid:5770 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5393 [inline] __schedule+0x156f/0x4720 kernel/sched/core.c:6722 preempt_schedule_common+0x82/0xc0 kernel/sched/core.c:6889 preempt_schedule+0xc0/0xd0 kernel/sched/core.c:6913 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk_64.S:45 __local_bh_enable_ip+0x14b/0x1c0 kernel/softirq.c:413 spin_unlock_bh include/linux/spinlock.h:396 [inline] nf_conntrack_tcp_packet+0x3dd7/0x5bf0 net/netfilter/nf_conntrack_proto_tcp.c:1338 nf_conntrack_handle_packet net/netfilter/nf_conntrack_core.c:1924 [inline] nf_conntrack_in+0x850/0x1600 net/netfilter/nf_conntrack_core.c:2014 nf_hook_entry_hookfn include/linux/netfilter.h:156 [inline] nf_hook_slow+0xb9/0x210 net/netfilter/core.c:626 nf_hook+0x228/0x390 include/linux/netfilter.h:271 __ip_local_out+0x4db/0x5f0 net/ipv4/ip_output.c:118 ip_local_out net/ipv4/ip_output.c:127 [inline] __ip_queue_xmit+0xf89/0x1960 net/ipv4/ip_output.c:540 __tcp_transmit_skb+0x1dd6/0x3470 net/ipv4/tcp_output.c:1427 tcp_transmit_skb net/ipv4/tcp_output.c:1445 [inline] tcp_write_xmit+0x1550/0x6700 net/ipv4/tcp_output.c:2784 __tcp_push_pending_frames+0x96/0x330 net/ipv4/tcp_output.c:2969 tcp_sendmsg_locked+0x4120/0x4ab0 net/ipv4/tcp.c:1316 tcp_sendmsg+0x2f/0x50 net/ipv4/tcp.c:1348 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] sock_write_iter+0x2dc/0x420 net/socket.c:1161 call_write_iter include/linux/fs.h:2019 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x474/0x9a0 fs/read_write.c:584 ksys_write+0x151/0x260 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f382c35ac97 RSP: 002b:00007ffd7f701240 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000555594ae3500 RCX: 00007f382c35ac97 RDX: 00000000000000a0 RSI: 00007f38255fff60 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 00000000000000a0 R13: 0000555594afc700 R14: 00007ffd7f701820 R15: 00007f38255fff60