rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P3323/2:b..l (detected by 0, t=10502 jiffies, g=166165, q=90 ncpus=2) task:udevd state:R running task stack:27856 pid: 3323 ppid: 3050 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5109 [inline] __schedule+0xa9a/0x4cc0 kernel/sched/core.c:6424 preempt_schedule_irq+0x4e/0x90 kernel/sched/core.c:6732 irqentry_exit+0x31/0x80 kernel/entry/common.c:428 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:166 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:200 Code: 48 89 ef 5d e9 91 d9 4b 00 5d be 03 00 00 00 e9 e6 94 80 02 66 0f 1f 44 00 00 48 8b be a8 01 00 00 e8 b4 ff ff ff 31 c0 c3 90 <65> 8b 05 99 13 88 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b RSP: 0018:ffffc90007f177d0 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000200 RCX: 0000000000000000 RDX: ffff888021783b00 RSI: ffffffff81e3cc9e RDI: 0000000000000003 RBP: ffffc90007f178e0 R08: 0000000000000000 R09: ffffffff9009e93f R10: ffffffff81e3cc94 R11: 0000000000000001 R12: 0000000000000000 R13: ffffc90007f17c78 R14: dffffc0000000000 R15: dffffc0000000000 __seqprop_spinlock_sequence include/linux/seqlock.h:275 [inline] read_seqbegin include/linux/seqlock.h:836 [inline] read_seqbegin_or_lock include/linux/seqlock.h:1140 [inline] prepend_path+0x3b4/0xea0 fs/d_path.c:170 d_absolute_path+0xef/0x1a0 fs/d_path.c:233 tomoyo_get_absolute_path security/tomoyo/realpath.c:101 [inline] tomoyo_realpath_from_path+0x288/0x620 security/tomoyo/realpath.c:276 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path2_perm+0x316/0x6b0 security/tomoyo/file.c:923 tomoyo_path_rename+0xd2/0x130 security/tomoyo/tomoyo.c:278 security_path_rename+0x1b5/0x2e0 security/security.c:1206 do_renameat2+0x472/0xc80 fs/namei.c:4807 __do_sys_rename fs/namei.c:4866 [inline] __se_sys_rename fs/namei.c:4864 [inline] __x64_sys_rename+0x7d/0xa0 fs/namei.c:4864 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fba8fa934d7 RSP: 002b:00007ffce98b27e8 EFLAGS: 00000206 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fba8fa934d7 RDX: 000000000000001c RSI: 00007ffce98b2808 RDI: 00007ffce98b2c08 RBP: 0000556fd3efcb80 R08: 0000000000000007 R09: 0000556fd3e22370 R10: 00000000000001b6 R11: 0000000000000206 R12: 0000556fd3e22370 R13: 00007ffce98b2808 R14: 00007ffce98b2c08 R15: 0000556fd3c44160 rcu: rcu_preempt kthread starved for 10499 jiffies! g166165 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:28736 pid: 17 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5109 [inline] __schedule+0xa9a/0x4cc0 kernel/sched/core.c:6424 schedule+0xd2/0x1f0 kernel/sched/core.c:6496 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1907 rcu_gp_fqs_loop+0x1c0/0x840 kernel/rcu/tree.c:2078 rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2267 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 rcu: Stack dump where RCU GP kthread last ran: NMI backtrace for cpu 0 CPU: 0 PID: 3335 Comm: syz-executor.4 Not tainted 5.18.0-rc5-next-20220506-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline] rcu_check_gp_kthread_starvation.cold+0x1fb/0x200 kernel/rcu/tree_stall.h:512 print_other_cpu_stall kernel/rcu/tree_stall.h:617 [inline] check_cpu_stall kernel/rcu/tree_stall.h:762 [inline] rcu_pending kernel/rcu/tree.c:4068 [inline] rcu_sched_clock_irq+0x2316/0x2370 kernel/rcu/tree.c:2755 update_process_times+0x16d/0x200 kernel/time/timer.c:1811 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:243 tick_sched_timer+0xee/0x120 kernel/time/tick-sched.c:1481 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x1c0/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:csd_lock_wait kernel/smp.c:414 [inline] RIP: 0010:smp_call_function_many_cond+0x499/0x1110 kernel/smp.c:988 Code: 01 89 ee e8 79 93 0a 00 85 ed 74 47 48 8b 04 24 49 89 c4 83 e0 07 49 c1 ec 03 48 89 c5 4d 01 fc 83 c5 03 e8 39 91 0a 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 21 0a 00 00 8b 43 08 31 RSP: 0018:ffffc900083c7910 EFLAGS: 00000246 RAX: 0000000000040000 RBX: ffff8880b9d40320 RCX: ffffc900059c1000 RDX: 0000000000040000 RSI: ffffffff816fcae7 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff816fcb0d R11: 0000000000000000 R12: ffffed10173a8065 R13: 0000000000000001 R14: 0000000000000001 R15: dffffc0000000000 on_each_cpu_cond_mask+0x56/0xa0 kernel/smp.c:1154 kill_bdev block/bdev.c:76 [inline] set_blocksize+0x2b3/0x370 block/bdev.c:153 sb_set_blocksize+0x49/0x110 block/bdev.c:162 isofs_fill_super+0x12c6/0x2980 fs/isofs/inode.c:862 mount_bdev+0x34d/0x410 fs/super.c:1367 legacy_get_tree+0x105/0x220 fs/fs_context.c:610 vfs_get_tree+0x89/0x2f0 fs/super.c:1497 do_new_mount fs/namespace.c:3040 [inline] path_mount+0x1320/0x1fa0 fs/namespace.c:3370 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3568 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f14b7e8a61a Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f14b906af88 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f14b7e8a61a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f14b906afe0 RBP: 00007f14b906b020 R08: 00007f14b906b020 R09: 0000000020000000 R10: 0000000000000001 R11: 0000000000000206 R12: 0000000020000000 R13: 0000000020000100 R14: 00007f14b906afe0 R15: 0000000020013500 watchdog: BUG: soft lockup - CPU#0 stuck for 248s! [syz-executor.4:3335] Modules linked in: irq event stamp: 101944 hardirqs last enabled at (101943): [] asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:649 hardirqs last disabled at (101944): [] sysvec_apic_timer_interrupt+0xb/0xc0 arch/x86/kernel/apic/apic.c:1106 softirqs last enabled at (3538): [] invoke_softirq kernel/softirq.c:445 [inline] softirqs last enabled at (3538): [] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:650 softirqs last disabled at (3469): [] invoke_softirq kernel/softirq.c:445 [inline] softirqs last disabled at (3469): [] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:650 CPU: 0 PID: 3335 Comm: syz-executor.4 Not tainted 5.18.0-rc5-next-20220506-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:csd_lock_wait kernel/smp.c:414 [inline] RIP: 0010:smp_call_function_many_cond+0x499/0x1110 kernel/smp.c:988 Code: 01 89 ee e8 79 93 0a 00 85 ed 74 47 48 8b 04 24 49 89 c4 83 e0 07 49 c1 ec 03 48 89 c5 4d 01 fc 83 c5 03 e8 39 91 0a 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 21 0a 00 00 8b 43 08 31 RSP: 0018:ffffc900083c7910 EFLAGS: 00000246 RAX: 0000000000040000 RBX: ffff8880b9d40320 RCX: ffffc900059c1000 RDX: 0000000000040000 RSI: ffffffff816fcae7 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff816fcb0d R11: 0000000000000000 R12: ffffed10173a8065 R13: 0000000000000001 R14: 0000000000000001 R15: dffffc0000000000 FS: 00007f14b906b700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f14b906c000 CR3: 00000000236a6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x56/0xa0 kernel/smp.c:1154 kill_bdev block/bdev.c:76 [inline] set_blocksize+0x2b3/0x370 block/bdev.c:153 sb_set_blocksize+0x49/0x110 block/bdev.c:162 isofs_fill_super+0x12c6/0x2980 fs/isofs/inode.c:862 mount_bdev+0x34d/0x410 fs/super.c:1367 legacy_get_tree+0x105/0x220 fs/fs_context.c:610 vfs_get_tree+0x89/0x2f0 fs/super.c:1497 do_new_mount fs/namespace.c:3040 [inline] path_mount+0x1320/0x1fa0 fs/namespace.c:3370 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3568 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f14b7e8a61a Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f14b906af88 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f14b7e8a61a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f14b906afe0 RBP: 00007f14b906b020 R08: 00007f14b906b020 R09: 0000000020000000 R10: 0000000000000001 R11: 0000000000000206 R12: 0000000020000000 R13: 0000000020000100 R14: 00007f14b906afe0 R15: 0000000020013500 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 3330 Comm: syz-executor.3 Not tainted 5.18.0-rc5-next-20220506-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:write_comp_data kernel/kcov.c:221 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp1+0x15/0x80 kernel/kcov.c:273 Code: 00 48 89 4c 38 f0 4e 89 54 c8 20 48 89 10 c3 66 0f 1f 44 00 00 53 41 89 fb 41 89 f1 bf 03 00 00 00 65 48 8b 0c 25 00 70 02 00 <48> 89 ce 4c 8b 54 24 08 e8 ae f7 ff ff 84 c0 74 51 48 8b 81 88 15 RSP: 0018:ffffc900001f0e30 EFLAGS: 00000046 RAX: 0000000080010002 RBX: ffff88814703f340 RCX: ffff88801dd00000 RDX: ffff88801dd00000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff816aab3c R11: 0000000000000000 R12: 0000000000000000 R13: ffff8880b9d2a680 R14: ffff8880b9d2a580 R15: ffffffff8786e450 FS: 00007f45b980f700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33721000 CR3: 0000000073f3b000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_unlock_sched_notrace include/linux/rcupdate.h:818 [inline] trace_hrtimer_expire_entry include/trace/events/timer.h:235 [inline] __run_hrtimer kernel/time/hrtimer.c:1682 [inline] __hrtimer_run_queues+0x9df/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:finish_task_switch.isra.0+0x323/0xb80 kernel/sched/core.c:4989 Code: 83 8e 21 08 85 c0 75 02 0f 0b 48 85 db 0f 85 25 01 00 00 4c 89 f7 e8 fc f7 ff ff e8 a7 6a 2e 00 fb 65 48 8b 1c 25 00 70 02 00 <48> 8d bb 80 15 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 RSP: 0018:ffffc90008367350 EFLAGS: 00000202 RAX: 000000000000034f RBX: ffff88801dd00000 RCX: 1ffffffff201bd06 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90008367398 R08: 0000000000000001 R09: ffffffff9009e92f R10: 0000000000000001 R11: 0000000000000001 R12: ffff8880b9d3ad98 R13: ffff888010e1bb00 R14: ffff8880b9d3a040 R15: ffff8880b9d3aa78 context_switch kernel/sched/core.c:5112 [inline] __schedule+0xaa2/0x4cc0 kernel/sched/core.c:6424 preempt_schedule_common+0x45/0xc0 kernel/sched/core.c:6589 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:35 __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] _raw_spin_unlock_irq+0x3c/0x40 kernel/locking/spinlock.c:202 spin_unlock_irq include/linux/spinlock.h:404 [inline] loop_queue_work drivers/block/loop.c:894 [inline] loop_queue_rq+0x623/0x11f0 drivers/block/loop.c:1831 __blk_mq_issue_directly block/blk-mq.c:2472 [inline] __blk_mq_try_issue_directly+0x570/0x7a0 block/blk-mq.c:2525 blk_mq_try_issue_directly+0x21/0xf0 block/blk-mq.c:2549 blk_mq_submit_bio+0x1579/0x1be0 block/blk-mq.c:2860 __submit_bio+0x2b7/0x340 block/blk-core.c:665 __submit_bio_noacct_mq block/blk-core.c:742 [inline] submit_bio_noacct_nocheck block/blk-core.c:759 [inline] submit_bio_noacct_nocheck+0x6c9/0x8a0 block/blk-core.c:748 submit_bio_noacct+0xa20/0x1b30 block/blk-core.c:866 submit_bio block/blk-core.c:926 [inline] submit_bio+0x1a0/0x350 block/blk-core.c:890 submit_bh_wbc+0x4bc/0x670 fs/buffer.c:3039 submit_bh fs/buffer.c:3045 [inline] __bread_slow fs/buffer.c:1177 [inline] __bread_gfp+0x178/0x3b0 fs/buffer.c:1381 sb_bread include/linux/buffer_head.h:302 [inline] read_super_block+0x83/0x930 fs/reiserfs/super.c:1604 reiserfs_fill_super+0x9d9/0x2fb0 fs/reiserfs/super.c:1968 mount_bdev+0x34d/0x410 fs/super.c:1367 legacy_get_tree+0x105/0x220 fs/fs_context.c:610 vfs_get_tree+0x89/0x2f0 fs/super.c:1497 do_new_mount fs/namespace.c:3040 [inline] path_mount+0x1320/0x1fa0 fs/namespace.c:3370 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3568 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f45b868a61a Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f45b980ef88 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f45b868a61a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f45b980efe0 RBP: 00007f45b980f020 R08: 00007f45b980f020 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000020000000 R13: 0000000020000100 R14: 00007f45b980efe0 R15: 0000000020012400 ---------------- Code disassembly (best guess): 0: 48 89 ef mov %rbp,%rdi 3: 5d pop %rbp 4: e9 91 d9 4b 00 jmpq 0x4bd99a 9: 5d pop %rbp a: be 03 00 00 00 mov $0x3,%esi f: e9 e6 94 80 02 jmpq 0x28094fa 14: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 1a: 48 8b be a8 01 00 00 mov 0x1a8(%rsi),%rdi 21: e8 b4 ff ff ff callq 0xffffffda 26: 31 c0 xor %eax,%eax 28: c3 retq 29: 90 nop * 2a: 65 8b 05 99 13 88 7e mov %gs:0x7e881399(%rip),%eax # 0x7e8813ca <-- trapping instruction 31: 89 c1 mov %eax,%ecx 33: 48 8b 34 24 mov (%rsp),%rsi 37: 81 e1 00 01 00 00 and $0x100,%ecx 3d: 65 gs 3e: 48 rex.W 3f: 8b .byte 0x8b