process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400 kthread+0x3c5/0x780 kernel/kthread.c:464 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 ------------[ cut here ]------------ WARNING: CPU: 2 PID: 19669 at lib/ref_tracker.c:255 ref_tracker_free+0x61a/0x830 lib/ref_tracker.c:255 Modules linked in: CPU: 2 UID: 0 PID: 19669 Comm: kworker/u32:4 Not tainted 6.15.0-rc6-syzkaller-00051-g405e6c37c89e #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:ref_tracker_free+0x61a/0x830 lib/ref_tracker.c:255 Code: 00 44 8b 73 18 31 ff 44 89 f6 e8 01 32 bb fc 45 85 f6 0f 85 a6 00 00 00 e8 b3 36 bb fc 48 8b 34 24 48 89 ef e8 57 92 6c 06 90 <0f> 0b 90 bb ea ff ff ff e9 50 fd ff ff e8 94 36 bb fc 4c 8d 6d 44 RSP: 0018:ffffc90000538a80 EFLAGS: 00010202 RAX: 0000000000000101 RBX: ffff888027710880 RCX: 0000000000000000 RDX: 0000000000000102 RSI: ffffffff8dbdc8a7 RDI: 0000000000000001 RBP: ffff888045028610 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff90851e17 R11: 0000000000000000 R12: 1ffff920000a7152 R13: ffffc90000538ab0 R14: 00000000068a06fd R15: ffff888027710898 FS: 0000000000000000(0000) GS:ffff8880979ea000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000008 CR3: 000000000e180000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: netdev_tracker_free include/linux/netdevice.h:4351 [inline] netdev_put include/linux/netdevice.h:4368 [inline] netdev_put include/linux/netdevice.h:4364 [inline] dev_watchdog+0x1dd/0xa10 net/sched/sch_generic.c:551 call_timer_fn+0x19a/0x620 kernel/time/timer.c:1789 expire_timers kernel/time/timer.c:1840 [inline] __run_timers+0x6ef/0x960 kernel/time/timer.c:2414 __run_timer_base kernel/time/timer.c:2426 [inline] __run_timer_base kernel/time/timer.c:2418 [inline] run_timer_base+0x114/0x190 kernel/time/timer.c:2435 run_timer_softirq+0x1a/0x40 kernel/time/timer.c:2445 handle_softirqs+0x219/0x8e0 kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline] invoke_softirq kernel/softirq.c:453 [inline] __irq_exit_rcu+0x109/0x170 kernel/softirq.c:680 irq_exit_rcu+0x9/0x30 kernel/softirq.c:696 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x4a5/0x1290 kernel/smp.c:885 Code: 89 ee e8 0e 0a 0c 00 85 ed 74 48 48 8b 44 24 20 49 89 c4 83 e0 07 49 c1 ec 03 48 89 c5 4d 01 f4 83 c5 03 e8 ad 0e 0c 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 de 0b 00 00 8b 43 08 31 RSP: 0018:ffffc90003d6f938 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff88802b241460 RCX: ffffffff81aea199 RDX: ffff88802adf8000 RSI: ffffffff81aea173 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffed100564828d R13: 0000000000000001 R14: dffffc0000000000 R15: ffff88802b43b180 on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1052 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2751 [inline] text_poke_bp_batch+0x657/0x760 arch/x86/kernel/alternative.c:2961 text_poke_flush arch/x86/kernel/alternative.c:3152 [inline] text_poke_flush arch/x86/kernel/alternative.c:3149 [inline] text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:3159 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x376/0x550 kernel/jump_label.c:919 static_key_disable_cpuslocked+0x158/0x1c0 kernel/jump_label.c:240 static_key_disable+0x1a/0x20 kernel/jump_label.c:248 toggle_allocation_gate mm/kfence/core.c:855 [inline] toggle_allocation_gate+0x145/0x280 mm/kfence/core.c:842 process_one_work+0x9cc/0x1b70 kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400 kthread+0x3c5/0x780 kernel/kthread.c:464 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 ---------------- Code disassembly (best guess): 0: 89 ee mov %ebp,%esi 2: e8 0e 0a 0c 00 call 0xc0a15 7: 85 ed test %ebp,%ebp 9: 74 48 je 0x53 b: 48 8b 44 24 20 mov 0x20(%rsp),%rax 10: 49 89 c4 mov %rax,%r12 13: 83 e0 07 and $0x7,%eax 16: 49 c1 ec 03 shr $0x3,%r12 1a: 48 89 c5 mov %rax,%rbp 1d: 4d 01 f4 add %r14,%r12 20: 83 c5 03 add $0x3,%ebp 23: e8 ad 0e 0c 00 call 0xc0ed5 28: f3 90 pause * 2a: 41 0f b6 04 24 movzbl (%r12),%eax <-- trapping instruction 2f: 40 38 c5 cmp %al,%bpl 32: 7c 08 jl 0x3c 34: 84 c0 test %al,%al 36: 0f 85 de 0b 00 00 jne 0xc1a 3c: 8b 43 08 mov 0x8(%rbx),%eax 3f: 31 .byte 0x31