rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P8900/2:b..l P8395/1:b..l rcu: (detected by 1, t=10502 jiffies, g=41481, q=407 ncpus=2) task:syz-executor state:R running task stack:21024 pid:8395 tgid:8395 ppid:8369 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7067 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:queue_work_on+0x269/0x380 kernel/workqueue.c:2416 Code: 75 19 e8 fa 90 36 00 eb 18 e8 f3 90 36 00 e8 4e 50 26 0a 48 83 7c 24 10 00 74 e7 e8 e1 90 36 00 fb 48 c7 44 24 20 0e 36 e0 45 <4b> c7 04 37 00 00 00 00 43 c7 44 37 09 00 00 00 00 66 43 c7 44 37 RSP: 0018:ffffc9000b29f1a0 EFLAGS: 00000293 RAX: ffffffff815f966f RBX: 0000000000000000 RCX: ffff888028365a00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000b29f288 R08: ffffffff815f963f R09: 1ffffffff25f4ece R10: dffffc0000000000 R11: fffffbfff25f4ecf R12: 001fffffffc00001 R13: 0000000000000046 R14: 1ffff92001653e38 R15: dffffc0000000000 nsim_fib_event_nb+0xe5d/0x10b0 drivers/net/netdevsim/fib.c:1043 call_fib_notifier+0x44/0x70 net/core/fib_notifier.c:24 call_fib_entry_notifier net/ipv4/fib_trie.c:90 [inline] fib_leaf_notify net/ipv4/fib_trie.c:2203 [inline] fib_table_notify net/ipv4/fib_trie.c:2221 [inline] fib_notify+0x445/0x780 net/ipv4/fib_trie.c:2244 fib_net_dump net/core/fib_notifier.c:71 [inline] register_fib_notifier+0x184/0x370 net/core/fib_notifier.c:109 nsim_fib_create+0x902/0xa70 drivers/net/netdevsim/fib.c:1595 nsim_drv_probe+0x747/0xb80 drivers/net/netdevsim/dev.c:1582 really_probe+0x2ba/0xad0 drivers/base/dd.c:656 __driver_probe_device+0x1a2/0x390 drivers/base/dd.c:798 driver_probe_device+0x50/0x430 drivers/base/dd.c:828 __device_attach_driver+0x2d6/0x530 drivers/base/dd.c:956 bus_for_each_drv+0x250/0x2e0 drivers/base/bus.c:457 __device_attach+0x333/0x520 drivers/base/dd.c:1028 bus_probe_device+0x189/0x260 drivers/base/bus.c:532 device_add+0x856/0xbf0 drivers/base/core.c:3679 nsim_bus_dev_new drivers/net/netdevsim/bus.c:442 [inline] new_device_store+0x3f3/0x890 drivers/net/netdevsim/bus.c:173 kernfs_fop_write_iter+0x3a3/0x500 fs/kernfs/file.c:334 new_sync_write fs/read_write.c:497 [inline] vfs_write+0xa74/0xc90 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+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fdb47f74a9f RSP: 002b:00007ffda1604b30 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007fdb47f74a9f RDX: 0000000000000003 RSI: 00007ffda1604b80 RDI: 0000000000000005 RBP: 00007fdb47fe46f0 R08: 0000000000000000 R09: 00007ffda1604987 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 00007ffda1604b80 R14: 00007fdb48c34620 R15: 0000000000000003 task:rm state:R running task stack:23680 pid:8900 tgid:8900 ppid:8860 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7067 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+0x4/0x9f0 kernel/locking/lockdep.c:5762 Code: f6 ff ff 48 c7 c7 f0 7f ad 8f e8 07 4f 89 00 e9 26 f6 ff ff 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa <55> 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48 81 ec 00 01 RSP: 0018:ffffc9000316f268 EFLAGS: 00000293 RAX: ffffffff815b46b6 RBX: 0000000000000001 RCX: ffff888029c5bc00 RDX: 0000000000000000 RSI: ffffffff815b4586 RDI: ffffffff8e333f20 RBP: 0000000000000000 R08: ffffffff815b46a4 R09: 1ffff11002a0f7a0 R10: dffffc0000000000 R11: ffffffff81c24920 R12: ffffffff815b4586 R13: 0000000000000003 R14: 0000000000000007 R15: ffffffff8e1da820 rcu_lock_release include/linux/rcupdate.h:339 [inline] rcu_read_unlock include/linux/rcupdate.h:812 [inline] has_ns_capability_noaudit+0x1e4/0x240 kernel/capability.c:328 ima_match_rules security/integrity/ima/ima_policy.c:609 [inline] ima_match_policy+0xaa4/0x22f0 security/integrity/ima/ima_policy.c:759 ima_get_action+0x75/0xb0 security/integrity/ima/ima_api.c:199 process_measurement+0x365/0x1fb0 security/integrity/ima/ima_main.c:235 ima_file_check+0xf2/0x170 security/integrity/ima/ima_main.c:572 security_file_post_open+0x6f/0xa0 security/security.c:2982 do_open fs/namei.c:3656 [inline] path_openat+0x2c54/0x35f0 fs/namei.c:3813 do_filp_open+0x235/0x490 fs/namei.c:3840 do_sys_openat2+0x13e/0x1d0 fs/open.c:1413 do_sys_open fs/open.c:1428 [inline] __do_sys_openat fs/open.c:1444 [inline] __se_sys_openat fs/open.c:1439 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1439 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:0x7f3611b3ba46 RSP: 002b:00007ffe6577aa78 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007ffe6577acd8 RCX: 00007f3611b3ba46 RDX: 0000000000080000 RSI: 00007ffe6577aaf0 RDI: 00000000ffffff9c RBP: 00007ffe6577aae0 R08: 0000000000080000 R09: 00007ffe6577aaf0 R10: 0000000000000000 R11: 0000000000000287 R12: 00007ffe6577aaf0 R13: 0000000000000009 R14: 00007ffe6577acbf R15: 00000000ffffffff rcu: rcu_preempt kthread starved for 10603 jiffies! g41481 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:24984 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2000 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2202 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 PID: 0 Comm: swapper/1 Not tainted 6.10.0-rc6-syzkaller-00051-g1dfe225e9af5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:native_irq_disable arch/x86/include/asm/irqflags.h:37 [inline] RIP: 0010:arch_local_irq_disable arch/x86/include/asm/irqflags.h:72 [inline] RIP: 0010:acpi_safe_halt+0x21/0x30 drivers/acpi/processor_idle.c:113 Code: 90 90 90 90 90 90 90 90 90 65 48 8b 04 25 c0 d4 03 00 48 f7 00 08 00 00 00 75 10 eb 07 0f 00 2d b5 5a a3 00 f3 0f 1e fa fb f4 e9 f4 23 2a 00 66 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 RSP: 0018:ffffc900001a7d08 EFLAGS: 00000246 RAX: ffff8880176e0000 RBX: ffff888018ee6864 RCX: 000000000043ec09 RDX: 0000000000000001 RSI: ffff888018ee6800 RDI: ffff888018ee6864 RBP: 000000000003a578 R08: ffff8880b9537ccb R09: 1ffff110172a6f99 R10: dffffc0000000000 R11: ffffffff8b8618c0 R12: ffff88801ab5e000 R13: 0000000000000000 R14: 0000000000000001 R15: ffffffff8eacdca0 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffcfdb6ce18 CR3: 000000002e724000 CR4: 0000000000350ef0 Call Trace: acpi_idle_enter+0xe4/0x140 drivers/acpi/processor_idle.c:707 cpuidle_enter_state+0x114/0x480 drivers/cpuidle/cpuidle.c:267 cpuidle_enter+0x5d/0xa0 drivers/cpuidle/cpuidle.c:388 call_cpuidle kernel/sched/idle.c:155 [inline] cpuidle_idle_call kernel/sched/idle.c:236 [inline] do_idle+0x375/0x5d0 kernel/sched/idle.c:332 cpu_startup_entry+0x42/0x60 kernel/sched/idle.c:430 start_secondary+0x100/0x100 arch/x86/kernel/smpboot.c:313 common_startup_64+0x13e/0x147