syzbot
kernel BUG in __nf_conntrack_confirm (3)
Status:
upstream: reported on 2026/04/25 15:09
Reported-by: syzbot+8632983b62aa286cd88f@syzkaller.appspotmail.com
First crash: 116d, last: 54d
Sample crash report:
------------[ cut here ]------------
kernel BUG at net/netfilter/nf_conntrack_core.c:570!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 9717 Comm: syz.0.1414 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
RIP: 0010:nf_ct_del_from_dying_or_unconfirmed_list net/netfilter/nf_conntrack_core.c:570 [inline]
RIP: 0010:__nf_conntrack_confirm+0x1186/0x1190 net/netfilter/nf_conntrack_core.c:1207
Code: e9 97 fc ff ff e8 ca f5 56 f9 48 c7 c7 50 2a 85 8d 48 c7 c6 00 40 24 8b 48 89 ea e8 94 04 dd fb e9 0d f1 ff ff e8 aa f5 56 f9 <0f> 0b 0f 1f 84 00 00 00 00 00 55 41 57 41 56 41 55 41 54 53 48 89
RSP: 0018:ffffc9000339f470 EFLAGS: 00010287
RAX: ffffffff8821fcf6 RBX: ffffe8ffffc26240 RCX: 0000000000080000
RDX: ffffc90003d03000 RSI: 000000000000032a RDI: 000000000000032b
RBP: ffff88805a9da000 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52000673e7c R12: 000000000003a594
R13: ffff88805a9da0c0 R14: 0000000000000000 R15: 0000000000000000
FS: 00007f21e4e526c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c2feaed CR3: 0000000067e6f000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
nf_conntrack_confirm include/net/netfilter/nf_conntrack_core.h:62 [inline]
nf_confirm+0x381/0x4b0 net/netfilter/nf_conntrack_proto.c:154
nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline]
nf_hook_slow+0xb9/0x200 net/netfilter/core.c:584
nf_hook include/linux/netfilter.h:257 [inline]
NF_HOOK+0x1f2/0x390 include/linux/netfilter.h:300
NF_HOOK+0x303/0x390 include/linux/netfilter.h:302
__netif_receive_skb_one_core net/core/dev.c:5551 [inline]
__netif_receive_skb+0xcc/0x290 net/core/dev.c:5665
netif_receive_skb_internal net/core/dev.c:5751 [inline]
netif_receive_skb+0x19e/0x700 net/core/dev.c:5810
tun_rx_batched+0x606/0x760 drivers/net/tun.c:-1
tun_get_user+0x25bf/0x3b40 drivers/net/tun.c:1989
tun_chr_write_iter+0x112/0x1e0 drivers/net/tun.c:2019
call_write_iter include/linux/fs.h:2173 [inline]
new_sync_write fs/read_write.c:507 [inline]
vfs_write+0x748/0xd70 fs/read_write.c:594
ksys_write+0x153/0x260 fs/read_write.c:647
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f21e6bb968e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 <c3> 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007f21e4e51fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f21e4e526c0 RCX: 00007f21e6bb968e
RDX: 0000000000000046 RSI: 0000200000000340 RDI: 00000000000000c8
RBP: 00007f21e6c8ee6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f21e6e72038 R14: 00007f21e6e71fa0 R15: 00007ffe3c080598
</TASK>
Modules linked in:
---[ end trace fce4297a9e6aeb0e ]---
RIP: 0010:nf_ct_del_from_dying_or_unconfirmed_list net/netfilter/nf_conntrack_core.c:570 [inline]
RIP: 0010:__nf_conntrack_confirm+0x1186/0x1190 net/netfilter/nf_conntrack_core.c:1207
Code: e9 97 fc ff ff e8 ca f5 56 f9 48 c7 c7 50 2a 85 8d 48 c7 c6 00 40 24 8b 48 89 ea e8 94 04 dd fb e9 0d f1 ff ff e8 aa f5 56 f9 <0f> 0b 0f 1f 84 00 00 00 00 00 55 41 57 41 56 41 55 41 54 53 48 89
RSP: 0018:ffffc9000339f470 EFLAGS: 00010287
RAX: ffffffff8821fcf6 RBX: ffffe8ffffc26240 RCX: 0000000000080000
RDX: ffffc90003d03000 RSI: 000000000000032a RDI: 000000000000032b
RBP: ffff88805a9da000 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52000673e7c R12: 000000000003a594
R13: ffff88805a9da0c0 R14: 0000000000000000 R15: 0000000000000000
FS: 00007f21e4e526c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c2feaed CR3: 0000000067e6f000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
* Struck through repros no longer work on HEAD.