rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=8a24/1/0x4000000000000000 softirq=247716/247717 fqs=8 rcu: (detected by 1, t=10502 jiffies, g=366297, q=243 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 25870 Comm: syz-executor.4 Not tainted 6.9.0-rc7-syzkaller-00056-g45db3ab70092 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:__run_hrtimer kernel/time/hrtimer.c:1707 [inline] RIP: 0010:__hrtimer_run_queues+0x6bf/0xd50 kernel/time/hrtimer.c:1756 Code: 84 24 b0 00 00 00 42 0f b6 04 28 84 c0 48 8b 54 24 28 0f 85 73 02 00 00 0f b6 1a 89 de 83 e6 01 31 ff e8 54 7f 12 00 83 e3 01 <75> 27 e8 4a 7c 12 00 4c 89 f7 48 8b 74 24 50 31 d2 e8 2b 2b 00 00 RSP: 0018:ffffc90000007d60 EFLAGS: 00000046 RAX: 0000000080010002 RBX: 0000000000000000 RCX: 0000000000000001 RDX: ffff88801b2fbc00 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000007ea8 R08: ffffffff81838c2c R09: fffff52000000f88 R10: dffffc0000000000 R11: fffff52000000f88 R12: 1ffff1101728593b R13: dffffc0000000000 R14: ffff888069f57340 R15: ffff8880b942c880 FS: 000055557c52d480(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f55db779198 CR3: 000000008bed8000 CR4: 0000000000350ef0 Call Trace: hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1818 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_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd8/0x140 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 de a8 6f f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 d3 a4 da f5 65 8b 05 74 c8 78 74 85 c0 74 43 48 c7 04 24 0e 36 RSP: 0018:ffffc90009c3f6a0 EFLAGS: 00000206 RAX: ffa453bd66d53f00 RBX: 1ffff92001387ed8 RCX: ffffffff8172f77a RDX: dffffc0000000000 RSI: ffffffff8bcab8a0 RDI: 0000000000000001 RBP: ffffc90009c3f730 R08: ffffffff92f35747 R09: 1ffffffff25e6ae8 R10: dffffc0000000000 R11: fffffbfff25e6ae9 R12: dffffc0000000000 R13: 1ffff92001387ed4 R14: ffffc90009c3f6c0 R15: 0000000000000246 krc_this_cpu_unlock kernel/rcu/tree.c:2968 [inline] kvfree_call_rcu+0x48c/0x790 kernel/rcu/tree.c:3475 __hw_addr_flush net/core/dev_addr_lists.c:490 [inline] dev_addr_flush+0x16f/0x210 net/core/dev_addr_lists.c:535 free_netdev+0x1ff/0x4d0 net/core/dev.c:10974 __nsim_dev_port_del+0x14b/0x1b0 drivers/net/netdevsim/dev.c:1425 nsim_dev_port_del_all drivers/net/netdevsim/dev.c:1437 [inline] nsim_dev_reload_destroy+0x28a/0x490 drivers/net/netdevsim/dev.c:1658 nsim_drv_remove+0x58/0x160 drivers/net/netdevsim/dev.c:1673 device_remove drivers/base/dd.c:566 [inline] __device_release_driver drivers/base/dd.c:1270 [inline] device_release_driver_internal+0x4ab/0x7c0 drivers/base/dd.c:1293 bus_remove_device+0x34f/0x420 drivers/base/bus.c:574 device_del+0x57a/0x9e0 drivers/base/core.c:3909 device_unregister+0x20/0xc0 drivers/base/core.c:3950 nsim_bus_dev_del drivers/net/netdevsim/bus.c:462 [inline] del_device_store+0x363/0x480 drivers/net/netdevsim/bus.c:226 kernfs_fop_write_iter+0x3a3/0x500 fs/kernfs/file.c:334 call_write_iter include/linux/fs.h:2110 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0xa86/0xcb0 fs/read_write.c:590 ksys_write+0x1a0/0x2c0 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe6cf07caaf Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 b9 80 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 0c 81 02 00 48 RSP: 002b:00007ffd6d1ff6f0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007fe6cf07caaf RDX: 0000000000000001 RSI: 00007ffd6d1ff740 RDI: 0000000000000005 RBP: 00007fe6cf0ca043 R08: 0000000000000000 R09: 00007ffd6d1ff547 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000001 R13: 00007ffd6d1ff740 R14: 00007fe6cfcd4620 R15: 0000000000000003 rcu: rcu_preempt kthread starved for 10486 jiffies! g366297 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:26256 pid:16 tgid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2582 rcu_gp_fqs_loop+0x2df/0x1370 kernel/rcu/tree.c:1663 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1862 kthread+0x2f2/0x390 kernel/kthread.c:388 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 PID: 26187 Comm: syz-executor.5 Not tainted 6.9.0-rc7-syzkaller-00056-g45db3ab70092 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline] RIP: 0010:smp_call_function_many_cond+0x1899/0x2a00 kernel/smp.c:855 Code: 89 e6 83 e6 01 31 ff e8 15 db 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 c0 d6 0b 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 a4 d6 0b 00 eb e4 44 RSP: 0018:ffffc900098a7680 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 1ffff11017288c6d RCX: 0000000000040000 RDX: ffffc9000a747000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc900098a7870 R08: ffffffff818a31ab R09: 1ffffffff25e6acf R10: dffffc0000000000 R11: fffffbfff25e6ad0 R12: dffffc0000000000 R13: ffff8880b9446368 R14: ffff8880b953f7c0 R15: 0000000000000000 FS: 00007f582e23c6c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32c21000 CR3: 000000007c20c000 CR4: 0000000000350ef0 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1023 kill_bdev block/bdev.c:84 [inline] set_blocksize+0x309/0x390 block/bdev.c:161 sb_set_blocksize+0x48/0x100 block/bdev.c:170 init_nilfs+0x62d/0x7a0 fs/nilfs2/the_nilfs.c:719 nilfs_fill_super+0xe8/0x600 fs/nilfs2/super.c:1058 nilfs_mount+0x6fc/0x950 fs/nilfs2/super.c:1298 legacy_get_tree+0xf0/0x190 fs/fs_context.c:662 vfs_get_tree+0x92/0x2a0 fs/super.c:1779 do_new_mount+0x2be/0xb40 fs/namespace.c:3352 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f582d47f46a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f582e23bef8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f582e23bf80 RCX: 00007f582d47f46a RDX: 0000000020000ec0 RSI: 0000000020000100 RDI: 00007f582e23bf40 RBP: 0000000020000ec0 R08: 00007f582e23bf80 R09: 0000000002008054 R10: 0000000002008054 R11: 0000000000000202 R12: 0000000020000100 R13: 00007f582e23bf40 R14: 0000000000000f51 R15: 0000000020000280