Crash in network code

From: Alexander Leidinger <Alexander_at_Leidinger.net>
Date: Sun, 10 May 2026 10:25:14 UTC
Hi,

This is with a src from 2026-04-29-222746 (with a patch for a ZFS 
panic):
---snip---
#7  m_mbuftouio (uio=uio@entry=0xfffffe085f2f9dc0, m=0xdeadc0dedeadc0de,
     len=len@entry=3414) at 
/space/system/usr_src/sys/kern/uipc_mbuf.c:2117
         progress = 3414
         total = 3414
         length = <optimized out>
         error = <optimized out>
#8  0xffffffff806038e3 in soreceive_stream_locked (
     so=so@entry=0xfffff80482cd0000, sb=sb@entry=0xfffff80482cd0200,
     psa=<optimized out>, uio=0xfffffe085f2f9dc0, mp0=0x0,
     controlp=<optimized out>, flags=flags@entry=0)
     at /space/system/usr_src/sys/kern/uipc_socket.c:3430
         len = 3414
         error = <optimized out>
         n = <optimized out>
         oresid = 3414
         m = <optimized out>
#9  0xffffffff80603655 in soreceive_stream (so=0xfffff80482cd0000, 
psa=0x0,
     uio=0xfffffe085f2f9dc0, mp0=0xde, controlp=0x0, flagsp=0x0)
     at /space/system/usr_src/sys/kern/uipc_socket.c:3522
         sb = 0xffffffbf
         flags = 0
         error = 0
#10 0xffffffff80604263 in soreceive (so=0x0, psa=0xffffffbf, 
uio=0xffffff01,
     mp0=0xde, controlp=0x4a3f8da1f6bbbd01, flagsp=0x13cf3c6cce71a2e)
     at /space/system/usr_src/sys/kern/uipc_socket.c:3716
         saved_vnet = 0x0
         error = <optimized out>
#11 0xffffffff805c6485 in fo_read (uio=0xfffffe085f2f9dc0,
     active_cred=0xffffff01, active_cred@entry=0xfffffe085f2f9d70, 
flags=0,
     td=0xfffff8001f9a5780, fp=<optimized out>)
     at /space/system/usr_src/sys/sys/file.h:364
No locals.
#12 dofileread (td=0xfffff8001f9a5780, fd=43, fp=<optimized out>,
     auio=0xfffffe085f2f9dc0, offset=-1, flags=0)
     at /space/system/usr_src/sys/kern/sys_generic.c:369
         ktruio = 0x0
         cnt = 3414
         error = <optimized out>
#13 kern_readv (td=0xfffff8001f9a5780, fd=43,
     auio=auio@entry=0xfffffe085f2f9dc0)
     at /space/system/usr_src/sys/kern/sys_generic.c:290
         fp = 0xfffff805bb8ab0f0
         error = <optimized out>
#14 0xffffffff805c637e in sys_read (td=0x0, uap=<optimized out>)
     at /space/system/usr_src/sys/kern/sys_generic.c:206
         auio = {uio_iov = 0xfffffe085f2f9df0, uio_iovcnt = 1,
           uio_offset = 3413, uio_resid = 0, uio_segflg = UIO_USERSPACE,
           uio_rw = UIO_READ, uio_td = 0xfffff8001f9a5780}
         aiov = {iov_base = 0x1b3248a1c062, iov_len = 0}
         error = <optimized out>
---snip---

Does this ring a bell for someone? The system was up for about 4 days 
and I have no idea how to reproduce. Full kernel dump available.

Bye,
Alexander.

-- 
http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    netchild@FreeBSD.org  : PGP 0x8F31830F9F2772BF