syzbot


WARNING in nft_socket_init

Status: upstream: reported C repro on 2026/05/26 02:12
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+4c4c5a5720d2c11919ec@syzkaller.appspotmail.com
First crash: 1d07h, last: 9m
Bug presence (2)
Date Name Commit Repro Result
2026/05/27 linux-6.1.y (ToT) dcbcab9d7079 C [report] WARNING in nft_socket_init
2026/05/27 upstream (ToT) eb3f4b7426cf C Didn't crash
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in nft_socket_init (2) netfilter -1 C done 6 288d 305d 29/29 fixed on 2025/10/09 01:14
linux-6.6 WARNING in nft_socket_init -1 C 6 1d04h 1d07h 0/2 upstream: reported C repro on 2026/05/26 02:22
upstream WARNING in nft_socket_init netfilter -1 C done 14 480d 548d 28/29 fixed on 2025/05/06 15:33

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4424 at net/netfilter/nft_socket.c:220 nft_socket_init+0x2e0/0x3c0 net/netfilter/nft_socket.c:220
Modules linked in:
CPU: 1 PID: 4424 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+0x2e0/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 0b ff ff ff 89 f3 e8 0c d8 f8 f8 89 d8 e9 5c ff ff ff e8 00 d8 f8 f8 <0f> 0b e9 4b ff ff ff 89 e9 80 e1 07 38 c1 0f 8c 98 fd ff ff 48 89
RSP: 0018:ffffc90003457238 EFLAGS: 00010293
RAX: ffffffff8889aeb0 RBX: ffff88801eb88020 RCX: ffff88807b983b80
RDX: 0000000000000000 RSI: 0000000000000100 RDI: 00000000000000ff
RBP: 00000000000000ff R08: ffffffff8e1ffbef R09: 1ffffffff1c3ff7d
R10: dffffc0000000000 R11: fffffbfff1c3ff7e R12: 0000000000000100
R13: ffff88807d82f518 R14: dffffc0000000000 R15: 1ffff11003d71004
FS:  000055555dc62500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2ec24008 CR3: 000000005f210000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 nf_tables_newexpr net/netfilter/nf_tables_api.c:3065 [inline]
 nf_tables_newrule+0x1731/0x2810 net/netfilter/nf_tables_api.c:3792
 nfnetlink_rcv_batch net/netfilter/nfnetlink.c:519 [inline]
 nfnetlink_rcv_skb_batch net/netfilter/nfnetlink.c:639 [inline]
 nfnetlink_rcv+0x1124/0x2480 net/netfilter/nfnetlink.c:657
 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline]
 netlink_unicast+0x74d/0x8d0 net/netlink/af_netlink.c:1344
 netlink_sendmsg+0x8ad/0xbd0 net/netlink/af_netlink.c:1872
 sock_sendmsg_nosec net/socket.c:718 [inline]
 __sock_sendmsg net/socket.c:730 [inline]
 ____sys_sendmsg+0x5be/0x970 net/socket.c:2518
 ___sys_sendmsg+0x2a2/0x360 net/socket.c:2572
 __sys_sendmsg net/socket.c:2601 [inline]
 __do_sys_sendmsg net/socket.c:2610 [inline]
 __se_sys_sendmsg+0x1bb/0x2a0 net/socket.c:2608
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f5056b9ce59
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:00007ffd9b93ff58 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f5056e15fa0 RCX: 00007f5056b9ce59
RDX: 0000000000000000 RSI: 00002000000002c0 RDI: 0000000000000003
RBP: 00007f5056c32d6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f5056e15fac R14: 00007f5056e15fa0 R15: 00007f5056e15fa0
 </TASK>

Crashes (10):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/05/26 04:33 linux-6.1.y dcbcab9d7079 c69befb3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nft_socket_init
2026/05/26 03:47 linux-6.1.y dcbcab9d7079 c69befb3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nft_socket_init
2026/05/26 02:56 linux-6.1.y dcbcab9d7079 c69befb3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nft_socket_init
2026/05/26 03:52 linux-6.1.y dcbcab9d7079 c69befb3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in nft_socket_init
2026/05/26 03:20 linux-6.1.y dcbcab9d7079 c69befb3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in nft_socket_init
2026/05/26 02:48 linux-6.1.y dcbcab9d7079 c69befb3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in nft_socket_init
2026/05/26 02:14 linux-6.1.y dcbcab9d7079 c69befb3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nft_socket_init
2026/05/26 02:11 linux-6.1.y dcbcab9d7079 c69befb3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nft_socket_init
2026/05/26 02:12 linux-6.1.y dcbcab9d7079 c69befb3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in nft_socket_init
2026/05/26 02:11 linux-6.1.y dcbcab9d7079 c69befb3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in nft_socket_init
* Struck through repros no longer work on HEAD.