panic: kernel diagnostic assertion "rn != NULL" failed: file "/syzkaller/managers/main/kernel/sys/net/pipex.c", line 501 Starting stack trace... panic(ffffffff8333e0e4) at panic+0x1ba sys/kern/subr_prf.c:229 __assert(ffffffff8337b5d2,ffffffff832d33af,1f5,ffffffff833352d3) at __assert+0x29 sys/kern/subr_prf.c:-1 pipex_unlink_session_locked(ffff8000339429e0) at pipex_unlink_session_locked+0x402 pipex_destroy_all_sessions(ffff80000148f800) at pipex_destroy_all_sessions+0xd9 pipex_rele_session sys/net/pipex.c:-1 [inline] pipex_destroy_all_sessions(ffff80000148f800) at pipex_destroy_all_sessions+0xd9 sys/net/pipex.c:153 pppacclose(637e,41,2000,ffff80002a8eb4f0) at pppacclose+0x16f sys/net/if_pppx.c:1335 spec_close(ffff80003c9a11c0) at spec_close+0x417 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806b0189a0,41,fffffd8007bfb618,ffff80002a8eb4f0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd807ab35100,ffff80002a8eb4f0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd807ab35100,ffff80002a8eb4f0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd807ab35100,ffff80002a8eb4f0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd807ab35100,ffff80002a8eb4f0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a8eb4f0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a8eb4f0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a8eb4f0,ffff80003c9a1520,ffff80003c9a1470) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c9a1520) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9a1520) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x777cd77088b0, count: 242 End of stack trace.