syzbot


kernel BUG in __nf_conntrack_confirm

Status: auto-obsoleted due to no activity on 2024/05/10 11:41
Reported-by: syzbot+6f8bd7bd2c377879b484@syzkaller.appspotmail.com
First crash: 295d, last: 295d

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: 1493 Comm: syz-executor.0 Not tainted 5.15.148-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:nf_ct_del_from_dying_or_unconfirmed_list net/netfilter/nf_conntrack_core.c:570 [inline]
RIP: 0010:__nf_conntrack_confirm+0x1080/0x1090 net/netfilter/nf_conntrack_core.c:1207
Code: e9 78 f6 ff ff e8 e0 1d 06 f9 48 c7 c7 40 fa de 8d 48 c7 c6 c0 a6 7e 8b 4c 89 ea e8 7a f5 aa fb e9 04 f2 ff ff e8 c0 1d 06 f9 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 55 41 57 41 56 41
RSP: 0018:ffffc90000dd06d8 EFLAGS: 00010246
RAX: ffffffff887a1000 RBX: 0000000000000000 RCX: ffff8880785f9dc0
RDX: 0000000000000304 RSI: 0000000000000004 RDI: ffffc90000dd0660
RBP: dffffc0000000000 R08: dffffc0000000000 R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: ffffffff917875c0
R13: ffffe8ffffc1f0a0 R14: ffff888046d7fcc8 R15: 0000000000000000
FS:  00007fe7433f46c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f96bd51d198 CR3: 000000003a27f000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 nf_conntrack_confirm include/net/netfilter/nf_conntrack_core.h:62 [inline]
 nf_confirm+0x303/0x420 net/netfilter/nf_conntrack_proto.c:154
 nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline]
 nf_hook_slow+0xae/0x1e0 net/netfilter/core.c:584
 nf_hook include/linux/netfilter.h:257 [inline]
 NF_HOOK+0x26b/0x410 include/linux/netfilter.h:300
 NF_HOOK+0x364/0x410 include/linux/netfilter.h:302
 __netif_receive_skb_one_core net/core/dev.c:5485 [inline]
 __netif_receive_skb+0x1c6/0x530 net/core/dev.c:5599
 process_backlog+0x363/0x7f0 net/core/dev.c:6476
 __napi_poll+0xc7/0x440 net/core/dev.c:7035
 napi_poll net/core/dev.c:7102 [inline]
 net_rx_action+0x617/0xda0 net/core/dev.c:7189
 __do_softirq+0x3b3/0x93a kernel/softirq.c:558
 do_softirq+0x162/0x240 kernel/softirq.c:459
 </IRQ>
 <TASK>
 netif_rx_ni+0xd9/0x440 net/core/dev.c:4994
 dev_loopback_xmit+0x24a/0x320 net/core/dev.c:3954
 ip_mc_finish_output+0x1fb/0x480 net/ipv4/ip_output.c:355
 NF_HOOK include/linux/netfilter.h:302 [inline]
 ip_mc_output+0x29b/0x5d0 net/ipv4/ip_output.c:394
 dst_output include/net/dst.h:443 [inline]
 ip_local_out net/ipv4/ip_output.c:126 [inline]
 ip_send_skb+0x113/0x1a0 net/ipv4/ip_output.c:1581
 raw_sendmsg+0x1958/0x2450 net/ipv4/raw.c:676
 sock_sendmsg_nosec net/socket.c:704 [inline]
 __sock_sendmsg net/socket.c:716 [inline]
 sock_sendmsg net/socket.c:739 [inline]
 kernel_sendmsg+0x205/0x2e0 net/socket.c:763
 sock_no_sendpage+0x156/0x1c0 net/core/sock.c:3025
 kernel_sendpage+0x2e0/0x390 net/socket.c:3534
 sock_sendpage+0x7f/0xb0 net/socket.c:1025
 pipe_to_sendpage+0x260/0x350 fs/splice.c:364
 splice_from_pipe_feed fs/splice.c:418 [inline]
 __splice_from_pipe+0x33b/0x890 fs/splice.c:562
 splice_from_pipe fs/splice.c:597 [inline]
 generic_splice_sendpage+0x195/0x220 fs/splice.c:746
 do_splice_from fs/splice.c:767 [inline]
 do_splice+0xfe6/0x1790 fs/splice.c:1079
 __do_splice fs/splice.c:1144 [inline]
 __do_sys_splice fs/splice.c:1350 [inline]
 __se_sys_splice+0x340/0x420 fs/splice.c:1332
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7fe744ed6da9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe7433f40c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000113
RAX: ffffffffffffffda RBX: 00007fe7450051f0 RCX: 00007fe744ed6da9
RDX: 000000000000000b RSI: 0000000000000000 RDI: 0000000000000009
RBP: 00007fe744f2347a R08: 000000000004ffe0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007fe7450051f0 R15: 00007fff556634f8
 </TASK>
Modules linked in:
---[ end trace 9ae99b43db67c9cb ]---
RIP: 0010:nf_ct_del_from_dying_or_unconfirmed_list net/netfilter/nf_conntrack_core.c:570 [inline]
RIP: 0010:__nf_conntrack_confirm+0x1080/0x1090 net/netfilter/nf_conntrack_core.c:1207
Code: e9 78 f6 ff ff e8 e0 1d 06 f9 48 c7 c7 40 fa de 8d 48 c7 c6 c0 a6 7e 8b 4c 89 ea e8 7a f5 aa fb e9 04 f2 ff ff e8 c0 1d 06 f9 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 55 41 57 41 56 41
RSP: 0018:ffffc90000dd06d8 EFLAGS: 00010246
RAX: ffffffff887a1000 RBX: 0000000000000000 RCX: ffff8880785f9dc0
RDX: 0000000000000304 RSI: 0000000000000004 RDI: ffffc90000dd0660
RBP: dffffc0000000000 R08: dffffc0000000000 R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: ffffffff917875c0
R13: ffffe8ffffc1f0a0 R14: ffff888046d7fcc8 R15: 0000000000000000
FS:  00007fe7433f46c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f96bd51d198 CR3: 000000003a27f000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/31 11:40 linux-5.15.y 6139f2a02fe0 373b66cd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __nf_conntrack_confirm
* Struck through repros no longer work on HEAD.