rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (0 ticks this GP) idle=7854/1/0x4000000000000000 softirq=180184/180184 fqs=0 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P3001/1:b..l (detected by 1, t=10506 jiffies, g=249229, q=42 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 7565 Comm: udevd Not tainted 6.1.43-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 RIP: 0010:check_wait_context kernel/locking/lockdep.c:4731 [inline] RIP: 0010:__lock_acquire+0x5b9/0x1f80 kernel/locking/lockdep.c:5006 Code: 8b 34 24 0f 85 e9 13 00 00 83 3d c1 0a 5f 10 00 0f 84 23 05 00 00 31 db 48 81 c3 b9 00 00 00 48 89 d8 48 c1 e8 03 0f b6 04 10 <84> c0 0f 85 f7 11 00 00 48 8b 44 24 20 49 8d 84 c5 e0 0a 00 00 48 RSP: 0018:ffffc90000007a80 EFLAGS: 00000802 RAX: 0000000000000000 RBX: ffffffff90191559 RCX: ffffffff8169e64a RDX: dffffc0000000000 RSI: ffff88802d080ae0 RDI: ffffffff90497228 RBP: 0000000000000002 R08: dffffc0000000000 R09: fffffbfff2092e46 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88802d080ad8 R13: ffff88802d080000 R14: ffff88802d080b28 R15: 1ffff11005a10165 FS: 00007fb4770a9c80(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555565998f8 CR3: 0000000029791000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5669 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irq+0xcf/0x110 kernel/locking/spinlock.c:170 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x6d3/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:ima_match_policy+0x93a/0x22d0 Code: 33 b8 c8 06 00 00 48 01 c6 ba 10 00 00 00 4c 89 ef e8 7a a1 84 06 89 c3 31 ff 89 c6 e8 cf be 8f fd 85 db 74 3b e8 66 bb 8f fd <4c> 8b 7c 24 18 4c 89 f8 48 c1 e8 03 42 80 3c 30 00 74 08 4c 89 ff RSP: 0018:ffffc9000730f2e0 EFLAGS: 00000293 RAX: ffffffff83fa2fdb RBX: 0000000001021994 RCX: ffff88802d080000 RDX: 0000000000000000 RSI: 0000000001021994 RDI: 0000000000009fa0 RBP: ffffc9000730f490 R08: ffffffff83fa2ee4 R09: fffffbfff2092e45 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: 0000000000000003 R14: dffffc0000000000 R15: 0000000000000004 ima_get_action+0x71/0xa0 security/integrity/ima/ima_api.c:199 process_measurement+0x379/0x1cf0 security/integrity/ima/ima_main.c:227 ima_file_check+0xed/0x170 security/integrity/ima/ima_main.c:520 do_open fs/namei.c:3559 [inline] path_openat+0x2687/0x2e60 fs/namei.c:3714 do_filp_open+0x230/0x480 fs/namei.c:3741 do_sys_openat2+0x13b/0x500 fs/open.c:1318 do_sys_open fs/open.c:1334 [inline] __do_sys_openat fs/open.c:1350 [inline] __se_sys_openat fs/open.c:1345 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1345 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fb476d169a4 Code: 24 20 48 8d 44 24 30 48 89 44 24 28 64 8b 04 25 18 00 00 00 85 c0 75 2c 44 89 e2 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 76 60 48 8b 15 55 a4 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffd9bbe9ce0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007fb476d169a4 RDX: 0000000000080241 RSI: 00007ffd9bbea228 RDI: 00000000ffffff9c RBP: 00007ffd9bbea228 R08: 0000000000000004 R09: 0000000000000001 R10: 00000000000001b6 R11: 0000000000000246 R12: 0000000000080241 R13: 000055f76427672e R14: 0000000000000001 R15: 000055f765fca910 task:udevd state:R running task stack:22600 pid:3001 ppid:1 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x132c/0x4330 kernel/sched/core.c:6554 preempt_schedule_common+0x83/0xd0 kernel/sched/core.c:6723 preempt_schedule+0xd9/0xe0 kernel/sched/core.c:6747 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0x128/0x130 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:405 [inline] __wake_up_common_lock kernel/sched/wait.c:140 [inline] __wake_up_sync_key+0x121/0x1c0 kernel/sched/wait.c:208 sock_def_readable+0x135/0x240 net/core/sock.c:3283 __netlink_sendskb net/netlink/af_netlink.c:1275 [inline] netlink_sendskb+0x8e/0x120 net/netlink/af_netlink.c:1281 netlink_unicast+0x3a1/0x990 net/netlink/af_netlink.c:1369 netlink_sendmsg+0xa26/0xd60 net/netlink/af_netlink.c:1903 sock_sendmsg_nosec net/socket.c:716 [inline] sock_sendmsg net/socket.c:736 [inline] ____sys_sendmsg+0x59e/0x8f0 net/socket.c:2482 ___sys_sendmsg net/socket.c:2536 [inline] __sys_sendmsg+0x2a9/0x390 net/socket.c:2565 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fb476d24a4b RSP: 002b:00007ffd9bbea758 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000055f765fcadf0 RCX: 00007fb476d24a4b RDX: 0000000000000000 RSI: 00007ffd9bbea768 RDI: 0000000000000004 RBP: 000055f765fedf90 R08: 0000000000000001 R09: 0000000000000000 R10: 000000000000010f R11: 0000000000000246 R12: 0000000000000000 R13: 00000000000000b6 R14: 0000000000000000 R15: 0000000000000000 rcu: rcu_preempt kthread timer wakeup didn't happen for 10505 jiffies! g249229 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=164407 rcu: rcu_preempt kthread starved for 10506 jiffies! g249229 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:26104 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x132c/0x4330 kernel/sched/core.c:6554 schedule+0xbf/0x180 kernel/sched/core.c:6630 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1935 rcu_gp_fqs_loop+0x2c2/0x1010 kernel/rcu/tree.c:1661 rcu_gp_kthread+0xa3/0x3a0 kernel/rcu/tree.c:1860 kthread+0x26e/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 7565 Comm: udevd Not tainted 6.1.43-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 RIP: 0010:validate_chain+0x0/0x58e0 kernel/locking/lockdep.c:3788 Code: c1 a8 a4 73 8e 80 e1 07 80 c1 03 38 c1 7c 92 48 c7 c7 a8 a4 73 8e e8 0f e9 75 00 eb 84 e8 68 22 1a 09 0f 1f 84 00 00 00 00 00 <55> 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48 81 ec 80 02 RSP: 0018:ffffc90000007a78 EFLAGS: 00000086 RAX: 1ffffffff203229c RBX: ffffffff901914e0 RCX: 56472f538d8cb3e8 RDX: 0000000000000001 RSI: ffff88802d080b08 RDI: ffff88802d080000 RBP: 56472f538d8cb3e8 R08: dffffc0000000000 R09: fffffbfff2092e46 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88802d080ad8 R13: ffff88802d080000 R14: 0000000000000001 R15: 1ffff11005a10165 FS: 00007fb4770a9c80(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555565998f8 CR3: 0000000029791000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_acquire+0x125b/0x1f80 kernel/locking/lockdep.c:5056 lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5669 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irq+0xcf/0x110 kernel/locking/spinlock.c:170 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x6d3/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:ima_match_policy+0x93a/0x22d0 Code: 33 b8 c8 06 00 00 48 01 c6 ba 10 00 00 00 4c 89 ef e8 7a a1 84 06 89 c3 31 ff 89 c6 e8 cf be 8f fd 85 db 74 3b e8 66 bb 8f fd <4c> 8b 7c 24 18 4c 89 f8 48 c1 e8 03 42 80 3c 30 00 74 08 4c 89 ff RSP: 0018:ffffc9000730f2e0 EFLAGS: 00000293 RAX: ffffffff83fa2fdb RBX: 0000000001021994 RCX: ffff88802d080000 RDX: 0000000000000000 RSI: 0000000001021994 RDI: 0000000000009fa0 RBP: ffffc9000730f490 R08: ffffffff83fa2ee4 R09: fffffbfff2092e45 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: 0000000000000003 R14: dffffc0000000000 R15: 0000000000000004 ima_get_action+0x71/0xa0 security/integrity/ima/ima_api.c:199 process_measurement+0x379/0x1cf0 security/integrity/ima/ima_main.c:227 ima_file_check+0xed/0x170 security/integrity/ima/ima_main.c:520 do_open fs/namei.c:3559 [inline] path_openat+0x2687/0x2e60 fs/namei.c:3714 do_filp_open+0x230/0x480 fs/namei.c:3741 do_sys_openat2+0x13b/0x500 fs/open.c:1318 do_sys_open fs/open.c:1334 [inline] __do_sys_openat fs/open.c:1350 [inline] __se_sys_openat fs/open.c:1345 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1345 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fb476d169a4 Code: 24 20 48 8d 44 24 30 48 89 44 24 28 64 8b 04 25 18 00 00 00 85 c0 75 2c 44 89 e2 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 76 60 48 8b 15 55 a4 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffd9bbe9ce0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007fb476d169a4 RDX: 0000000000080241 RSI: 00007ffd9bbea228 RDI: 00000000ffffff9c RBP: 00007ffd9bbea228 R08: 0000000000000004 R09: 0000000000000001 R10: 00000000000001b6 R11: 0000000000000246 R12: 0000000000080241 R13: 000055f76427672e R14: 0000000000000001 R15: 000055f765fca910