------------[ cut here ]------------ WARNING: CPU: 0 PID: 3158 at mm/kfence/core.c:1143 __kfence_free+0x7c/0xb4 mm/kfence/core.c:1143 Modules linked in: CPU: 0 PID: 3158 Comm: syz-executor.1 Not tainted 6.8.0-rc4-syzkaller-00267-g0f1dd5e91e2b #0 Hardware name: linux,dummy-virt (DT) pstate: 81400009 (Nzcv daif +PAN -UAO -TCO +DIT -SSBS BTYPE=--) pc : __kfence_free+0x7c/0xb4 mm/kfence/core.c:1143 lr : kfence_free include/linux/kfence.h:187 [inline] lr : slab_free_hook mm/slub.c:2100 [inline] lr : slab_free mm/slub.c:4299 [inline] lr : kfree+0x188/0x278 mm/slub.c:4409 sp : ffff800082c23ae0 x29: ffff800082c23ae0 x28: fdff000003f74800 x27: 0000000000000000 x26: 0000000000000000 x25: ffff00007ff612c8 x24: f3ff000002c03e00 x23: 31bf800080246b3c x22: 0000000000000000 x21: ffff800080246b3c x20: ffff00007ff61000 x19: fffffc0001ffd840 x18: 0000000000000001 x17: 0000000000000000 x16: 0000000000000000 x15: 0000ffff97153100 x14: ffff00007f9e3080 x13: 0000000000000000 x12: 0000000000005800 x11: f4ff000026df6e24 x10: f4ff000026df6e00 x9 : 0000000000000023 x8 : ffff800082c23af0 x7 : 0000000000000000 x6 : 0000000000000022 x5 : 00000000810000e8 x4 : ffff00007f868000 x3 : ffff8000825102b8 x2 : f2ff000026b1a6c0 x1 : ffff00007f89ab18 x0 : ffff00007ff61000 Call trace: __kfence_free+0x7c/0xb4 mm/kfence/core.c:1143 kfence_free include/linux/kfence.h:187 [inline] slab_free_hook mm/slub.c:2100 [inline] slab_free mm/slub.c:4299 [inline] kfree+0x188/0x278 mm/slub.c:4409 kvfree+0x3c/0x4c mm/util.c:663 xt_free_table_info+0x78/0x90 net/netfilter/x_tables.c:1212 __do_replace+0x23c/0x308 net/ipv4/netfilter/ip_tables.c:1084 do_replace net/ipv6/netfilter/ip6_tables.c:1154 [inline] do_ip6t_set_ctl+0x2fc/0x374 net/ipv6/netfilter/ip6_tables.c:1636 nf_setsockopt+0x68/0x94 net/netfilter/nf_sockopt.c:101 ipv6_setsockopt+0x98/0xe4 net/ipv6/ipv6_sockglue.c:997 tcp_setsockopt+0x20/0x3c net/ipv4/tcp.c:3734 sock_common_setsockopt+0x1c/0x28 net/core/sock.c:3716 do_sock_setsockopt+0xa0/0x188 net/socket.c:2311 __sys_setsockopt+0x74/0xcc net/socket.c:2334 __do_sys_setsockopt net/socket.c:2343 [inline] __se_sys_setsockopt net/socket.c:2340 [inline] __arm64_sys_setsockopt+0x28/0x38 net/socket.c:2340 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] invoke_syscall+0x48/0x114 arch/arm64/kernel/syscall.c:51 el0_svc_common.constprop.0+0x40/0xe0 arch/arm64/kernel/syscall.c:136 do_el0_svc+0x1c/0x28 arch/arm64/kernel/syscall.c:155 el0_svc+0x34/0xd8 arch/arm64/kernel/entry-common.c:678 el0t_64_sync_handler+0x100/0x12c arch/arm64/kernel/entry-common.c:696 el0t_64_sync+0x19c/0x1a0 arch/arm64/kernel/entry.S:598 ---[ end trace 0000000000000000 ]---