assert "rn != NULL" failed in pipex.c (3)

Status: upstream: reported on 2026/06/04 23:54
Reported-by: syzbot+11f4d8ec26a5afb14636@syzkaller.appspotmail.com
First crash: 78d, last: 30d
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd assert "rn != NULL" failed in pipex.c (2) -1 13 141d 155d 0/4 auto-obsoleted due to no activity on 2026/05/23 14:12
openbsd assert "rn != NULL" failed in pipex.c -1 73 214d 468d 0/4 auto-obsoleted due to no activity on 2026/03/11 01:34

Sample crash report:
panic: kernel diagnostic assertion "rn != NULL" failed: file "/syzkaller/managers/multicore/kernel/sys/net/pipex.c", line 459
Stopped at      db_enter+0x25:  addq    $0x8,%rsp
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff834cb97b) at panic+0x1e5 sys/kern/subr_prf.c:198
__assert(ffffffff83507068,ffffffff83522017,1cb,ffffffff834c0c20) at __assert+0x29 sys/kern/subr_prf.c:-1
pipex_unlink_session_locked(ffff80003c3e9750) at pipex_unlink_session_locked+0x429
pipex_destroy_all_sessions(ffff80000159e000) at pipex_destroy_all_sessions+0xd9 pipex_rele_session sys/net/pipex.c:-1 [inline]
pipex_destroy_all_sessions(ffff80000159e000) at pipex_destroy_all_sessions+0xd9 sys/net/pipex.c:151
pppacclose(637d,1,2000,ffff80002a222fa0) at pppacclose+0x16f sys/net/if_pppx.c:1335
spec_close(ffff80002a279e90) at spec_close+0x417 sys/kern/spec_vnops.c:-1
VOP_CLOSE(ffffee005ee40cf0,1,ffffee00097fd2d8,ffff80002a222fa0) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156
vn_closefile(ffffee006cbc3220,ffff80002a222fa0) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:298 [inline]
vn_closefile(ffffee006cbc3220,ffff80002a222fa0) at vn_closefile+0x12b sys/kern/vfs_vnops.c:621
fdrop(ffffee006cbc3220,ffff80002a222fa0) at fdrop+0x121 sys/kern/kern_descrip.c:1281
closef(ffffee006cbc3220,ffff80002a222fa0) at closef+0x192 sys/kern/kern_descrip.c:1265
fdfree(ffff80002a222fa0) at fdfree+0x116 sys/kern/kern_descrip.c:1196
exit1(ffff80002a222fa0,0,0,1) at exit1+0x595 sys/kern/kern_exit.c:215
sys_exit(ffff80002a222fa0,ffff80002a27a200,ffff80002a27a150) at sys_exit+0x1a sys/kern/kern_exit.c:-1
end trace frame: 0xffff80002a27a1f0, count: 0
https://www.openbsd.org/ddb.html describes the minimum info required in bug
reports.  Insufficient info makes it difficult to find and fix bugs.
ddb{0}> 
ddb{0}> 

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/07/23 07:09 openbsd 7df8bae8aea9 881ce5c2 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "rn != NULL" failed in pipex.c
2026/06/11 05:44 openbsd 46422b23c8d1 b754d2d8 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "rn != NULL" failed in pipex.c
2026/06/08 01:39 openbsd 1175e773e1a3 cc095639 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "rn != NULL" failed in pipex.c
2026/06/07 05:48 openbsd 03010b9869bc cc095639 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "rn != NULL" failed in pipex.c
2026/06/04 23:54 openbsd e098f50ba37b 197909be .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.