panic: free: non-malloced addr ADDR type ip_moptions (2)

Status: upstream: reported on 2026/09/25 06:32
Reported-by: syzbot+809eac71ebb4d5a6d672@syzkaller.appspotmail.com
First crash: 11d, last: 10d
▶ ▼ Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd panic: free: non-malloced addr ADDR type ip_moptions 2 6 22d 84d 4/4 fixed on 2026/09/20 18:02

Sample crash report:
panic: free: non-malloced addr 0xffff0000000091f1 type ip_moptions
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(ffffffff8346a115) at panic+0x1e5 sys/kern/subr_prf.c:198
free(ffff0000000091f1,35,0) at free+0x6b7 sys/kern/kern_malloc.c:426
ip_freemoptions(ffff800000c43ee0) at ip_freemoptions+0xea sys/netinet/ip_output.c:1744
in_pcbdetach(fffff9800f9647b8) at in_pcbdetach+0xec sys/netinet/in_pcb.c:605
udp_detach(ffff8000016134a8) at udp_detach+0x5a sys/netinet/udp_usrreq.c:1158
soclose(ffff8000016134a8,0) at soclose+0xb0 pru_detach sys/sys/protosw.h:281 [inline]
soclose(ffff8000016134a8,0) at soclose+0xb0 sys/kern/uipc_socket.c:403
soo_close(fffff9806e3627f0,ffff800045fe87e8) at soo_close+0x56 sys/kern/sys_socket.c:-1
fdrop(fffff9806e3627f0,ffff800045fe87e8) at fdrop+0x121 sys/kern/kern_descrip.c:1281
closef(fffff9806e3627f0,ffff800045fe87e8) at closef+0x192 sys/kern/kern_descrip.c:1265
fdfree(ffff800045fe87e8) at fdfree+0x116 sys/kern/kern_descrip.c:1196
exit1(ffff800045fe87e8,0,0,1) at exit1+0x595 sys/kern/kern_exit.c:215
sys_exit(ffff800045fe87e8,ffff80002a2c2e00,ffff80002a2c2d50) at sys_exit+0x1a sys/kern/kern_exit.c:-1
syscall(ffff80002a2c2e00) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80002a2c2e00) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:791
end trace frame: 0xffff80002a2c2e80, 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{1}> 
ddb{1}> set $lines = 0
ddb{1}> set $maxwidth = 0
ddb{1}> show panic
*cpu1: free: non-malloced addr 0xffff0000000091f1 type ip_moptions
ddb{1}> show kasan
No such command
ddb{1}> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff8346a115) at panic+0x1e5 sys/kern/subr_prf.c:198
free(ffff0000000091f1,35,0) at free+0x6b7 sys/kern/kern_malloc.c:426
ip_freemoptions(ffff800000c43ee0) at ip_freemoptions+0xea sys/netinet/ip_output.c:1744
in_pcbdetach(fffff9800f9647b8) at in_pcbdetach+0xec sys/netinet/in_pcb.c:605
udp_detach(ffff8000016134a8) at udp_detach+0x5a sys/netinet/udp_usrreq.c:1158
soclose(ffff8000016134a8,0) at soclose+0xb0 pru_detach sys/sys/protosw.h:281 [inline]
soclose(ffff8000016134a8,0) at soclose+0xb0 sys/kern/uipc_socket.c:403
soo_close(fffff9806e3627f0,ffff800045fe87e8) at soo_close+0x56 sys/kern/sys_socket.c:-1
fdrop(fffff9806e3627f0,ffff800045fe87e8) at fdrop+0x121 sys/kern/kern_descrip.c:1281
closef(fffff9806e3627f0,ffff800045fe87e8) at closef+0x192 sys/kern/kern_descrip.c:1265
fdfree(ffff800045fe87e8) at fdfree+0x116 sys/kern/kern_descrip.c:1196
exit1(ffff800045fe87e8,0,0,1) at exit1+0x595 sys/kern/kern_exit.c:215
sys_exit(ffff800045fe87e8,ffff80002a2c2e00,ffff80002a2c2d50) at sys_exit+0x1a sys/kern/kern_exit.c:-1
syscall(ffff80002a2c2e00) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80002a2c2e00) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7b8c460828c0, count: -15
ddb{1}> show registers
rdi                                0
rsi                              0x1
rbp               0xffff80002a2c28f0
rbx               0xffff80002999ee0f
rdx                                0
rcx               0xffff800045fe87e8
rax               0xffff80002999dff0
r8                 0x101010101010101
r9                0x8080808080808080
r10               0xeea2e97df27e6996
r11               0x724105b16321ecec
r12               0xffff80002999ec10
r13                                0
r14                                0
r15                              0x1
rip               0xffffffff82552195    db_enter+0x25
cs                               0x8
rflags                         0x246
rsp               0xffff80002a2c28e0
ss                              0x10
db_enter+0x25:  addq    $0x8,%rsp
ddb{1}> show proc
PROC (syz-executor) tid=318951 pid=6596 tcnt=0 stat=onproc
    flags process=1018<EXITING,SUGID,SINGLEEXIT> proc=2000<WEXIT>
    runpri=32, usrpri=78, slppri=32, nice=20
    wchan=0x0, wmesg=, ps_single=0xffff800045fe87e8 scnt=-1 ecnt=1
    forw=0xffffffffffffffff, list=0xffff800045fe94e0,0xffffffff83b4dac0
    process=0xffff800045fedd28 user=0xffff80002a2bd000, vmspace=0xfffff9806d1e0b90
    estcpu=28, cpticks=2, pctcpu=0.0, user=0, sys=1, intr=0
ddb{1}> ps
   PID     TID   PPID   UID  S      PRLAGS     PFLAGS WAIT      COMMAND
  5368  159228   9309 32767  3        0x10       0x80 nanoslp   syz-executor
  9309  366102  48847     0  3         0x2       0x80 wait      syz-executor
  3949  190700  79766 32767  3        0x10       0x80 piperd    syz-executor
 79766   47946  48847     0  3         0x2       0x80 wait      syz-executor
  9404   40406  89618 32767  3        0x10       0x80 nanoslp   syz-executor
 89618   84375  48847     0  3         0x2       0x80 wait      syz-executor
 37094  511633  25144 32767  3        0x10       0x80 nanoslp   syz-executor
 25144  169863  48847     0  3         0x2       0x80 wait      syz-executor
 11791  323904  48558 32767  3        0x10       0x80 wait      syz-executor
 48558  121985  48847     0  3         0x2       0x80 wait      syz-executor
 56537  487568  48847     0  3         0x2       0x80 wait      syz-executor
 59124  395466  48847     0  3         0x2       0x80 wait      syz-executor
 48847  181668  24559     0  3         0x2       0x80 nanoslp   syz-executor
 24559  410792  96335     0  3    0x100002       0x88 sigsusp   ksh
 96335   14206   2473     0  3        0x10       0x88 kqread    sshd-session
  2473  205776  47768     0  3        0x12       0x80 kqread    sshd-session
 42023  133786      1     0  3    0x100003       0x80 ttyin     getty
 47768  304815      1     0  3           0       0x88 kqread    sshd
 15015  305575  74460    73  3   0x1100010       0x80 kqread    syslogd
 74460   23717      1     0  3    0x100002       0x80 sbwait    syslogd
 40539  195669      1     0  3    0x100000       0x80 kqread    resolvd
 12344  436137  65701    77  3    0x100012       0x80 kqread    dhcpleased
 64902  377884  65701    77  3    0x100012       0x80 kqread    dhcpleased
 65701  224218      1     0  3           0       0x80 kqread    dhcpleased
 23180   63389      0     0  3     0x14000      0x200 bored     smr
 66090  256784      0     0  2     0x14000      0x200           zerothread
 28948  236068      0     0  3     0x14000      0x200 aiodoned  aiodoned
 53081  112927      0     0  3     0x14000      0x200 syncer    update
 21473   99298      0     0  3     0x14000      0x200 cleaner   cleaner
 47581  288408      0     0  2     0x14000      0x200           reaper
  3679  310552      0     0  3     0x14000      0x200 pgdaemon  pagedaemon
 16474  188837      0     0  3     0x14000      0x200 bored     viomb
 23287  225005      0     0  3     0x14000 0x40000200 acpi0     acpi0
 62890  363019      0     0  3     0x14000 0x40000200           idle1
 53777  496651      0     0  3     0x14000      0x200 bored     softnet1
 76596  154263      0     0  3     0x14000      0x200 bored     softnet0
 45150  480655      0     0  3     0x14000      0x200 bored     systqmp
 91204  398511      0     0  3     0x14000      0x200 bored     systq
 38054  183981      0     0  3     0x14000      0x200 tmoslp    softclockmp
 56737   18389      0     0  2     0x14000 0x40000200           softclock
 33201   40223      0     0  3     0x14000 0x40000200           idle0
     1  342141      0     0  3         0x2       0x80 wait      init
     0       0     -1     0  3     0x10000      0x200 scheduler swapper
ddb{1}> show all locks
CPU 0:
exclusive mutex &uvm.pageqlock r = 0 (0xffffffff83afdcf0)
#0  witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5f1 sys/kern/subr_witness.c:1160
#1  mtx_enter+0x4b4 sys/kern/kern_lock.c:487
#2  uvm_pageclean+0x29c sys/uvm/uvm_page.c:937
#3  uvm_pagefree+0x26 sys/uvm/uvm_page.c:977
#4  uvm_anfree+0xe9 sys/uvm/uvm_anon.c:112
#5  amap_wipeout+0x1d6 sys/uvm/uvm_amap.c:-1
#6  uvm_unmap_detach+0x8a sys/uvm/uvm_map.c:1359
#7  uvm_map_teardown+0x360 sys/uvm/uvm_map.c:2536
#8  exit1+0x71b sys/kern/kern_exit.c:260
#9  sys_exit+0x1a sys/kern/kern_exit.c:-1
#10 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#10 syscall+0xb17 sys/arch/amd64/amd64/trap.c:791
#11 Xsyscall+0x128
ddb{1}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 11050  12016K   12034K 166960K     12243        0
            pcb    17     14K      16K 166960K        19        0
         rtable   215      6K       7K 166960K      1411        0
             pf    29     16K      16K 166960K        97        0
         ifaddr    38      7K       7K 166960K       180        0
        ifgroup    46      2K       2K 166960K       182        0
         sysctl     4      1K       9K 166960K         8        0
       counters    68     36K      37K 166960K       136        0
       ioctlops     0      0K       4K 166960K        67        0
            iov     0      0K      12K 166960K       143        0
          mount     1      1K       1K 166960K         1        0
            log     0      0K       0K 166960K         4        0
         vnodes  1288     81K      81K 166960K      1894        0
      UFS quota     1     32K      32K 166960K         1        0
      UFS mount     5     36K      36K 166960K         5        0
            shm     2      1K       5K 166960K         8        0
         VM map     2      1K       1K 166960K         2        0
            sem    27      2K       3K 166960K        55        0
        dirhash    12      2K       2K 166960K        18        0
           ACPI  1734    201K     291K 166960K     11964        0
      file desc    18     65K     129K 166960K      1012        0
          sigio     0      0K       0K 166960K         3        0
           proc    58     99K     180K 166960K      1461        0
        subproc    63      3K       4K 166960K       423        0
    NFS srvsock     1      0K       0K 166960K         1        0
     NFS daemon     1     16K      16K 166960K         1        0
    ip_moptions     3      0K       0K 166960K       171        0
       in_multi    89      6K       7K 166960K       477        0
    ether_multi     1      0K       0K 166960K         3        0
            mrt     0      0K       0K 166960K        15        0
    ISOFS mount     1     32K      32K 166960K         1        0
  MSDOSFS mount     1     16K      16K 166960K         1        0
           ttys    79    360K     360K 166960K        79        0
           exec     0      0K       1K 166960K       896        0
   fusefs mount     1     32K      32K 166960K         1        0
            tdb     3      0K       0K 166960K         3        0
        VM swap     8     62K      64K 166960K        10        0
       UVM amap   209    167K     189K 166960K      8751        0
       UVM aobj    51      2K       2K 166960K        51        0
     pinsyscall    40     80K     114K 166960K      2990        0
        memdesc     1      4K       4K 166960K         1        0
    crypto data     1      1K       1K 166960K         1        0
    ip6_options     0      0K       0K 166960K        27        0
            NDP    14      0K       2K 166960K       126        0
           temp    70   9127K    9188K 166960K      8337        0
         kqueue    13     20K      27K 166960K        82        0
      SYN cache     2     16K      16K 166960K         2        0
ddb{1}> show all pools
Name      Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
plcache    128       28    0        0     1     0     1     1     0     8    0
rtpcb      120      194    0      191     3     0     3     3     0     8    2
rtentry    176      476    0      377     6     0     6     6     0     8    1
unpcb      144      443    0      428     6     0     6     6     0     8    5
syncache   336       10    0       10     1     0     1     1     0     8    1
tcpqe       32        2    0        2     1     1     0     1     0     8    0
tcpcb      736      182    0      175     4     2     2     4     0     8    1
arp        136       84    0       68     1     0     1     1     0     8    0
ipq         40        6    0        1     1     0     1     1     0     8    0
ipqe        40        7    0        2     1     0     1     1     0     8    0
inpcb      328      977    0      964    12     6     6    12     0     8    4
nd6        152      125    0      104     1     0     1     1     0     8    0
kcovpl      48       47    0       40     1     0     1     1     0     8    0
art_heap8  4096       1    0        0     1     0     1     1     0     8    0
art_heap4  256     1926    0     1512    31     2    29    30     0     8    0
art_table   40     1927    0     1512     5     0     5     5     0     8    0
art_node    32      476    0      386     1     0     1     1     0     8    0
semupl     112        3    0        3     1     0     1     1     0     8    1
semapl      72       52    0       27     1     0     1     1     0     8    0
shmpl      120       48    0        0     2     0     2     2     0     8    0
dirhash    1024      21    0        4     3     0     3     3     0     8    0
dino2pl    256     2232    0      682    97     0    97    97     0     8    0
ffsino     296     2232    0      682   120     0   120   120     0     8    0
nchpl      144     2873    0     1075    67     0    67    67     0     8    0
vnodes     216     2664    0        0   148     0   148   148     0     8    0
namei      1024   14400    0    14400     3     2     1     2     0     8    1
percpumem   16       84    0       34     1     0     1     1     0     8    0
kstatmem   264       91    0       68     2     0     2     2     0     8    0
scxspl     216     8884    0     8884     7     3     4     4     1     8    4
plimitpl   152      168    0      146     2     0     2     2     0     8    0
sigapl     424     1236    0     1188     7     0     7     7     0     8    0
knotepl    120      313    0        0    10     0    10    10     0     8    0
kqueuepl   224      291    0      282     5     1     4     5     0     8    3
pipepl     344      262    0      235     3     0     3     3     0     8    0
fdescpl    528     1220    0     1189     4     1     3     4     0     8    0
filepl     160     5858    0     5662    15     0    15    15     0     8    4
lockfpl    104      133    0      131     1     0     1     1     0     8    0
lockfspl    48       52    0       50     1     0     1     1     0     8    0
sessionpl  144      279    0      264     1     0     1     1     0     8    0
pgrppl      48      328    0      306     1     0     1     1     0     8    0
ucredpl    104     1184    0     1166     1     0     1     1     0     8    0
zombiepl   144     1194    0     1188     1     0     1     1     0     8    0
processpl  1240    1236    0     1188     5     0     5     5     0     8    0
procpl     664     1828    0     1779     7     0     7     7     0     8    1
sosppl     176        4    0        4     1     0     1     1     0     8    1
sockpl     752     1619    0     1588    20     8    12    16     0     8    8
mcl64k     65536      3    0        0     1     0     1     1     0     8    0
mcl16k     16384      2    0        0     1     0     1     1     0     8    0
mcl12k     12288      1    0        0     1     0     1     1     0     8    0
mcl9k128   9344       1    0        0     1     0     1     1     0     8    0
mcl8k      8192       3    0        0     1     0     1     1     0     8    0
mcl4k      4096     112    0        0    14     0    14    14     0     8    0
mcl2k      2048      26    0        0     4     0     4     4     0     8    0
mextrefs    64       24    0        0     1     0     1     1     0     8    0
mtagpl      96        1    0        0     1     0     1     1     0     8    0
mbufpl     256      311    0        0    19     0    19    19     0     8    0
bufpl      272     2734    0      105   176     0   176   176     0     8    0
anonpl      32     7345    0        0    60     0    60    60     0   247    0
amapchunkpl 152   25722    0    25296    31     0    31    31     0   158    6
amappl16   200     1828    0     1813    16     2    14    14     0     8   12
amappl15   192       20    0       20     1     1     0     1     0     8    0
amappl14   184      811    0      810     1     0     1     1     0     8    0
amappl13   176      187    0      177     1     0     1     1     0     8    0
amappl12   168     1588    0     1558     2     0     2     2     0     8    0
amappl11   160       29    0       29     1     1     0     1     0     8    0
amappl10   152       62    0       52     1     0     1     1     0     8    0
amappl9    144      268    0      268     1     1     0     1     0     8    0
amappl8    136      227    0      226     1     0     1     1     0     8    0
amappl7    128      210    0      198     1     0     1     1     0     8    0
amappl6    120      490    0      489     1     0     1     1     0     8    0
amappl5    112       97    0       89     1     0     1     1     0     8    0
amappl4    104      374    0      359     1     0     1     1     0     8    0
amappl3     96     4583    0     4502     4     1     3     3     0     8    0
amappl2     88     1241    0     1169     3     1     2     3     0     8    0
amappl1     80    17134    0    16581    18     4    14    18     0     8    1
amappl      88     7390    0     7245     5     0     5     5     0    92    0
uvmvnodes   80      107    0        0     3     0     3     3     0     8    0
dma4096    4096       1    0        1     1     1     0     1     0     8    0
dma1024    1024       1    0        0     1     0     1     1     0     8    0
dma256     256        6    0        6     1     1     0     1     0     8    0
dma128     128      253    0      253     1     1     0     1     0     8    0
dma64       64        6    0        6     1     1     0     1     0     8    0
dma32       32        7    0        7     1     1     0     1     0     8    0
dma16       16       18    0       17     1     0     1     1     0     8    0
aobjpl      72       50    0        0     1     0     1     1     0     8    0
uaddrrnd    24     1220    0     1189     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24     1220    0     1189     1     0     1     1     0     8    0
vmmpekpl   168    11149    0    11082     4     0     4     4     0     8    0
vmmpepl    168    85987    0    84226   103     4    99   103     0   357    9
vmsppl     488     1219    0     1188     7     1     6     6     0     8    0
rwobjpl     80    25794    0    24854    28     2    26    26     0     8    3
pdppl      4096    2447    0     2376   137    52    85    99     0     8   14
pvpl        32    13895    0        0   115     2   113   113     0   265    0
pmappl     256     1219    0     1188     4     1     3     3     0     8    0
extentpl    40       46    0       28     1     0     1     1     0     8    0
phpool     112      500    0       61    13     0    13    13     0     8    0
ddb{1}> machine ddbcpu 0
Stopped at      x86_ipi_db+0x27:        addq    $0x8,%rsp
x86_ipi_db(ffffffff839d7ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394
x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27
__mp_lock(ffffffff83af2480) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline]
__mp_lock(ffffffff83af2480) at __mp_lock+0x192 sys/kern/kern_lock.c:173
exit1(ffff800045fe8020,0,0,1) at exit1+0x720 sys/kern/kern_exit.c:260
sys_exit(ffff800045fe8020,ffff80002f7a4010,ffff80002f7a3f60) at sys_exit+0x1a sys/kern/kern_exit.c:-1
syscall(ffff80002f7a4010) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80002f7a4010) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7e75a9d14ee0, count: 7
ddb{0}> trace
x86_ipi_db(ffffffff839d7ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394
x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27
__mp_lock(ffffffff83af2480) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline]
__mp_lock(ffffffff83af2480) at __mp_lock+0x192 sys/kern/kern_lock.c:173
exit1(ffff800045fe8020,0,0,1) at exit1+0x720 sys/kern/kern_exit.c:260
sys_exit(ffff800045fe8020,ffff80002f7a4010,ffff80002f7a3f60) at sys_exit+0x1a sys/kern/kern_exit.c:-1
syscall(ffff80002f7a4010) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80002f7a4010) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7e75a9d14ee0, count: -8
ddb{0}> machine ddbcpu 1
Stopped at      db_enter+0x25:  addq    $0x8,%rsp
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff8346a115) at panic+0x1e5 sys/kern/subr_prf.c:198
free(ffff0000000091f1,35,0) at free+0x6b7 sys/kern/kern_malloc.c:426
ip_freemoptions(ffff800000c43ee0) at ip_freemoptions+0xea sys/netinet/ip_output.c:1744
in_pcbdetach(fffff9800f9647b8) at in_pcbdetach+0xec sys/netinet/in_pcb.c:605
udp_detach(ffff8000016134a8) at udp_detach+0x5a sys/netinet/udp_usrreq.c:1158
soclose(ffff8000016134a8,0) at soclose+0xb0 pru_detach sys/sys/protosw.h:281 [inline]
soclose(ffff8000016134a8,0) at soclose+0xb0 sys/kern/uipc_socket.c:403
soo_close(fffff9806e3627f0,ffff800045fe87e8) at soo_close+0x56 sys/kern/sys_socket.c:-1
fdrop(fffff9806e3627f0,ffff800045fe87e8) at fdrop+0x121 sys/kern/kern_descrip.c:1281
closef(fffff9806e3627f0,ffff800045fe87e8) at closef+0x192 sys/kern/kern_descrip.c:1265
fdfree(ffff800045fe87e8) at fdfree+0x116 sys/kern/kern_descrip.c:1196
exit1(ffff800045fe87e8,0,0,1) at exit1+0x595 sys/kern/kern_exit.c:215
sys_exit(ffff800045fe87e8,ffff80002a2c2e00,ffff80002a2c2d50) at sys_exit+0x1a sys/kern/kern_exit.c:-1
syscall(ffff80002a2c2e00) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80002a2c2e00) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:791
end trace frame: 0xffff80002a2c2e80, count: 0
ddb{1}> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff8346a115) at panic+0x1e5 sys/kern/subr_prf.c:198
free(ffff0000000091f1,35,0) at free+0x6b7 sys/kern/kern_malloc.c:426
ip_freemoptions(ffff800000c43ee0) at ip_freemoptions+0xea sys/netinet/ip_output.c:1744
in_pcbdetach(fffff9800f9647b8) at in_pcbdetach+0xec sys/netinet/in_pcb.c:605
udp_detach(ffff8000016134a8) at udp_detach+0x5a sys/netinet/udp_usrreq.c:1158
soclose(ffff8000016134a8,0) at soclose+0xb0 pru_detach sys/sys/protosw.h:281 [inline]
soclose(ffff8000016134a8,0) at soclose+0xb0 sys/kern/uipc_socket.c:403
soo_close(fffff9806e3627f0,ffff800045fe87e8) at soo_close+0x56 sys/kern/sys_socket.c:-1
fdrop(fffff9806e3627f0,ffff800045fe87e8) at fdrop+0x121 sys/kern/kern_descrip.c:1281
closef(fffff9806e3627f0,ffff800045fe87e8) at closef+0x192 sys/kern/kern_descrip.c:1265
fdfree(ffff800045fe87e8) at fdfree+0x116 sys/kern/kern_descrip.c:1196
exit1(ffff800045fe87e8,0,0,1) at exit1+0x595 sys/kern/kern_exit.c:215
sys_exit(ffff800045fe87e8,ffff80002a2c2e00,ffff80002a2c2d50) at sys_exit+0x1a sys/kern/kern_exit.c:-1
syscall(ffff80002a2c2e00) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80002a2c2e00) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7b8c460828c0, count: -15

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/26 04:58 openbsd 504787fefdf8 a3c7249d .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: free: non-malloced addr ADDR type ip_moptions
2026/09/25 06:31 openbsd 4cbfb6fe3944 0a1606bc .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: free: non-malloced addr ADDR type ip_moptions
* Struck through repros no longer work on HEAD.