panic: free: non-malloced addr ADDR type ip_moptions

Status: fixed on 2026/09/20 18:02
Reported-by: syzbot+eefbaca0eb56be2757c2@syzkaller.appspotmail.com
Fix commit: e7ea118a97a3 Unlink multicast records when their interface is detached
First crash: 83d, last: 21d
▶ ▼ 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) 2 2 8d22h 9d21h 0/4 upstream: reported on 2026/09/25 06:32

Sample crash report:
panic: free: non-malloced addr 0x6aa73e53 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(ffffffff8346d89c) at panic+0x1e5 sys/kern/subr_prf.c:198
free(6aa73e53,35,0) at free+0x6b7 sys/kern/kern_malloc.c:426
ip_freemoptions(ffff800000c406e0) at ip_freemoptions+0xea sys/netinet/ip_output.c:1744
in_pcbdetach(fffff40078afc3d8) at in_pcbdetach+0xec sys/netinet/in_pcb.c:605
udp_detach(ffff8000015b5790) at udp_detach+0x5a sys/netinet/udp_usrreq.c:1158
soclose(ffff8000015b5790,0) at soclose+0xb0 pru_detach sys/sys/protosw.h:281 [inline]
soclose(ffff8000015b5790,0) at soclose+0xb0 sys/kern/uipc_socket.c:403
soo_close(fffff4006d0a04a0,ffff800045fec7e8) at soo_close+0x56 sys/kern/sys_socket.c:-1
fdrop(fffff4006d0a04a0,ffff800045fec7e8) at fdrop+0x121 sys/kern/kern_descrip.c:1281
closef(fffff4006d0a04a0,ffff800045fec7e8) at closef+0x192 sys/kern/kern_descrip.c:1265
fdfree(ffff800045fec7e8) at fdfree+0x116 sys/kern/kern_descrip.c:1196
exit1(ffff800045fec7e8,0,0,1) at exit1+0x595 sys/kern/kern_exit.c:215
sys_exit(ffff800045fec7e8,ffff80002a3303f0,ffff80002a330340) at sys_exit+0x1a sys/kern/kern_exit.c:-1
syscall(ffff80002a3303f0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80002a3303f0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:791
end trace frame: 0xffff80002a330470, 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 0x6aa73e53 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(ffffffff8346d89c) at panic+0x1e5 sys/kern/subr_prf.c:198
free(6aa73e53,35,0) at free+0x6b7 sys/kern/kern_malloc.c:426
ip_freemoptions(ffff800000c406e0) at ip_freemoptions+0xea sys/netinet/ip_output.c:1744
in_pcbdetach(fffff40078afc3d8) at in_pcbdetach+0xec sys/netinet/in_pcb.c:605
udp_detach(ffff8000015b5790) at udp_detach+0x5a sys/netinet/udp_usrreq.c:1158
soclose(ffff8000015b5790,0) at soclose+0xb0 pru_detach sys/sys/protosw.h:281 [inline]
soclose(ffff8000015b5790,0) at soclose+0xb0 sys/kern/uipc_socket.c:403
soo_close(fffff4006d0a04a0,ffff800045fec7e8) at soo_close+0x56 sys/kern/sys_socket.c:-1
fdrop(fffff4006d0a04a0,ffff800045fec7e8) at fdrop+0x121 sys/kern/kern_descrip.c:1281
closef(fffff4006d0a04a0,ffff800045fec7e8) at closef+0x192 sys/kern/kern_descrip.c:1265
fdfree(ffff800045fec7e8) at fdfree+0x116 sys/kern/kern_descrip.c:1196
exit1(ffff800045fec7e8,0,0,1) at exit1+0x595 sys/kern/kern_exit.c:215
sys_exit(ffff800045fec7e8,ffff80002a3303f0,ffff80002a330340) at sys_exit+0x1a sys/kern/kern_exit.c:-1
syscall(ffff80002a3303f0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80002a3303f0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x76614cbaa0c0, count: -15
ddb{1}> show registers
rdi                                0
rsi                              0x1
rbp               0xffff80002a32fee0
rbx               0xffff80002999ee0f
rdx                                0
rcx               0xffff800045fec7e8
rax               0xffff80002999dff0
r8                 0x101010101010101
r9                0x8080808080808080
r10               0xc4036a32948969e8
r11               0xde4c07b8d8212392
r12               0xffff80002999ec10
r13                                0
r14                                0
r15                              0x1
rip               0xffffffff823a8245    db_enter+0x25
cs                               0x8
rflags                         0x246
rsp               0xffff80002a32fed0
ss                              0x10
db_enter+0x25:  addq    $0x8,%rsp
ddb{1}> show proc
PROC (syz-executor) tid=147724 pid=84631 tcnt=0 stat=onproc
    flags process=1018<EXITING,SUGID,SINGLEEXIT> proc=2000<WEXIT>
    runpri=32, usrpri=86, slppri=32, nice=20
    wchan=0x0, wmesg=, ps_single=0xffff800045fec7e8 scnt=-1 ecnt=1
    forw=0xffffffffffffffff, list=0xffff80002a220548,0xffff800045fecfc0
    process=0xffff800045ff0018 user=0xffff80002a32b000, vmspace=0xfffff4007a4e3018
    estcpu=36, cpticks=3, pctcpu=0.0, user=0, sys=1, intr=0
ddb{1}> ps
   PID     TID   PPID   UID  S      PRLAGS     PFLAGS WAIT      COMMAND
 49825  361007  79495 32767  2        0x10          0           syz-executor
 49825   91694  79495 32767  3        0x10  0x4000080 fsleep    syz-executor
 49825  429005  79495 32767  3        0x10  0x4000080 kqsel     syz-executor
 49825  489077  79495 32767  3        0x10  0x4000080 fsleep    syz-executor
 23700  324908  98850     0  3           0       0x80 wait      syz-executor
 98850  264894  50166     0  3         0x2       0x80 wait      syz-executor
 69790   59280  49227     0  2         0x2          0           ifconfig
 49227  193410  61008     0  3    0x100002       0x88 sigsusp   sh
 61008  176217  70690     0  3           0       0x80 wait      syz-executor
 70690  460459  50166     0  3         0x2       0x80 wait      syz-executor
 79495    8213  95219 32767  3        0x10       0x80 nanoslp   syz-executor
 95219  264246  50166     0  3         0x2       0x80 wait      syz-executor
 26026  485756  50166     0  3         0x2       0x80 wait      syz-executor
 70570  436618  50166     0  2  0x10000002          0           syz-executor
 84867  121226  71028 32767  3        0x10       0x80 wait      syz-executor
 71028  513730  50166     0  3         0x2       0x80 wait      syz-executor
 91233  354648  30730 32767  3        0x10       0x80 nanoslp   syz-executor
 30730  254638  50166     0  3         0x2       0x80 wait      syz-executor
 72221  108483  17084 32767  3        0x10       0x80 wait      syz-executor
 17084  370273  50166     0  3         0x2       0x80 wait      syz-executor
 50166  128528  86502     0  3         0x2       0x80 kqread    syz-executor
 86502  246752  52215     0  3    0x100002       0x88 sigsusp   ksh
 52215  468505  95126     0  3        0x10       0x88 kqread    sshd-session
 95126  364858  21808     0  3        0x12       0x80 kqread    sshd-session
 19738  318569      1     0  3    0x100003       0x80 ttyin     getty
 21808  273146      1     0  3           0       0x88 kqread    sshd
 17570  108721   4262    73  3   0x1100010       0x80 kqread    syslogd
  4262   82713      1     0  3    0x100002       0x80 sbwait    syslogd
 24660  362002      1     0  3    0x100000       0x80 kqread    resolvd
 36851  302640  72606    77  3    0x100012       0x80 kqread    dhcpleased
 68657  288738  72606    77  3    0x100012       0x80 kqread    dhcpleased
 72606  420388      1     0  3           0       0x80 kqread    dhcpleased
 21286   52753      0     0  3     0x14000      0x200 bored     smr
 14500  414328      0     0  2     0x14000      0x200           zerothread
 68598  420030      0     0  3     0x14000      0x200 aiodoned  aiodoned
 57693  460554      0     0  3     0x14000      0x200 syncer    update
 76453  282735      0     0  3     0x14000      0x200 cleaner   cleaner
 61470  342948      0     0  3     0x14000      0x200 reaper    reaper
 79929    7114      0     0  3     0x14000      0x200 pgdaemon  pagedaemon
 58422  398161      0     0  3     0x14000      0x200 bored     viomb
 62812  213208      0     0  3     0x14000 0x40000200 acpi0     acpi0
 88550  360828      0     0  3     0x14000 0x40000200           idle1
 16015  485282      0     0  3     0x14000      0x200 bored     softnet1
 32611   62728      0     0  3     0x14000      0x200 bored     softnet0
 59025  346458      0     0  3     0x14000      0x200 smrbar    systqmp
 93420  285126      0     0  3     0x14000      0x200 bored     systq
 78886  477312      0     0  3     0x14000      0x200 tmoslp    softclockmp
 41762   24011      0     0  3     0x14000 0x40000200 tmoslp    softclock
 34464  257448      0     0  3     0x14000 0x40000200           idle0
     1  184826      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 &sched_lock r = 0 (0xffffffff83a2ccb0)
#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  wakeup_n+0x54 sys/kern/kern_synch.c:581
#3  uvm_pmr_freepages+0x442 sys/uvm/uvm_pmemrange.c:1334
#4  pmap_do_remove+0x8af sys/arch/amd64/amd64/pmap.c:1949
#5  uvm_unmap_kill_entry_withlock+0x269 sys/uvm/uvm_map.c:1869
#6  uvm_map_teardown+0x117 uvm_map_addr_RBT_LEFT sys/uvm/uvm_map.h:-1 [inline]
#6  uvm_map_teardown+0x117 sys/uvm/uvm_map.c:2497
#7  exit1+0x71b sys/kern/kern_exit.c:260
#8  sys_exit+0x1a sys/kern/kern_exit.c:-1
#9  syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#9  syscall+0xb17 sys/arch/amd64/amd64/trap.c:791
#10 Xsyscall+0x128
exclusive mutex &uvm.fpageqlock r = 0 (0xffffffff83a2cb28)
#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_pmr_freepages+0x1b6 sys/uvm/uvm_pmemrange.c:-1
#3  pmap_do_remove+0x8af sys/arch/amd64/amd64/pmap.c:1949
#4  uvm_unmap_kill_entry_withlock+0x269 sys/uvm/uvm_map.c:1869
#5  uvm_map_teardown+0x117 uvm_map_addr_RBT_LEFT sys/uvm/uvm_map.h:-1 [inline]
#5  uvm_map_teardown+0x117 sys/uvm/uvm_map.c:2497
#6  exit1+0x71b sys/kern/kern_exit.c:260
#7  sys_exit+0x1a sys/kern/kern_exit.c:-1
#8  syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#8  syscall+0xb17 sys/arch/amd64/amd64/trap.c:791
#9  Xsyscall+0x128
Process 59025 (systqmp) thread 0xffff800045ffe298 (346458)
shared rwlock systqmp r = 0 (0xffffffff83991df8)
#0  witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5f1 sys/kern/subr_witness.c:1160
#1  taskq_thread+0x12a sys/kern/kern_task.c:442
#2  proc_trampoline+0x10
ddb{1}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 11066  12014K   12034K 166960K     12221        0
            pcb    17     12K      12K 166960K        17        0
         rtable   173      5K       7K 166960K       966        0
             pf    25     16K      16K 166960K        67        0
         ifaddr    33      6K       7K 166960K       118        0
        ifgroup    38      1K       2K 166960K       122        0
         sysctl     1      1K       9K 166960K         5        0
       counters    64     36K      37K 166960K       106        0
       ioctlops     0      0K       2K 166960K        57        0
            iov     0      0K      12K 166960K        11        0
          mount     1      1K       1K 166960K         1        0
            log     0      0K       0K 166960K         4        0
         vnodes  1288     81K      81K 166960K      1578        0
      UFS quota     1     32K      32K 166960K         1        0
      UFS mount     5     36K      36K 166960K         5        0
            shm     2      1K       5K 166960K         9        0
         VM map     2      1K       1K 166960K         2        0
            sem     3      8K       9K 166960K         6        0
        dirhash    12      2K       2K 166960K        15        0
           ACPI  1692    195K     286K 166960K     12470        0
      file desc    23     85K     121K 166960K       695        0
          sigio     0      0K       0K 166960K         4        0
           proc    65    115K     147K 166960K      1047        0
        subproc    72      4K       4K 166960K       252        0
    NFS srvsock     1      0K       0K 166960K         1        0
     NFS daemon     1     16K      16K 166960K         1        0
    ip_moptions     3      0K       0K 166960K       119        0
       in_multi    67      4K       6K 166960K       306        0
    ether_multi     1      0K       0K 166960K         3        0
            mrt     1      0K       0K 166960K        13        0
    ISOFS mount     1     32K      32K 166960K         1        0
  MSDOSFS mount     1     16K      16K 166960K         1        0
           ttys   211    943K     943K 166960K       211        0
           exec     0      0K       1K 166960K       626        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   224    144K     168K 166960K      6919        0
       UVM aobj    46      2K       2K 166960K        47        0
     pinsyscall    44     88K     110K 166960K      2261        0
        memdesc     1      4K       4K 166960K         1        0
    crypto data     1      1K       1K 166960K         1        0
    ip6_options     0      0K       0K 166960K        15        0
            NDP    14      0K       1K 166960K        81        0
           temp    41   9119K    9178K 166960K      6782        0
         kqueue    13     20K      29K 166960K        85        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       84    0       81     1     0     1     1     0     8    0
rtentry    176      310    0      232     6     0     6     6     0     8    0
unpcb      144      485    0      468     6     0     6     6     0     8    5
syncache   336       10    0       10     1     0     1     1     0     8    1
tcpqe       32        1    0        1     1     0     1     1     0     8    1
tcpcb      736       87    0       81     1     0     1     1     0     8    0
arp        136       54    0       42     1     0     1     1     0     8    0
ipq         40        2    0        0     1     0     1     1     0     8    0
ipqe        40        2    0        0     1     0     1     1     0     8    0
inpcb      328      458    0      446     7     0     7     7     0     8    5
nd6        152       79    0       64     1     0     1     1     0     8    0
kcovpl      48       28    0       20     1     0     1     1     0     8    0
art_heap8  4096       1    0        0     1     0     1     1     0     8    0
art_heap4  256     1261    0      849    32     0    32    32     0     8    6
art_table   40     1262    0      849     6     0     6     6     0     8    0
art_node    32      310    0      229     1     0     1     1     0     8    0
sysvmsgpl   40        5    0        4     1     0     1     1     0     8    0
semapl      72        2    0        1     1     0     1     1     0     8    0
shmpl      112       44    0        1     2     0     2     2     0     8    0
dirhash    1024      19    0        2     3     0     3     3     0     8    0
dino2pl    256     1960    0      454    95     0    95    95     0     8    0
ffsino     296     1960    0      454   116     0   116   116     0     8    0
nchpl      144     2520    0      775    65     0    65    65     0     8    0
vnodes     216     2221    0        0   124     0   124   124     0     8    0
namei      1024   10680    0    10680     3     2     1     2     0     8    1
percpumem   16       69    0       21     1     0     1     1     0     8    0
kstatmem   264       61    0       42     2     0     2     2     0     8    0
scxspl     216     8155    0     8155     4     3     1     3     1     8    1
plimitpl   152      140    0      115     2     0     2     2     0     8    0
sigapl     424      948    0      895     7     0     7     7     0     8    0
knotepl    120      296    0        0     9     0     9     9     0     8    0
kqueuepl   224      101    0       91     1     0     1     1     0     8    0
pipepl     344      299    0      272     9     0     9     9     0     8    6
fdescpl    528      932    0      897     3     0     3     3     0     8    0
filepl     160     4171    0     3959    16     0    16    16     0     8    4
lockfpl    104       92    0       90     1     0     1     1     0     8    0
lockfspl    48       37    0       35     1     0     1     1     0     8    0
sessionpl  144      123    0      107     1     0     1     1     0     8    0
pgrppl      48      152    0      128     1     0     1     1     0     8    0
ucredpl    104      680    0      663     1     0     1     1     0     8    0
zombiepl   144      901    0      895     1     0     1     1     0     8    0
processpl  1232     948    0      895     5     0     5     5     0     8    0
procpl     664     1392    0     1336     6     0     6     6     0     8    0
sockpl     752     1030    0      998    16     0    16    16     0     8   12
mcl64k     65536      3    0        0     1     0     1     1     0     8    0
mcl9k128   9344       1    0        0     1     0     1     1     0     8    0
mcl8k      8192       2    0        0     1     0     1     1     0     8    0
mcl4k      4096     122    0        0    16     0    16    16     0     8    0
mcl2k      2048      21    0        0     3     0     3     3     0     8    0
mextrefs    64       25    0        0     1     0     1     1     0     8    0
mtagpl      96        1    0        0     1     0     1     1     0     8    0
mbufpl     256     1224    0        0    77     0    77    77     0     8    0
bufpl      272     2680    0      102   172     0   172   172     0     8    0
anonpl      32     7997    0        0    65     0    65    65     0   247    0
amapchunkpl 152   21105    0    20622    33     0    33    33     0   158    8
amappl16   200     2600    0     2568    16     5    11    15     0     8    8
amappl15   192        4    0        4     1     1     0     1     0     8    0
amappl14   184      622    0      619     1     0     1     1     0     8    0
amappl13   176      159    0      149     1     0     1     1     0     8    0
amappl12   168     1240    0     1208     2     0     2     2     0     8    0
amappl11   160        7    0        7     2     2     0     1     0     8    0
amappl10   152       80    0       70     1     0     1     1     0     8    0
amappl9    144      286    0      286     1     1     0     1     0     8    0
amappl8    136      183    0      180     1     0     1     1     0     8    0
amappl7    128      182    0      170     1     0     1     1     0     8    0
amappl6    120      331    0      328     1     0     1     1     0     8    0
amappl5    112      102    0       94     1     0     1     1     0     8    0
amappl4    104      322    0      305     1     0     1     1     0     8    0
amappl3     96     3613    0     3524     5     1     4     4     0     8    1
amappl2     88     1001    0      928     3     0     3     3     0     8    1
amappl1     80    14578    0    14016    16     0    16    16     0     8    3
amappl      88     5875    0     5713     5     0     5     5     0    92    0
uvmvnodes   80      110    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       46    0        1     1     0     1     1     0     8    0
uaddrrnd    24      932    0      897     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24      932    0      897     1     0     1     1     0     8    0
vmmpekpl   168     9626    0     9574     3     0     3     3     0     8    0
vmmpepl    168    69064    0    67150   106     0   106   106     0   357   13
vmsppl     488      931    0      896     7     1     6     6     0     8    0
rwobjpl     80    22456    0    21454    26     0    26    26     0     8    2
pdppl      4096    1871    0     1792   119    32    87    95     0     8    8
pvpl        32    16082    0        0   131     1   130   130     0   265    0
pmappl     256      931    0      896     4     1     3     3     0     8    0
extentpl    40       45    0       27     1     0     1     1     0     8    0
phpool     112      532    0       37    15     0    15    15     0     8    0
ddb{1}> machine ddbcpu 0
Stopped at      x86_ipi_db+0x27:        addq    $0x8,%rsp
x86_ipi_db(ffffffff8399bff0) 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(ffffffff83a2e880) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline]
__mp_lock(ffffffff83a2e880) at __mp_lock+0x192 sys/kern/kern_lock.c:173
exit1(ffff80002a220548,1,0,1) at exit1+0x720 sys/kern/kern_exit.c:260
sys_exit(ffff80002a220548,ffff80002a2ea9c0,ffff80002a2ea910) at sys_exit+0x1a sys/kern/kern_exit.c:-1
syscall(ffff80002a2ea9c0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80002a2ea9c0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7c61c1489c60, count: 7
ddb{0}> trace
x86_ipi_db(ffffffff8399bff0) 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(ffffffff83a2e880) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline]
__mp_lock(ffffffff83a2e880) at __mp_lock+0x192 sys/kern/kern_lock.c:173
exit1(ffff80002a220548,1,0,1) at exit1+0x720 sys/kern/kern_exit.c:260
sys_exit(ffff80002a220548,ffff80002a2ea9c0,ffff80002a2ea910) at sys_exit+0x1a sys/kern/kern_exit.c:-1
syscall(ffff80002a2ea9c0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80002a2ea9c0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7c61c1489c60, 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(ffffffff8346d89c) at panic+0x1e5 sys/kern/subr_prf.c:198
free(6aa73e53,35,0) at free+0x6b7 sys/kern/kern_malloc.c:426
ip_freemoptions(ffff800000c406e0) at ip_freemoptions+0xea sys/netinet/ip_output.c:1744
in_pcbdetach(fffff40078afc3d8) at in_pcbdetach+0xec sys/netinet/in_pcb.c:605
udp_detach(ffff8000015b5790) at udp_detach+0x5a sys/netinet/udp_usrreq.c:1158
soclose(ffff8000015b5790,0) at soclose+0xb0 pru_detach sys/sys/protosw.h:281 [inline]
soclose(ffff8000015b5790,0) at soclose+0xb0 sys/kern/uipc_socket.c:403
soo_close(fffff4006d0a04a0,ffff800045fec7e8) at soo_close+0x56 sys/kern/sys_socket.c:-1
fdrop(fffff4006d0a04a0,ffff800045fec7e8) at fdrop+0x121 sys/kern/kern_descrip.c:1281
closef(fffff4006d0a04a0,ffff800045fec7e8) at closef+0x192 sys/kern/kern_descrip.c:1265
fdfree(ffff800045fec7e8) at fdfree+0x116 sys/kern/kern_descrip.c:1196
exit1(ffff800045fec7e8,0,0,1) at exit1+0x595 sys/kern/kern_exit.c:215
sys_exit(ffff800045fec7e8,ffff80002a3303f0,ffff80002a330340) at sys_exit+0x1a sys/kern/kern_exit.c:-1
syscall(ffff80002a3303f0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80002a3303f0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:791
end trace frame: 0xffff80002a330470, count: 0
ddb{1}> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff8346d89c) at panic+0x1e5 sys/kern/subr_prf.c:198
free(6aa73e53,35,0) at free+0x6b7 sys/kern/kern_malloc.c:426
ip_freemoptions(ffff800000c406e0) at ip_freemoptions+0xea sys/netinet/ip_output.c:1744
in_pcbdetach(fffff40078afc3d8) at in_pcbdetach+0xec sys/netinet/in_pcb.c:605
udp_detach(ffff8000015b5790) at udp_detach+0x5a sys/netinet/udp_usrreq.c:1158
soclose(ffff8000015b5790,0) at soclose+0xb0 pru_detach sys/sys/protosw.h:281 [inline]
soclose(ffff8000015b5790,0) at soclose+0xb0 sys/kern/uipc_socket.c:403
soo_close(fffff4006d0a04a0,ffff800045fec7e8) at soo_close+0x56 sys/kern/sys_socket.c:-1
fdrop(fffff4006d0a04a0,ffff800045fec7e8) at fdrop+0x121 sys/kern/kern_descrip.c:1281
closef(fffff4006d0a04a0,ffff800045fec7e8) at closef+0x192 sys/kern/kern_descrip.c:1265
fdfree(ffff800045fec7e8) at fdfree+0x116 sys/kern/kern_descrip.c:1196
exit1(ffff800045fec7e8,0,0,1) at exit1+0x595 sys/kern/kern_exit.c:215
sys_exit(ffff800045fec7e8,ffff80002a3303f0,ffff80002a330340) at sys_exit+0x1a sys/kern/kern_exit.c:-1
syscall(ffff80002a3303f0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80002a3303f0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x76614cbaa0c0, count: -15

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/14 00:23 openbsd 9d7a31ebf6f2 70a60e12 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: free: non-malloced addr ADDR type ip_moptions
2026/09/10 23:25 openbsd 4385dd3101c1 1fe56c0a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: free: non-malloced addr ADDR type ip_moptions
2026/09/06 07:08 openbsd 9bba88810ddf 4f7b22a0 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: free: non-malloced addr ADDR type ip_moptions
2026/08/25 11:21 openbsd 35698001175f a9a1fc32 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: free: non-malloced addr ADDR type ip_moptions
2026/08/24 19:58 openbsd 38355159c0bf b55bd4c3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: free: non-malloced addr ADDR type ip_moptions
2026/07/14 01:18 openbsd 925b83c94733 2130f682 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: free: non-malloced addr ADDR type ip_moptions
* Struck through repros no longer work on HEAD.