rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-....: (1 GPs behind) idle=9b5/1/0x4000000000000002 softirq=14432/14433 fqs=5246 (detected by 1, t=10502 jiffies, g=19377, q=4253) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 6790 Comm: syz.4.782 Not tainted 5.15.176-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:35 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:132 [inline] RIP: 0010:lock_release+0x606/0x9a0 kernel/locking/lockdep.c:5646 Code: eb 03 42 80 3c 3b 00 74 08 4c 89 f7 e8 83 74 67 00 48 c7 84 24 90 00 00 00 00 00 00 00 9c 8f 84 24 90 00 00 00 42 80 3c 3b 00 <74> 08 4c 89 f7 e8 e0 73 67 00 f6 84 24 91 00 00 00 02 75 6f 41 f7 RSP: 0018:ffffc9000313efa0 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 1ffff92000627e06 RCX: ffffc9000313f003 RDX: 0000000000000001 RSI: ffffffff8aab3e20 RDI: ffffffff8af9f340 RBP: ffffc9000313f0d0 R08: dffffc0000000000 R09: fffffbfff1c14d56 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000627e00 R13: 0000000000000046 R14: ffffc9000313f030 R15: dffffc0000000000 FS: 00007ffb16b596c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c2dafab CR3: 0000000063712000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: rcu_read_unlock include/linux/rcupdate.h:772 [inline] __perf_event_output kernel/events/core.c:7788 [inline] perf_event_output_forward+0x29e/0x310 kernel/events/core.c:7797 __perf_event_overflow+0x35d/0x530 kernel/events/core.c:9490 perf_swevent_overflow kernel/events/core.c:9566 [inline] perf_swevent_event+0x4c5/0x550 kernel/events/core.c:9604 perf_tp_event+0x363/0xc40 kernel/events/core.c:10022 perf_trace_run_bpf_submit+0xf7/0x1d0 kernel/events/core.c:9996 perf_trace_preemptirq_template+0x31d/0x430 include/trace/events/preemptirq.h:14 trace_irq_enable_rcuidle+0x10e/0x190 include/trace/events/preemptirq.h:40 trace_hardirqs_on+0x57/0x80 kernel/trace/trace_preemptirq.c:44 asm_sysvec_irq_work+0x16/0x20 arch/x86/include/asm/idtentry.h:713 RIP: 0010:rcu_read_unlock_special+0x84/0x520 kernel/rcu/tree_plugin.h:671 Code: f1 f1 f1 00 f2 f2 f2 49 89 04 17 66 41 c7 44 17 09 f3 f3 41 c6 44 17 0b f3 65 44 8b 25 6d 82 96 7e 41 f7 c4 00 00 f0 00 74 45 <48> c7 44 24 20 0e 36 e0 45 4a c7 04 3a 00 00 00 00 66 42 c7 44 3a RSP: 0018:ffffc9000313f780 EFLAGS: 00000206 RAX: 36bb14617dd03500 RBX: 1ffff92000627ef8 RCX: ffffffff96a90f03 RDX: dffffc0000000000 RSI: ffffffff8aab2b80 RDI: ffffffff8af9f340 RBP: ffffc9000313f858 R08: ffffffff81870518 R09: ffffed10171c765a R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8cb23d00 R13: ffff88802c9f3fd8 R14: ffffc9000313f7c0 R15: 1ffff92000627ef4 __rcu_read_unlock+0x92/0x100 kernel/rcu/tree_plugin.h:422 rcu_read_unlock include/linux/rcupdate.h:771 [inline] mod_objcg_mlstate+0x27d/0x330 mm/memcontrol.c:832 drain_obj_stock+0x203/0x380 mm/memcontrol.c:3200 mod_objcg_state+0x10b/0x630 mm/memcontrol.c:3098 memcg_slab_post_alloc_hook mm/slab.h:322 [inline] slab_post_alloc_hook+0x2ae/0x380 mm/slab.h:526 slab_alloc_node mm/slub.c:3220 [inline] slab_alloc mm/slub.c:3228 [inline] kmem_cache_alloc+0xf3/0x280 mm/slub.c:3233 __d_alloc+0x2a/0x700 fs/dcache.c:1749 d_alloc_pseudo+0x19/0x70 fs/dcache.c:1878 alloc_file_pseudo+0x131/0x2f0 fs/file_table.c:225 __anon_inode_getfile fs/anon_inodes.c:109 [inline] anon_inode_getfile+0xc4/0x180 fs/anon_inodes.c:147 __do_sys_perf_event_open kernel/events/core.c:12565 [inline] __se_sys_perf_event_open+0x11a0/0x4510 kernel/events/core.c:12339 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7ffb18d09d29 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffb16b59038 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 00007ffb18efa080 RCX: 00007ffb18d09d29 RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 0000000020000900 RBP: 00007ffb18d85b08 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007ffb18efa080 R15: 00007ffd09855eb8