------------[ cut here ]------------ WARNING: CPU: 1 PID: 5287 at net/netfilter/nft_socket.c:220 nft_socket_init+0x1a5/0x1b0 net/netfilter/nft_socket.c:220 Modules linked in: CPU: 1 UID: 0 PID: 5287 Comm: syz.2.15 Not tainted 6.11.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:nft_socket_init+0x1a5/0x1b0 net/netfilter/nft_socket.c:220 Code: fe 81 fd 00 01 00 00 73 1b e8 17 a9 1a fe 41 88 6f 09 41 b9 08 00 00 00 e9 43 ff ff ff e8 03 a9 1a fe eb 99 e8 fc a8 1a fe 90 <0f> 0b 90 eb 89 66 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90002213870 EFLAGS: 00010293 RAX: ffffffff831c0404 RBX: ffff888109f451c8 RCX: ffff8881087b51c0 RDX: 0000000000000000 RSI: 0000000000000100 RDI: 00000000000000ff RBP: 0000000000000100 R08: ffffffff831c03dc R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 00000000000000ff R13: ffff8881664f8010 R14: ffffc90002213908 R15: ffff88817a32a6d8 FS: 00007faa23a086c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002000c2c0 CR3: 00000001063b2000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nf_tables_newexpr net/netfilter/nf_tables_api.c:3320 [inline] nf_tables_newrule+0x9dc/0xfc0 net/netfilter/nf_tables_api.c:4145 nfnetlink_rcv_batch net/netfilter/nfnetlink.c:524 [inline] nfnetlink_rcv_skb_batch net/netfilter/nfnetlink.c:647 [inline] nfnetlink_rcv+0x841/0xfd0 net/netfilter/nfnetlink.c:665 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x3c3/0x4a0 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x4df/0x5d0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0xca/0xf0 net/socket.c:745 ____sys_sendmsg+0x26e/0x360 net/socket.c:2597 ___sys_sendmsg net/socket.c:2651 [inline] __sys_sendmsg+0x35d/0x3d0 net/socket.c:2680 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xe0/0x220 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7faa22b7e819 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:00007faa23a08038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007faa22d35fa0 RCX: 00007faa22b7e819 RDX: 0000000000000000 RSI: 00000000200002c0 RDI: 0000000000000003 RBP: 00007faa22bf175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007faa22d35fa0 R15: 00007ffe0bacb848