rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=c4e4/1/0x4000000000000000 softirq=8204/8205 fqs=13 rcu: (detected by 1, t=10505 jiffies, g=8993, q=1288 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 5229 Comm: syz-executor Not tainted 6.11.0-rc1-syzkaller-00043-g94ede2a3e913 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:kasan_check_range+0x9/0x290 mm/kasan/generic.c:188 Code: e3 ff 90 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 55 41 57 41 56 <41> 54 53 b0 01 48 85 f6 0f 84 a0 01 00 00 4c 8d 04 37 49 39 f8 0f RSP: 0018:ffffc900000078f0 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff816fb6ff RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff93729800 RBP: 0000000000000002 R08: ffffffff93729807 R09: 1ffffffff26e5300 R10: dffffc0000000000 R11: fffffbfff26e5301 R12: ffff88804f8eda00 R13: 0000000000000001 R14: 1ffff11009f1dcaa R15: ffff88804f8ee550 FS: 000055558fc89500(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3250dff8 CR3: 00000000126c0000 CR4: 0000000000350ef0 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] hlock_class kernel/locking/lockdep.c:227 [inline] check_wait_context kernel/locking/lockdep.c:4773 [inline] __lock_acquire+0x5df/0x2040 kernel/locking/lockdep.c:5092 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5759 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162 debug_object_activate+0x16d/0x510 lib/debugobjects.c:709 debug_hrtimer_activate kernel/time/hrtimer.c:423 [inline] debug_activate kernel/time/hrtimer.c:478 [inline] enqueue_hrtimer+0x30/0x3c0 kernel/time/hrtimer.c:1085 __run_hrtimer kernel/time/hrtimer.c:1706 [inline] __hrtimer_run_queues+0x6cb/0xd50 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1815 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x112/0x3f0 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irq+0x29/0x50 kernel/locking/spinlock.c:202 Code: 90 f3 0f 1e fa 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 da 81 b0 f5 48 89 df e8 b2 c4 b1 f5 e8 fd 7b db f5 fb bf 01 00 00 00 82 90 a3 f5 65 8b 05 93 87 44 74 85 c0 74 06 5b e9 4c f1 30 00 RSP: 0018:ffffc90004a374c0 EFLAGS: 00000282 RAX: 86d33740b7b70100 RBX: ffff8880201e0800 RCX: ffffffff81701e2a RDX: dffffc0000000000 RSI: ffffffff8c0ad560 RDI: 0000000000000001 RBP: ffff8880201e0800 R08: ffffffff937298a7 R09: 1ffffffff26e5314 R10: dffffc0000000000 R11: fffffbfff26e5315 R12: dffffc0000000000 R13: ffff8880207cc1bc R14: 0000000000000000 R15: ffff888020915100 spin_unlock_irq include/linux/spinlock.h:401 [inline] blk_insert_flush+0x405/0x550 block/blk-flush.c:456 blk_mq_submit_bio+0x1245/0x22d0 block/blk-mq.c:3024 __submit_bio+0x1c1/0x560 block/blk-core.c:615 __submit_bio_noacct_mq block/blk-core.c:696 [inline] submit_bio_noacct_nocheck+0x4d3/0xe30 block/blk-core.c:725 submit_bio_wait+0x106/0x200 block/bio.c:1392 blkdev_issue_flush+0xb4/0x110 block/blk-flush.c:473 ext4_sync_fs+0x4b0/0x710 fs/ext4/super.c:6311 sync_filesystem+0x1ca/0x230 fs/sync.c:66 generic_shutdown_super+0x72/0x2d0 fs/super.c:621 kill_block_super+0x44/0x90 fs/super.c:1696 ext4_kill_sb+0x68/0xa0 fs/ext4/super.c:7289 deactivate_locked_super+0xc6/0x130 fs/super.c:473 cleanup_mnt+0x41f/0x4b0 fs/namespace.c:1373 task_work_run+0x251/0x310 kernel/task_work.c:228 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2101f785c7 Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffc25c74b88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f2101f785c7 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffc25c74c40 RBP: 00007ffc25c74c40 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffc25c75cc0 R13: 00007f2101fe4784 R14: 0000000000015c5f R15: 00007ffc25c75d00 rcu: rcu_preempt kthread starved for 10440 jiffies! g8993 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1 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:26448 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x1800/0x4a60 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+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/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: CPU: 1 UID: 0 PID: 5462 Comm: syz.0.51 Not tainted 6.11.0-rc1-syzkaller-00043-g94ede2a3e913 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:csd_lock_wait kernel/smp.c:312 [inline] RIP: 0010:smp_call_function_many_cond+0x1865/0x29d0 kernel/smp.c:856 Code: 89 e6 83 e6 01 31 ff e8 99 14 0c 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 44 10 0c 00 eb 38 f3 90 42 0f b6 04 23 <84> c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 28 10 0c 00 eb e4 44 RSP: 0018:ffffc90004347780 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 1ffff11017248c61 RCX: 0000000000040000 RDX: ffffc9000a41b000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc90004347948 R08: ffffffff81875667 R09: 1ffffffff26e5324 R10: dffffc0000000000 R11: fffffbfff26e5325 R12: dffffc0000000000 R13: ffff8880b9246308 R14: ffff8880b933fb80 R15: 0000000000000000 FS: 00007fe1906856c0(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe18f959b40 CR3: 0000000011d7e000 CR4: 0000000000350ef0 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1023 kill_bdev block/bdev.c:89 [inline] set_blocksize+0x2e8/0x360 block/bdev.c:172 sb_set_blocksize block/bdev.c:181 [inline] sb_min_blocksize+0xa9/0x180 block/bdev.c:197 fat_fill_super+0x57e/0x35a0 fs/fat/inode.c:1598 get_tree_bdev+0x3f9/0x570 fs/super.c:1635 vfs_get_tree+0x92/0x2a0 fs/super.c:1800 do_new_mount+0x2be/0xb40 fs/namespace.c:3472 do_mount fs/namespace.c:3812 [inline] __do_sys_mount fs/namespace.c:4020 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:3997 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:0x7fe18f97899a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 7e 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe190684e78 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fe190684f00 RCX: 00007fe18f97899a RDX: 0000000020000400 RSI: 0000000020000280 RDI: 00007fe190684ec0 RBP: 0000000020000400 R08: 00007fe190684f00 R09: 0000000000000414 R10: 0000000000000414 R11: 0000000000000202 R12: 0000000020000280 R13: 00007fe190684ec0 R14: 00000000000002a1 R15: 0000000020000000