CFI failure at __traceiter_kfree+0x34/0x50 include/trace/events/kmem.h:95 (target: tp_stub_func+0x0/0x10; expected type: 0x8682d211) invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 6745 Comm: syz.7.1971 Tainted: G W 6.1.145-syzkaller-00039-g39e817cf9025 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:__traceiter_kfree+0x34/0x50 include/trace/events/kmem.h:95 Code: 8b 3d 58 42 ca 05 4d 85 ff 74 2e 48 89 d3 49 89 f6 49 8b 07 49 8b 7f 08 4c 89 f6 48 89 da 41 ba ef 2d 7d 79 44 03 50 fc 74 02 <0f> 0b ff d0 49 83 7f 18 00 4d 8d 7f 18 75 d8 31 c0 5b 41 5e 41 5f RSP: 0018:ffffc90000d570d8 EFLAGS: 00010213 RAX: ffffffff81711ed0 RBX: 0000000000000000 RCX: 0000000000080000 RDX: 0000000000000000 RSI: ffffffff84dcfa30 RDI: ffffffff870576e0 RBP: ffffc90000d570f0 R08: dffffc0000000000 R09: ffffed10201714cd R10: 000000001ebd94fb R11: 1ffff110201714cc R12: 0000000000000329 R13: ffffc90000d571c0 R14: ffffffff84dcfa30 R15: ffff8881347e4190 FS: 00007f1c7e9ff6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000d07000 CR3: 0000000132ba8000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: trace_kfree include/trace/events/kmem.h:95 [inline] kfree+0xc9/0xf0 mm/slab_common.c:977 ida_alloc_range+0x780/0x810 lib/idr.c:460 proc_alloc_inum fs/proc/generic.c:206 [inline] proc_register+0x3e/0x4e0 fs/proc/generic.c:370 proc_create_single_data+0x172/0x1c0 fs/proc/generic.c:666 snmp6_register_dev+0xa6/0x110 net/ipv6/proc.c:256 ipv6_add_dev+0x695/0x1230 net/ipv6/addrconf.c:418 addrconf_notify+0x6d5/0xe40 net/ipv6/addrconf.c:3627 notifier_call_chain kernel/notifier.c:87 [inline] raw_notifier_call_chain+0xa1/0x110 kernel/notifier.c:455 call_netdevice_notifiers_info net/core/dev.c:2009 [inline] call_netdevice_notifiers_extack net/core/dev.c:2047 [inline] call_netdevice_notifiers+0x111/0x190 net/core/dev.c:2061 register_netdevice+0x10e2/0x14a0 net/core/dev.c:10189 __ip_tunnel_create+0x33e/0x440 net/ipv4/ip_tunnel.c:267 ip_tunnel_init_net+0x2f2/0x7d0 net/ipv4/ip_tunnel.c:1100 ipgre_tap_init_net+0x29/0x30 net/ipv4/ip_gre.c:1700 ops_init+0x1c8/0x4a0 net/core/net_namespace.c:138 setup_net+0x4ab/0xcb0 net/core/net_namespace.c:335 copy_net_ns+0x355/0x5c0 net/core/net_namespace.c:481 create_new_namespaces+0x3a2/0x660 kernel/nsproxy.c:110 copy_namespaces+0x1d1/0x220 kernel/nsproxy.c:178 copy_process+0x131b/0x3470 kernel/fork.c:2467 kernel_clone+0x23a/0x810 kernel/fork.c:2873 __do_sys_clone kernel/fork.c:3016 [inline] __se_sys_clone kernel/fork.c:3000 [inline] __x64_sys_clone+0x168/0x1b0 kernel/fork.c:3000 x64_sys_call+0x990/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:57 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f1c7eb8ebe9 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:00007f1c7e9fefe8 EFLAGS: 00000206 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007f1c7edb5fa0 RCX: 00007f1c7eb8ebe9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000640c7000 RBP: 00007f1c7ec11e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 00007f1c7edb6038 R14: 00007f1c7edb5fa0 R15: 00007ffd342db7f8 Modules linked in: