syzbot


assert "rn != NULL" failed in pipex.c

Status: upstream: reported on 2025/05/10 16:51
Reported-by: syzbot+a27b0c7b00d6f1aa08f3@syzkaller.appspotmail.com
First crash: 58d, last: 58d

Sample crash report:
panic: kernel diagnostic assertion "rn != NULL" failed: file "/syzkaller/managers/main/kernel/sys/net/pipex.c", line 504
Starting stack trace...
panic(ffffffff8342bd5e) at panic+0x1ba sys/kern/subr_prf.c:229
__assert(ffffffff833d59dd,ffffffff833660e4,1f8,ffffffff8338c28f) at __assert+0x29 sys/kern/subr_prf.c:-1
pipex_unlink_session_locked(ffff80002a869130) at pipex_unlink_session_locked+0x413 sys/net/pipex.c:504
pipex_destroy_all_sessions(ffff80000145b800) at pipex_destroy_all_sessions+0xd9 pipex_rele_session sys/net/pipex.c:-1 [inline]
pipex_destroy_all_sessions(ffff80000145b800) at pipex_destroy_all_sessions+0xd9 sys/net/pipex.c:156
pppacclose(637e,41,2000,ffff80003c97d4b0) at p
ppacclose+0x16f
spec_close(ffff80003c951900) at spec_close+0x412 sys/kern/spec_vnops.c:-1
VOP_CLOSE(fffffd806a2df360,41,fffffd807f7d72d8,ffff80003c97d4b0) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156
vn_closefile(fffffd8061770810,ffff80003c97d4b0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline]
vn_closefile(fffffd8061770810,ffff80003c97d4b0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615
fdrop(fffffd8061770810,ffff80003c97d4b0) at fdrop+0x126 sys/kern/kern_descrip.c:1267
closef(fffffd8061770810,ffff80003c97d4b0) at closef+0x18d sys/kern/kern_descrip.c:1251
syscall(ffff80003c951b60) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80003c951b60) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xaf1df077340, count: 245
End of stack trace.
syncing disks...set $lines = 0
set $maxwidth = 0
show panic
trace
show registers
show proc
ps
show all locks
show malloc
show all pools
machine ddbcpu 0
trace
machine ddbcpu 1
trace

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/05/10 16:50 openbsd 5fc296287174 77908e5f .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "rn != NULL" failed in pipex.c
* Struck through repros no longer work on HEAD.