------------[ cut here ]------------
WARNING: CPU: 1 PID: 5930 at net/netfilter/nft_socket.c:220 nft_socket_init+0x2ee/0x3c0 net/netfilter/nft_socket.c:220
Modules linked in:
CPU: 1 PID: 5930 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026
RIP: 0010:nft_socket_init+0x2ee/0x3c0 net/netfilter/nft_socket.c:220
Code: 30 84 c0 0f 85 d8 00 00 00 41 88 2c 24 bd 08 00 00 00 e9 b2 fe ff ff 89 f3 e8 ee de b0 f8 89 d8 e9 5c ff ff ff e8 e2 de b0 f8 <0f> 0b e9 4b ff ff ff 89 e9 80 e1 07 38 c1 0f 8c 8e fd ff ff 48 89
RSP: 0018:ffffc900032371d8 EFLAGS: 00010293
RAX: ffffffff88d64d0e RBX: ffff88802c690020 RCX: ffff8880248e5a00
RDX: 0000000000000000 RSI: 0000000000000100 RDI: 00000000000000ff
RBP: 00000000000000ff R08: ffffffff8e8b3aef R09: 1ffffffff1d1675d
R10: dffffc0000000000 R11: fffffbfff1d1675e R12: 0000000000000100
R13: ffff88807a9b8f98 R14: dffffc0000000000 R15: 1ffff110058d2004
FS: 000055556df99500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000000200 CR3: 0000000020ed9000 CR4: 00000000003506e0
Call Trace:
<TASK>
nf_tables_newexpr net/netfilter/nf_tables_api.c:3307 [inline]
nf_tables_newrule+0x176c/0x2880 net/netfilter/nf_tables_api.c:4140
nfnetlink_rcv_batch net/netfilter/nfnetlink.c:519 [inline]
nfnetlink_rcv_skb_batch net/netfilter/nfnetlink.c:639 [inline]
nfnetlink_rcv+0x113e/0x24a0 net/netfilter/nfnetlink.c:657
netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline]
netlink_unicast+0x751/0x8d0 net/netlink/af_netlink.c:1346
netlink_sendmsg+0x8d0/0xbf0 net/netlink/af_netlink.c:1894
sock_sendmsg_nosec net/socket.c:730 [inline]
__sock_sendmsg net/socket.c:745 [inline]
____sys_sendmsg+0x5ba/0x960 net/socket.c:2594
___sys_sendmsg+0x2a6/0x360 net/socket.c:2648
__sys_sendmsg net/socket.c:2677 [inline]
__do_sys_sendmsg net/socket.c:2686 [inline]
__se_sys_sendmsg+0x1c2/0x2b0 net/socket.c:2684
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f3232d9ce59
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffcc7c383c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f3233015fa0 RCX: 00007f3232d9ce59
RDX: 0000000000000000 RSI: 00002000000002c0 RDI: 0000000000000003
RBP: 00007f3232e32d6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f3233015fac R14: 00007f3233015fa0 R15: 00007f3233015fa0
</TASK>