syzbot


panic: unhandled af (5)

Status: upstream: reported on 2025/07/19 19:13
Reported-by: syzbot+4e05a18fbd663ba06161@syzkaller.appspotmail.com
First crash: 60d, last: 17d
Similar bugs (4)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd panic: unhandled af 2 C 21 2082d 2084d 3/3 fixed on 2020/01/09 12:20
openbsd panic: unhandled af (3) 2 syz 7 1896d 1905d 0/3 closed as invalid on 2020/10/03 07:42
openbsd panic: unhandled af (4) 2 syz 11 1334d 1363d 3/3 fixed on 2022/01/25 13:33
openbsd panic: unhandled af (2) 2 C 22 1908d 1934d 3/3 fixed on 2020/06/28 14:37

Sample crash report:
panic: unhandled af 18
Starting stack trace...
panic(ffffffff83360430) at panic+0x1ba sys/kern/subr_prf.c:229
unhandled_af(12) at unhandled_af+0x1a sys/net/if.c:-1
if_output_tso(ffff800000039058,ffff80002a839858,ffff800001490980,fffffd806f066198,5dc) at if_output_tso+0x22b
ip_output(fffffd806f82c200,0,fffffd80793f46d8,800,0,fffffd80793f4770,2a8ec97ef4383cdd) at ip_output+0x129e sys/netinet/ip_output.c:437
tcp_output(ffff80000143ee60) at tcp_output+0x368a sys/netinet/tcp_output.c:1093
tcp_send(ffff80000141c458,fffffd806f82c900,0,0) at tcp_send+0x191 sys/netinet/tcp_usrreq.c:857
sosend(ffff80000141c458,0,ffff80002a839ca8,0,0,80) at sosend+0x804 sys/kern/uipc_socket.c:-1
dofilewritev(ffff80002a7df4d0,3,ffff80002a839ca8,0,ffff80002a839d50) at dofilewritev+0x242 sys/kern/sys_generic.c:380
sys_write(ffff80002a7df4d0,ffff80002a839e00,ffff80002a839d50) at sys_write+0xa2 sys/kern/sys_generic.c:300
syscall(ffff80002a839e00) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80002a839e00) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7c145a950a60, count: 246
End of stack trace.
syncing disks...38 38  done


Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/31 01:46 openbsd 956d2a6101a0 807a3b61 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: unhandled af
2025/07/19 19:12 openbsd 0e7ce4eb8da0 3cda49cf .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: unhandled af
* Struck through repros no longer work on HEAD.