rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (0 ticks this GP) idle=a7b/1/0x4000000000000000 softirq=86627/86627 fqs=0 (detected by 1, t=10506 jiffies, g=114305, q=74) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 22116 Comm: syz-executor.3 Not tainted 5.15.134-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:29 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:106 [inline] RIP: 0010:lock_is_held_type+0x62/0x180 kernel/locking/lockdep.c:5661 Code: 85 f1 00 00 00 65 4c 8b 2d 8b 14 e6 75 41 83 bd ec 0a 00 00 00 0f 85 db 00 00 00 41 89 f6 49 89 ff 48 c7 04 24 00 00 00 00 9c <8f> 04 24 4c 8b 24 24 fa 48 c7 c7 60 19 8b 8a e8 1a 12 00 00 65 ff RSP: 0018:ffffc90000007c70 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffff88801c47bb80 RDX: ffff88801c47bb80 RSI: 00000000ffffffff RDI: ffff88801e411300 RBP: 00000000ffffffff R08: ffffffff886bd54b R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff88801e411000 R13: ffff88801c47bb80 R14: 00000000ffffffff R15: ffff88801e411300 FS: 00007fbfad6c86c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f25651a0630 CR3: 0000000063e67000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_is_held include/linux/lockdep.h:287 [inline] advance_sched+0x13d/0x940 net/sched/sch_taprio.c:721 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x598/0xcf0 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:loop3+0x175/0x37d Code: 43 7b f0 e1 0d 45 31 c7 c4 43 7b f0 f1 16 44 89 ce 45 31 e6 c4 43 7b f0 e1 02 03 54 3c 1c 44 09 de 45 31 e6 45 89 cc 44 21 d6 <45> 21 dc 45 01 ef 01 d0 44 09 e6 44 01 f2 44 01 f8 44 01 fa 01 f2 RSP: 0018:ffffc90002daf000 EFLAGS: 00000286 RAX: 0000000089dde5df RBX: 00000000fc2ad7dd RCX: 00000000b6dc781a RDX: 000000000b13f01a RSI: 00000000841344a9 RDI: 0000000000000100 RBP: ffffc90002daf228 R08: 00000000be4a16c8 R09: 00000000a59384ab R10: 00000000de5b64f9 R11: 0000000024b4c623 R12: 00000000a59384ab R13: 000000009924c0fb R14: 00000000822b6320 R15: 00000000b6485018 sha256_base_do_update include/crypto/sha256_base.h:65 [inline] _sha256_update arch/x86/crypto/sha256_ssse3_glue.c:62 [inline] sha256_avx2_update+0x1d2/0x1f0 arch/x86/crypto/sha256_ssse3_glue.c:228 crypto_shash_update+0x1db/0x2a0 crypto/shash.c:131 ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:496 [inline] ima_calc_file_shash security/integrity/ima/ima_crypto.c:516 [inline] ima_calc_file_hash+0xa96/0x1c00 security/integrity/ima/ima_crypto.c:573 ima_collect_measurement+0x293/0x530 security/integrity/ima/ima_api.c:254 process_measurement+0x1038/0x1d60 security/integrity/ima/ima_main.c:337 ima_file_mmap+0x124/0x1c0 security/integrity/ima/ima_main.c:415 vm_mmap_pgoff+0x13a/0x2d0 mm/util.c:547 ksys_mmap_pgoff+0x5c5/0x780 mm/mmap.c:1624 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+0x61/0xcb RIP: 0033:0x7fbfaf146ae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007fbfad6c80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007fbfaf265f80 RCX: 00007fbfaf146ae9 RDX: 000000000300000d RSI: 0000000000ff5000 RDI: 0000000020000000 RBP: 00007fbfaf19247a R08: ffffffffffffffff R09: 0000000000000000 R10: 000000000005c831 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fbfaf265f80 R15: 00007ffe00a3c7f8 rcu: rcu_preempt kthread timer wakeup didn't happen for 10505 jiffies! g114305 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=81243 rcu: rcu_preempt kthread starved for 10506 jiffies! g114305 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:26368 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5026 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6372 schedule+0x11b/0x1f0 kernel/sched/core.c:6455 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1884 rcu_gp_fqs_loop+0x2af/0xf70 kernel/rcu/tree.c:1959 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2132 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 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: 22116 Comm: syz-executor.3 Not tainted 5.15.134-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:_raw_spin_lock_irq+0x6/0x110 kernel/locking/spinlock.c:169 Code: 12 4c 89 e0 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 7c 81 f6 ff 66 2e 0f 1f 84 00 00 00 00 00 66 90 55 48 89 e5 41 57 <41> 56 41 55 41 54 53 48 83 e4 e0 48 83 ec 60 49 89 fc 65 48 8b 04 RSP: 0018:ffffc90000007d48 EFLAGS: 00000046 RAX: ffffffff816f35a4 RBX: ffff8880b9a2a348 RCX: ffff88801c47bb80 RDX: 0000000080010001 RSI: ffffffff8ad87960 RDI: ffff8880b9a2a200 RBP: ffffc90000007d50 R08: ffffffff816f357e R09: fffffbfff1bc8296 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b9a2a200 R13: 0000000000000001 R14: ffff88801e411340 R15: dffffc0000000000 FS: 00007fbfad6c86c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f25651a0630 CR3: 0000000063e67000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x662/0xcf0 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:loop3+0x175/0x37d Code: 43 7b f0 e1 0d 45 31 c7 c4 43 7b f0 f1 16 44 89 ce 45 31 e6 c4 43 7b f0 e1 02 03 54 3c 1c 44 09 de 45 31 e6 45 89 cc 44 21 d6 <45> 21 dc 45 01 ef 01 d0 44 09 e6 44 01 f2 44 01 f8 44 01 fa 01 f2 RSP: 0018:ffffc90002daf000 EFLAGS: 00000286 RAX: 0000000089dde5df RBX: 00000000fc2ad7dd RCX: 00000000b6dc781a RDX: 000000000b13f01a RSI: 00000000841344a9 RDI: 0000000000000100 RBP: ffffc90002daf228 R08: 00000000be4a16c8 R09: 00000000a59384ab R10: 00000000de5b64f9 R11: 0000000024b4c623 R12: 00000000a59384ab R13: 000000009924c0fb R14: 00000000822b6320 R15: 00000000b6485018 sha256_base_do_update include/crypto/sha256_base.h:65 [inline] _sha256_update arch/x86/crypto/sha256_ssse3_glue.c:62 [inline] sha256_avx2_update+0x1d2/0x1f0 arch/x86/crypto/sha256_ssse3_glue.c:228 crypto_shash_update+0x1db/0x2a0 crypto/shash.c:131 ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:496 [inline] ima_calc_file_shash security/integrity/ima/ima_crypto.c:516 [inline] ima_calc_file_hash+0xa96/0x1c00 security/integrity/ima/ima_crypto.c:573 ima_collect_measurement+0x293/0x530 security/integrity/ima/ima_api.c:254 process_measurement+0x1038/0x1d60 security/integrity/ima/ima_main.c:337 ima_file_mmap+0x124/0x1c0 security/integrity/ima/ima_main.c:415 vm_mmap_pgoff+0x13a/0x2d0 mm/util.c:547 ksys_mmap_pgoff+0x5c5/0x780 mm/mmap.c:1624 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+0x61/0xcb RIP: 0033:0x7fbfaf146ae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007fbfad6c80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007fbfaf265f80 RCX: 00007fbfaf146ae9 RDX: 000000000300000d RSI: 0000000000ff5000 RDI: 0000000020000000 RBP: 00007fbfaf19247a R08: ffffffffffffffff R09: 0000000000000000 R10: 000000000005c831 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fbfaf265f80 R15: 00007ffe00a3c7f8