Re: Panic in the syncache area

From: Michael Tuexen <tuexen_at_FreeBSD.org>
Date: Mon, 06 Oct 2025 22:21:37 UTC
> On 6. Oct 2025, at 12:38, Alexander Leidinger <Alexander@leidinger.net> wrote:
> 
> Hi,
> 
> -current as of 2025-10-04-124314 CEST.
> 
> The full backtrace is at https://wiki.leidinger.net/core.txt.1 . It reproduces after some minutes after boot.
The problem should be fixed by:
https://cgit.FreeBSD.org/src/commit/?id=8af2f06a99b10c0d3ab9021949e750852662672a <https://cgit.freebsd.org/src/commit/?id=8af2f06a99b10c0d3ab9021949e750852662672a>

Thanks for reporting!

Best regards
Michael
> 
> Short:
> #5  0xffffffff8089eac8 in trap_fatal (frame=0xfffffe0420436980,
>     eva=<optimized out>) at /space/system/usr_src/sys/amd64/amd64/trap.c:969
>         type = <optimized out>
>         handled = <optimized out>
> #6  <signal handler called>
> No locals.
> #7  memcmp () at /space/system/usr_src/sys/amd64/amd64/support.S:174
> No locals.
> #8  0xffffffff806ecd5e in syncache_lookup (inc=0xfffffe0420436b10,
>     schp=<optimized out>)
>     at /space/system/usr_src/sys/netinet/tcp_syncache.c:597
>         sch = 0xfffffe07a444f1d0
>         sc = 0xdeadc0dedeadc0de
> #9  syncache_chkrst (inc=inc@entry=0xfffffe0420436b10,
>     th=th@entry=0xfffff804fbbed782, m=m@entry=0xfffff804fbbed700,
>     port=port@entry=0) at /space/system/usr_src/sys/netinet/tcp_syncache.c:620
>         s = 0x0
>         sch = 0xfffffe07a444f1d0
>         sc = <optimized out>
> #10 0xffffffff806d3968 in tcp_input_with_port (mp=<optimized out>,
>     offp=<optimized out>, proto=<optimized out>, port=port@entry=0)
>     at /space/system/usr_src/sys/netinet/tcp_input.c:1175
>         inc = {inc_flags = 0 '\000', inc_len = 0 '\000', inc_fibnum = 0,
>           inc_ie = {ie_fport = 41797, ie_lport = 47873, ie_dependfaddr = {
>               id46_addr = {ia46_pad32 = {0, 0, 0}, ia46_addr4 = {
>                   s_addr = 781893582}}, id6_addr = {__u6_addr = {
>                   __u6_addr8 = '\000' <repeats 12 times>, "ο\232.",
>                   __u6_addr16 = {0, 0, 0, 0, 0, 0, 49102, 11930},
>                   __u6_addr32 = {0, 0, 0, 781893582}}}}, ie_dependladdr = {
>               id46_addr = {ia46_pad32 = {0, 0, 0}, ia46_addr4 = {
>                   s_addr = 2013374656}}, id6_addr = {__u6_addr = {
>                   __u6_addr8 = '\000' <repeats 12 times>, "\300\250\001x",
>                   __u6_addr16 = {0, 0, 0, 0, 0, 0, 43200, 30721},
>                   __u6_addr32 = {0, 0, 0, 2013374656}}}}, ie6_zoneid = 0}}
>         so = 0xfffff8051652cc00
>         to = {to_flags = 0, to_tsval = 4294966788, to_tsecr = 2152803556,
>           to_sacks = 0xfffff80525f06200 "",
>           to_signature = 0xfffff8010e37f000 "\300q\275e", to_tfo_cookie = 0x0,
>           to_mss = 46448, to_wscale = 116 't', to_nsacks = 217 '\331',
>           to_tfo_len = 4 '\004', to_spare = 541289232}
>         m = 0xfffff804fbbed700
>         th = 0xfffff804fbbed782
>         ip = 0xfffff804fbbed76e
>         inp = <optimized out>
>         tp = 0xfffff8064a381540
>         optp = 0x0
>         optlen = 0
>         tlen = <optimized out>
>         fwd_tag = 0x0
>         ip6 = 0x0
>         s = 0x0
>         closed_port = false
>         off0 = <optimized out>
>         iptos = 0 '\000'
>         off = <optimized out>
>         len = <optimized out>
>         ipttl = <optimized out>
>         thflags = <optimized out>
>         drop_hdrlen = 40
>         lookupflag = 5
>         isipv6 = <optimized out>
> 
> Bye,
> Alexander.
> 
> -- 
> Send from a mobile device, please forgive brevity and misspellings.