------------[ cut here ]------------ sk->sk_forward_alloc WARNING: net/ipv4/af_inet.c:163 at inet_sock_destruct+0x62d/0x740 net/ipv4/af_inet.c:163, CPU#0: syz.2.9843/9696 Modules linked in: CPU: 0 UID: 0 PID: 9696 Comm: syz.2.9843 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 RIP: 0010:inet_sock_destruct+0x62d/0x740 net/ipv4/af_inet.c:163 Code: 0f 0b 90 e9 58 fe ff ff e8 90 14 a0 f7 90 0f 0b 90 e9 8b fe ff ff e8 82 14 a0 f7 90 0f 0b 90 e9 b1 fe ff ff e8 74 14 a0 f7 90 <0f> 0b 90 e9 d7 fe ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 95 fc RSP: 0018:ffffc90000007d48 EFLAGS: 00010246 RAX: ffffffff8a258c8c RBX: dffffc0000000000 RCX: ffff888052611e80 RDX: 0000000000000100 RSI: 0000000000000090 RDI: 0000000000000000 RBP: 0000000000000090 R08: ffff888057cd35a7 R09: 1ffff1100af9a6b4 R10: dffffc0000000000 R11: ffffed100af9a6b5 R12: ffff888057cd3300 R13: dffffc0000000000 R14: ffff888057cd358c R15: ffffffff8fcaaf40 FS: 0000000000000000(0000) GS:ffff88812545d000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe9781456b8 CR3: 000000005d1e8000 CR4: 00000000003526f0 Call Trace: __sk_destruct+0x85/0x880 net/core/sock.c:2350 rcu_do_batch kernel/rcu/tree.c:2617 [inline] rcu_core+0x7cd/0x1070 kernel/rcu/tree.c:2869 handle_softirqs+0x22a/0x870 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0x5f/0x150 kernel/softirq.c:723 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1056 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 RIP: 0010:lock_acquire+0x20b/0x2e0 kernel/locking/lockdep.c:5872 Code: e9 30 ff ff ff e8 75 26 0d 0a f7 c3 00 02 00 00 0f 84 38 ff ff ff 65 48 8b 05 f1 a3 7a 11 48 3b 44 24 30 75 33 fb 48 83 c4 38 <5b> 41 5c 41 5d 41 5e 41 5f 5d e9 56 0c 10 0a cc 48 8d 3d 2e 6c 73 RSP: 0018:ffffc9000c717598 EFLAGS: 00000282 RAX: 582f89dd1d052500 RBX: 0000000000000246 RCX: 0000000000000046 RDX: 000000000ebbe7c5 RSI: ffffffff8e168ad8 RDI: ffffffff8c27c200 RBP: 0000000000000000 R08: ffffffff82397e65 R09: ffffffff8e75e520 R10: dffffc0000000000 R11: fffffbfff2023497 R12: 0000000000000002 R13: ffffffff8e75e520 R14: 0000000000000000 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:312 [inline] rcu_read_lock include/linux/rcupdate.h:850 [inline] percpu_ref_tryget_many include/linux/percpu-refcount.h:241 [inline] percpu_ref_tryget+0x31/0x180 include/linux/percpu-refcount.h:266 css_tryget include/linux/cgroup_refcnt.h:45 [inline] get_mem_cgroup_from_objcg include/linux/memcontrol.h:519 [inline] obj_cgroup_uncharge_pages mm/memcontrol.c:2831 [inline] refill_obj_stock+0x5fd/0xa80 mm/memcontrol.c:3119 __memcg_slab_free_hook+0x14d/0x470 mm/memcontrol.c:3282 memcg_slab_free_hook mm/slub.c:2484 [inline] slab_free mm/slub.c:6162 [inline] kfree+0x3ca/0x630 mm/slub.c:6483 devinet_sysctl_unregister net/ipv4/devinet.c:2729 [inline] inetdev_destroy net/ipv4/devinet.c:334 [inline] inetdev_event+0x7cd/0x1610 net/ipv4/devinet.c:1655 notifier_call_chain+0x1be/0x400 kernel/notifier.c:85 call_netdevice_notifiers_extack net/core/dev.c:2287 [inline] call_netdevice_notifiers net/core/dev.c:2301 [inline] unregister_netdevice_many_notify+0x186a/0x2370 net/core/dev.c:12426 unregister_netdevice_many net/core/dev.c:12489 [inline] unregister_netdevice_queue+0x31f/0x360 net/core/dev.c:12303 unregister_netdevice include/linux/netdevice.h:3409 [inline] __tun_detach+0x6d9/0x15d0 drivers/net/tun.c:621 tun_detach drivers/net/tun.c:637 [inline] tun_chr_close+0x10a/0x1c0 drivers/net/tun.c:3436 __fput+0x44f/0xa70 fs/file_table.c:469 task_work_run+0x1d9/0x270 kernel/task_work.c:233 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0x70f/0x23c0 kernel/exit.c:976 do_group_exit+0x21b/0x2d0 kernel/exit.c:1118 __do_sys_exit_group kernel/exit.c:1129 [inline] __se_sys_exit_group kernel/exit.c:1127 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1127 x64_sys_call+0x221a/0x2240 arch/x86/include/generated/asm/syscalls_64.h:232 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4d3d99c799 Code: Unable to access opcode bytes at 0x7f4d3d99c76f. RSP: 002b:00007ffdffd0a7f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000000000000000b RCX: 00007f4d3d99c799 RDX: 0000000000000001 RSI: 0000000000000000 RDI: 000000000000000b RBP: 00000000000012da R08: 00007ffdffd0ac87 R09: 000000000000000b R10: 00007f4d3dc15fa0 R11: 0000000000000246 R12: 0000000000000003 R13: 00007f4d3dc1627c R14: 00007f4d3dc16278 R15: 00007f4d3dc16270 ---------------- Code disassembly (best guess): 0: e9 30 ff ff ff jmp 0xffffff35 5: e8 75 26 0d 0a call 0xa0d267f a: f7 c3 00 02 00 00 test $0x200,%ebx 10: 0f 84 38 ff ff ff je 0xffffff4e 16: 65 48 8b 05 f1 a3 7a mov %gs:0x117aa3f1(%rip),%rax # 0x117aa40f 1d: 11 1e: 48 3b 44 24 30 cmp 0x30(%rsp),%rax 23: 75 33 jne 0x58 25: fb sti 26: 48 83 c4 38 add $0x38,%rsp * 2a: 5b pop %rbx <-- trapping instruction 2b: 41 5c pop %r12 2d: 41 5d pop %r13 2f: 41 5e pop %r14 31: 41 5f pop %r15 33: 5d pop %rbp 34: e9 56 0c 10 0a jmp 0xa100c8f 39: cc int3 3a: 48 rex.W 3b: 8d .byte 0x8d 3c: 3d .byte 0x3d 3d: 2e 6c cs insb (%dx),%es:(%rdi) 3f: 73 .byte 0x73