rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (2 ticks this GP) idle=4174/1/0x4000000000000000 softirq=130302/130302 fqs=0 rcu: (detected by 1, t=10506 jiffies, g=127445, q=2837 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 13585 Comm: syz-executor Not tainted 6.12.0-rc6-syzkaller-00110-gff7afaeca1a1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:match_held_lock+0x76/0xb0 kernel/locking/lockdep.c:5302 Code: 48 c7 c2 c0 56 c4 93 48 29 d0 48 c1 f8 03 48 ba 29 5c 8f c2 f5 28 5c 8f 48 0f af d0 bd 01 00 00 00 48 39 ca 74 02 31 ed 89 e8 <5b> 5d c3 cc cc cc cc 90 e8 4d 8b f2 f8 85 c0 74 22 83 3d f2 fc 55 RSP: 0018:ffffc90000007c30 EFLAGS: 00000046 RAX: 0000000000000001 RBX: ffff88806696a930 RCX: ffff888066969e00 RDX: ffff888066969e00 RSI: ffff88803414a300 RDI: ffff88806696a930 RBP: 0000000000000001 R08: ffffffff89cc9f9b R09: fffff52000000f80 R10: dffffc0000000000 R11: fffff52000000f80 R12: 0000000000000046 R13: ffff888066969e00 R14: 00000000ffffffff R15: ffff88803414a300 FS: 0000000000000000(0000) GS:ffff8880b8600000(0063) knlGS:0000000056977440 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000005698499c CR3: 000000006b93a000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_is_held kernel/locking/lockdep.c:5566 [inline] lock_is_held_type+0xa9/0x190 kernel/locking/lockdep.c:5897 lock_is_held include/linux/lockdep.h:249 [inline] advance_sched+0xcd/0xca0 net/sched/sch_taprio.c:925 __run_hrtimer kernel/time/hrtimer.c:1691 [inline] __hrtimer_run_queues+0x59b/0xd50 kernel/time/hrtimer.c:1755 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1817 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x110/0x420 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__read_once_word_nocheck+0x0/0x10 include/asm-generic/rwonce.h:67 Code: e8 75 1b bd 00 48 ba 00 00 00 00 00 fc ff df e9 9f fc ff ff 66 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <48> 8b 07 c3 cc cc cc cc 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 RSP: 0018:ffffc9000346efc8 EFLAGS: 00000283 RAX: ffffc9000346f9c8 RBX: ffffc9000346f0b0 RCX: 1ffff9200068de14 RDX: ffffffff91313cce RSI: 0000000000000002 RDI: ffffc9000346f9c0 RBP: ffffc90003468000 R08: 0000000000000001 R09: ffffc9000346f190 R10: ffffc9000346f0f0 R11: ffffffff818092c0 R12: ffffc90003470000 R13: ffffc9000346f9c0 R14: ffffc9000346f0a0 R15: 1ffff9200068de16 deref_stack_reg arch/x86/kernel/unwind_orc.c:406 [inline] unwind_next_frame+0xc9b/0x22d0 arch/x86/kernel/unwind_orc.c:585 arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:579 poison_slab_object mm/kasan/common.c:247 [inline] __kasan_slab_free+0x59/0x70 mm/kasan/common.c:264 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:2342 [inline] slab_free mm/slub.c:4579 [inline] kfree+0x1a0/0x440 mm/slub.c:4727 vfree+0x24c/0x2e0 mm/vmalloc.c:3365 xt_compat_flush_offsets+0x77/0xb0 net/netfilter/x_tables.c:691 compat_do_ebt_get_ctl net/bridge/netfilter/ebtables.c:2438 [inline] do_ebt_get_ctl+0x10e3/0x29f0 net/bridge/netfilter/ebtables.c:2460 nf_getsockopt+0x299/0x2c0 net/netfilter/nf_sockopt.c:116 ip_getsockopt+0x222/0x2e0 net/ipv4/ip_sockglue.c:1777 tcp_getsockopt+0x163/0x1c0 net/ipv4/tcp.c:4670 do_sock_getsockopt+0x3c4/0x7e0 net/socket.c:2396 __sys_getsockopt+0x267/0x330 net/socket.c:2425 __do_compat_sys_socketcall net/compat.c:494 [inline] __se_compat_sys_socketcall+0x349/0x1430 net/compat.c:423 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0xb4/0x110 arch/x86/entry/common.c:386 do_fast_syscall_32+0x34/0x80 arch/x86/entry/common.c:411 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf745d579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 002b:00000000f75af690 EFLAGS: 00000206 ORIG_RAX: 0000000000000066 RAX: ffffffffffffffda RBX: 000000000000000f RCX: 00000000f75af6c8 RDX: 00000000f75af74c RSI: 00000000f75af750 RDI: 00000000f744cff4 RBP: 00000000f75af750 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 rcu: rcu_preempt kthread timer wakeup didn't happen for 10505 jiffies! g127445 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=49837 rcu: rcu_preempt kthread starved for 10506 jiffies! g127445 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:25784 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x184f/0x4c30 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6782 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2615 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244