panic: free: size too large NUM > NUM (ADDR) type rtable

Status: upstream: reported on 2026/07/15 15:02
Reported-by: syzbot+064084701f73ec75ad93@syzkaller.appspotmail.com
First crash: 127d, last: 41d

Sample crash report:
panic: free: size too large 256 > 16 (0xffff8000016248d0) type rtable
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(ffffffff8352d710) at panic+0x1e5 sys/kern/subr_prf.c:198
free(ffff8000016248d0,5,100) at free+0x690 sys/kern/kern_malloc.c:387
rtfree(fffff4006c6b3c88) at rtfree+0x347 sys/net/route.c:641
rt_ifa_purge(ffff800001614300) at rt_ifa_purge+0x1a0 sys/net/route.c:1481
in_purgeaddr(ffff800001614300) at in_purgeaddr+0x1d6 sys/netinet/in.c:755
in_ifdetach(ffff80000160f000) at in_ifdetach+0x7e sys/netinet/in.c:1015
if_detach(ffff80000160f000) at if_detach+0x2fe sys/net/if.c:1311
tun_clone_destroy(ffff80000160f000) at tun_clone_destroy+0x2ce sys/net/if_tun.c:343
if_clone_destroy(ffff80002a362340) at if_clone_destroy+0x205 sys/net/if.c:1479
tun_dev_close(5d00,7) at tun_dev_close+0x1d9 sys/net/if_tun.c:526
spec_close(ffff80002a362400) at spec_close+0x417 sys/kern/spec_vnops.c:-1
VOP_CLOSE(fffff4006e282b20,7,fffff400097fd6e8,ffff80003a3b9250) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156
vn_closefile(fffff4007d248c98,ffff80003a3b9250) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:298 [inline]
vn_closefile(fffff4007d248c98,ffff80003a3b9250) at vn_closefile+0x12b sys/kern/vfs_vnops.c:621
end trace frame: 0xffff80002a362520, 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: size too large 256 > 16 (0xffff8000016248d0) type rtable
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(ffffffff8352d710) at panic+0x1e5 sys/kern/subr_prf.c:198
free(ffff8000016248d0,5,100) at free+0x690 sys/kern/kern_malloc.c:387
rtfree(fffff4006c6b3c88) at rtfree+0x347 sys/net/route.c:641
rt_ifa_purge(ffff800001614300) at rt_ifa_purge+0x1a0 sys/net/route.c:1481
in_purgeaddr(ffff800001614300) at in_purgeaddr+0x1d6 sys/netinet/in.c:755
in_ifdetach(ffff80000160f000) at in_ifdetach+0x7e sys/netinet/in.c:1015
if_detach(ffff80000160f000) at if_detach+0x2fe sys/net/if.c:1311
tun_clone_destroy(ffff80000160f000) at tun_clone_destroy+0x2ce sys/net/if_tun.c:343
if_clone_destroy(ffff80002a362340) at if_clone_destroy+0x205 sys/net/if.c:1479
tun_dev_close(5d00,7) at tun_dev_close+0x1d9 sys/net/if_tun.c:526
spec_close(ffff80002a362400) at spec_close+0x417 sys/kern/spec_vnops.c:-1
VOP_CLOSE(fffff4006e282b20,7,fffff400097fd6e8,ffff80003a3b9250) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156
vn_closefile(fffff4007d248c98,ffff80003a3b9250) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:298 [inline]
vn_closefile(fffff4007d248c98,ffff80003a3b9250) at vn_closefile+0x12b sys/kern/vfs_vnops.c:621
fdrop(fffff4007d248c98,ffff80003a3b9250) at fdrop+0x121 sys/kern/kern_descrip.c:1281
closef(fffff4007d248c98,ffff80003a3b9250) at closef+0x192 sys/kern/kern_descrip.c:1265
fdfree(ffff80003a3b9250) at fdfree+0x116 sys/kern/kern_descrip.c:1196
exit1(ffff80003a3b9250,43,0,1) at exit1+0x595 sys/kern/kern_exit.c:215
sys_exit(ffff80003a3b9250,ffff80002a362770,ffff80002a3626c0) at sys_exit+0x1a sys/kern/kern_exit.c:-1
syscall(ffff80002a362770) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80002a362770) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7cadfee66880, count: -21
ddb{1}> show registers
rdi                                0
rsi                              0x1
rbp               0xffff80002a361fa0
rbx               0xffff80002998ee0f
rdx                                0
rcx               0xffff80003a3b9250
rax               0xffff80002998dff0
r8                 0x101010101010101
r9                0x8080808080808080
r10               0x7131abac7b0c6795
r11               0xbc6c25821d21b295
r12               0xffff80002998ec10
r13                                0
r14                                0
r15                              0x1
rip               0xffffffff823756e5    db_enter+0x25
cs                               0x8
rflags                         0x246
rsp               0xffff80002a361f90
ss                              0x10
db_enter+0x25:  addq    $0x8,%rsp
ddb{1}> show proc
PROC (syz-executor) tid=119553 pid=16386 tcnt=0 stat=onproc
    flags process=18<EXITING,SUGID> proc=2000<WEXIT>
    runpri=32, usrpri=56, slppri=32, nice=20
    wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=1
    forw=0xffffffffffffffff, list=0xffff80002a29f258,0xffff80003a3b8800
    process=0xffff800045fecea0 user=0xffff80002a35d000, vmspace=0xfffff4000ee4dba0
    estcpu=12, cpticks=2, pctcpu=0.0, user=0, sys=0, intr=0
ddb{1}> ps
   PID     TID   PPID   UID  S      PRLAGS     PFLAGS WAIT      COMMAND
 19801  184006  13211     0  3         0x2          0 clonelk   ifconfig
 13211  464804  81387     0  3    0x100002       0x88 sigsusp   sh
 81387   21823   1183     0  3           0       0x80 wait      syz-executor
  1183  457246  10854     0  3         0x2       0x80 wait      syz-executor
  1931   30672  94767 32767  3        0x10       0x80 nanoslp   syz-executor
  1931  118997  94767 32767  3        0x10  0x4000080 fsleep    syz-executor
  1931  369372  94767 32767  3        0x10  0x4000080 fsleep    syz-executor
  1931  498247  94767 32767  3        0x10  0x4000080 kqpoll    syz-executor
 37050  481427  10854     0  3         0x2       0x80 wait      syz-executor
 94767    2428  76937 32767  3        0x10       0x80 nanoslp   syz-executor
 76937  283501  10854     0  3         0x2       0x80 wait      syz-executor
 65034  278958  10854     0  3         0x2       0x80 wait      syz-executor
 37610  130202  10854     0  3         0x2       0x80 wait      syz-executor
 40285  175817  10854     0  3         0x2       0x80 wait      syz-executor
 12006  178962  10854     0  3         0x2       0x80 wait      syz-executor
 61882  382931  10854     0  3         0x2       0x80 wait      syz-executor
 10854  230679  35558     0  3         0x2       0x80 kqread    syz-executor
 35558  100120  41840     0  3    0x100002       0x88 sigsusp   ksh
 41840  514755  98771     0  3        0x10       0x88 kqread    sshd-session
 98771   10497  63272     0  3        0x12       0x80 kqread    sshd-session
 95399  502027      1     0  3    0x100003       0x80 ttyin     getty
 63272  254270      1     0  3           0       0x88 kqread    sshd
 88055   39823  34272    73  3   0x1100010       0x80 kqread    syslogd
 34272  386466      1     0  3    0x100002       0x80 sbwait    syslogd
 24220  427231      1     0  3    0x100000       0x80 kqread    resolvd
 40056  170289  89409    77  3    0x100012       0x80 kqread    dhcpleased
 57160  111868  89409    77  3    0x100012       0x80 kqread    dhcpleased
 89409  188716      1     0  3           0       0x80 kqread    dhcpleased
 34700  444954      0     0  3     0x14000      0x200 bored     smr
 52177  188565      0     0  3     0x14000      0x200 pgzero    zerothread
   774  345405      0     0  3     0x14000      0x200 aiodoned  aiodoned
 58817  334359      0     0  3     0x14000      0x200 syncer    update
 43710  291097      0     0  3     0x14000      0x200 cleaner   cleaner
   637  453884      0     0  3     0x14000      0x200 reaper    reaper
 34061  133635      0     0  3     0x14000      0x200 pgdaemon  pagedaemon
 22558  297586      0     0  3     0x14000      0x200 bored     viomb
 88856  133981      0     0  3     0x14000 0x40000200 acpi0     acpi0
 98517  229556      0     0  3     0x14000 0x40000200           idle1
 43356  286301      0     0  3     0x14000      0x200 bored     softnet1
 63754  220837      0     0  3     0x14000      0x200 bored     softnet0
  6936   21389      0     0  3     0x14000      0x200 smrbar    systqmp
 64662  431692      0     0  3     0x14000      0x200 bored     systq
 41030   41561      0     0  3     0x14000      0x200 tmoslp    softclockmp
 13155  237871      0     0  3     0x14000 0x40000200 tmoslp    softclock
 57097  106961      0     0  7     0x14000 0x40000200           idle0
     1  147891      0     0  3         0x2       0x80 wait      init
     0       0     -1     0  3     0x10000      0x200 scheduler swapper
ddb{1}> show all locks
CPU 1:
exclusive mutex /syzkaller/managers/setuid/kernel/sys/kern/kern_malloc.c:96 r = 0 (0xffffffff839e03b8)
#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  free+0x9f sys/kern/kern_malloc.c:393
#3  rtfree+0x347 sys/net/route.c:641
#4  rt_ifa_purge+0x1a0 sys/net/route.c:1481
#5  in_purgeaddr+0x1d6 sys/netinet/in.c:755
#6  in_ifdetach+0x7e sys/netinet/in.c:1015
#7  if_detach+0x2fe sys/net/if.c:1311
#8  tun_clone_destroy+0x2ce sys/net/if_tun.c:343
#9  if_clone_destroy+0x205 sys/net/if.c:1479
#10 tun_dev_close+0x1d9 sys/net/if_tun.c:526
#11 spec_close+0x417 sys/kern/spec_vnops.c:-1
#12 VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156
#13 vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:298 [inline]
#13 vn_closefile+0x12b sys/kern/vfs_vnops.c:621
#14 fdrop+0x121 sys/kern/kern_descrip.c:1281
#15 closef+0x192 sys/kern/kern_descrip.c:1265
#16 fdfree+0x116 sys/kern/kern_descrip.c:1196
#17 exit1+0x595 sys/kern/kern_exit.c:215
#18 sys_exit+0x1a sys/kern/kern_exit.c:-1
Process 6936 (systqmp) thread 0xffff800045ffe530 (21389)
shared rwlock systqmp r = 0 (0xffffffff83913e28)
#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 11046  12016K   12034K 166960K     12165        0
            pcb    17     12K      12K 166960K        17        0
         rtable   211      6K       7K 166960K       596        0
             pf    29     16K      16K 166960K        47        0
         ifaddr    38      6K       7K 166960K        78        0
        ifgroup    46      2K       2K 166960K        82        0
         sysctl     4      1K       9K 166960K         8        0
       counters    68     36K      37K 166960K        86        0
       ioctlops     0      0K       2K 166960K        40        0
            iov     0      0K       2K 166960K         5        0
          mount     1      1K       1K 166960K         1        0
            log     0      0K       0K 166960K         4        0
         vnodes  1287     81K      81K 166960K      1443        0
      UFS quota     1     32K      32K 166960K         1        0
      UFS mount     5     36K      36K 166960K         5        0
            shm     2      1K       5K 166960K         3        0
         VM map     2      1K       1K 166960K         2        0
            sem    12      1K       1K 166960K        14        0
        dirhash    12      2K       2K 166960K        12        0
           ACPI  1692    195K     286K 166960K     12470        0
      file desc    21     77K     129K 166960K       384        0
          sigio     0      0K       0K 166960K         6        0
           proc    65    115K     147K 166960K       756        0
        subproc    72      4K       4K 166960K       153        0
    NFS srvsock     1      0K       0K 166960K         1        0
     NFS daemon     1     16K      16K 166960K         1        0
    ip_moptions     0      0K       0K 166960K        24        0
       in_multi    88      5K       6K 166960K       199        0
    ether_multi     1      0K       0K 166960K         4        0
            mrt     1      0K       0K 166960K         6        0
    ISOFS mount     1     32K      32K 166960K         1        0
  MSDOSFS mount     1     16K      16K 166960K         1        0
           ttys    61    281K     281K 166960K        61        0
           exec     0      0K       1K 166960K       479        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   210    168K     188K 166960K      4603        0
       UVM aobj   109      3K       3K 166960K       109        0
     pinsyscall    42     84K     114K 166960K      1696        0
        memdesc     1      4K       4K 166960K         1        0
    crypto data     1      1K       1K 166960K         1        0
    ip6_options     0      0K       0K 166960K         6        0
            NDP    14      0K       2K 166960K        51        0
           temp    40   9127K    9147K 166960K      4602        0
         kqueue    13     20K      26K 166960K        43        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       59    0       56     1     0     1     1     0     8    0
rtentry    176      200    0      103     6     0     6     6     0     8    0
unpcb      144      147    0      131     2     0     2     2     0     8    1
syncache   336        9    0        9     1     0     1     1     0     8    1
tcpqe       32        1    0        1     1     0     1     1     0     8    1
tcpcb      736       57    0       52     1     0     1     1     0     8    0
arp        136       34    0       20     1     0     1     1     0     8    0
inpcb      328      209    0      200     2     0     2     2     0     8    0
nd6        152       49    0       27     1     0     1     1     0     8    0
kcovpl      48       17    0        9     1     0     1     1     0     8    0
art_heap8  4096       1    0        0     1     0     1     1     0     8    0
art_heap4  256      810    0      396    29     0    29    29     0     8    1
art_table   40      811    0      396     5     0     5     5     0     8    0
art_node    32      200    0      109     1     0     1     1     0     8    0
sysvmsgpl   40        4    0        4     1     0     1     1     0     8    1
semupl     112        1    0        1     1     0     1     1     0     8    1
semapl      72       11    0        1     1     0     1     1     0     8    0
shmpl      120      106    0        0     4     0     4     4     0     8    0
dirhash    1024      17    0        0     3     0     3     3     0     8    0
dino2pl    256     1726    0      237    94     0    94    94     0     8    0
ffsino     296     1726    0      237   115     0   115   115     0     8    0
nchpl      144     2077    0      354    64     0    64    64     0     8    0
vnodes     216     1888    0        0   105     0   105   105     0     8    0
namei      1024    8042    0     8042     4     1     3     3     0     8    3
percpumem   16       59    0        9     1     0     1     1     0     8    0
kstatmem   264       41    0       18     2     0     2     2     0     8    0
scxspl     216     6874    0     6874     6     3     3     3     1     8    3
plimitpl   152      170    0      143     2     0     2     2     0     8    0
sigapl     424      661    0      612     7     0     7     7     0     8    0
knotepl    120      312    0        0    10     0    10    10     0     8    0
kqueuepl   224       50    0       39     1     0     1     1     0     8    0
pipepl     344      158    0      131     3     0     3     3     0     8    0
fdescpl    528      645    0      612     4     0     4     4     0     8    0
filepl     160     2339    0     2134    11     0    11    11     0     8    1
lockfpl    104       27    0       25     1     0     1     1     0     8    0
lockfspl    48       14    0       12     1     0     1     1     0     8    0
sessionpl  144       39    0       22     1     0     1     1     0     8    0
pgrppl      48       56    0       31     1     0     1     1     0     8    0
ucredpl    104      287    0      269     1     0     1     1     0     8    0
zombiepl   144      618    0      612     1     0     1     1     0     8    0
processpl  1240     661    0      612     5     0     5     5     0     8    0
procpl     664      874    0      822     7     0     7     7     0     8    0
sosppl     176        1    0        1     1     0     1     1     0     8    1
sockpl     752      416    0      388     7     0     7     7     0     8    3
mcl64k     65536      1    0        0     1     0     1     1     0     8    0
mcl8k      8192       2    0        0     1     0     1     1     0     8    0
mcl4k      4096     119    0        0    15     0    15    15     0     8    0
mcl2k      2048      24    0        0     3     0     3     3     0     8    0
mextrefs    64       23    0        0     1     0     1     1     0     8    0
mtagpl      96        3    0        0     1     0     1     1     0     8    0
mbufpl     256      253    0        0    16     0    16    16     0     8    0
bufpl      272     2432    0      105   156     0   156   156     0     8    0
anonpl      32     5157    0        0    42     0    42    42     0   247    0
amapchunkpl 152   12904    0    12489    30     0    30    30     0   158    5
amappl16   200     1403    0     1389     6     2     4     4     0     8    2
amappl15   192        5    0        4     1     0     1     1     0     8    0
amappl14   184      524    0      522     1     0     1     1     0     8    0
amappl13   176      140    0      130     1     0     1     1     0     8    0
amappl12   168      909    0      879     2     0     2     2     0     8    0
amappl11   160        5    0        5     1     1     0     1     0     8    0
amappl10   152       58    0       48     1     0     1     1     0     8    0
amappl9    144      293    0      293     1     1     0     1     0     8    0
amappl8    136      124    0      122     1     0     1     1     0     8    0
amappl7    128      174    0      163     1     0     1     1     0     8    0
amappl6    120      250    0      247     1     0     1     1     0     8    0
amappl5    112      110    0      103     1     0     1     1     0     8    0
amappl4    104      296    0      282     1     0     1     1     0     8    0
amappl3     96     2340    0     2262     4     1     3     3     0     8    0
amappl2     88      763    0      692     2     0     2     2     0     8    0
amappl1     80    13041    0    12478    16     0    16    16     0     8    1
amappl      88     3739    0     3594     5     0     5     5     0    92    0
uvmvnodes   80      101    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      108    0        0     2     0     2     2     0     8    0
uaddrrnd    24      645    0      612     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24      645    0      612     1     0     1     1     0     8    0
vmmpekpl   168     7597    0     7546     3     0     3     3     0     8    0
vmmpepl    168    51896    0    50125    99     0    99    99     0   357    6
vmsppl     488      644    0      612     7     1     6     6     0     8    0
rwobjpl     80    17985    0    16968    26     0    26    26     0     8    0
pdppl      4096    1298    0     1224   118    28    90   100     0     8   16
pvpl        32    12673    0        0   103     0   103   103     0   265    0
pmappl     256      644    0      612     4     1     3     3     0     8    0
extentpl    40       45    0       27     1     0     1     1     0     8    0
phpool     112      450    0       32    12     0    12    12     0     8    0
ddb{1}> machine ddbcpu 0
Stopped at      x86_ipi_db+0x27:        addq    $0x8,%rsp
x86_ipi_db(ffffffff8398cff0) 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
acpicpu_idle() at acpicpu_idle+0x457 sys/dev/acpi/acpicpu_x86.c:1224
sched_idle(ffffffff8398cff0) at sched_idle+0x371 sys/kern/kern_sched.c:192
end trace frame: 0x0, count: 10
ddb{0}> trace
x86_ipi_db(ffffffff8398cff0) 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
acpicpu_idle() at acpicpu_idle+0x457 sys/dev/acpi/acpicpu_x86.c:1224
sched_idle(ffffffff8398cff0) at sched_idle+0x371 sys/kern/kern_sched.c:192
end trace frame: 0x0, count: -5
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(ffffffff8352d710) at panic+0x1e5 sys/kern/subr_prf.c:198
free(ffff8000016248d0,5,100) at free+0x690 sys/kern/kern_malloc.c:387
rtfree(fffff4006c6b3c88) at rtfree+0x347 sys/net/route.c:641
rt_ifa_purge(ffff800001614300) at rt_ifa_purge+0x1a0 sys/net/route.c:1481
in_purgeaddr(ffff800001614300) at in_purgeaddr+0x1d6 sys/netinet/in.c:755
in_ifdetach(ffff80000160f000) at in_ifdetach+0x7e sys/netinet/in.c:1015
if_detach(ffff80000160f000) at if_detach+0x2fe sys/net/if.c:1311
tun_clone_destroy(ffff80000160f000) at tun_clone_destroy+0x2ce sys/net/if_tun.c:343
if_clone_destroy(ffff80002a362340) at if_clone_destroy+0x205 sys/net/if.c:1479
tun_dev_close(5d00,7) at tun_dev_close+0x1d9 sys/net/if_tun.c:526
spec_close(ffff80002a362400) at spec_close+0x417 sys/kern/spec_vnops.c:-1
VOP_CLOSE(fffff4006e282b20,7,fffff400097fd6e8,ffff80003a3b9250) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156
vn_closefile(fffff4007d248c98,ffff80003a3b9250) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:298 [inline]
vn_closefile(fffff4007d248c98,ffff80003a3b9250) at vn_closefile+0x12b sys/kern/vfs_vnops.c:621
end trace frame: 0xffff80002a362520, count: 0
ddb{1}> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff8352d710) at panic+0x1e5 sys/kern/subr_prf.c:198
free(ffff8000016248d0,5,100) at free+0x690 sys/kern/kern_malloc.c:387
rtfree(fffff4006c6b3c88) at rtfree+0x347 sys/net/route.c:641
rt_ifa_purge(ffff800001614300) at rt_ifa_purge+0x1a0 sys/net/route.c:1481
in_purgeaddr(ffff800001614300) at in_purgeaddr+0x1d6 sys/netinet/in.c:755
in_ifdetach(ffff80000160f000) at in_ifdetach+0x7e sys/netinet/in.c:1015
if_detach(ffff80000160f000) at if_detach+0x2fe sys/net/if.c:1311
tun_clone_destroy(ffff80000160f000) at tun_clone_destroy+0x2ce sys/net/if_tun.c:343
if_clone_destroy(ffff80002a362340) at if_clone_destroy+0x205 sys/net/if.c:1479
tun_dev_close(5d00,7) at tun_dev_close+0x1d9 sys/net/if_tun.c:526
spec_close(ffff80002a362400) at spec_close+0x417 sys/kern/spec_vnops.c:-1
VOP_CLOSE(fffff4006e282b20,7,fffff400097fd6e8,ffff80003a3b9250) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156
vn_closefile(fffff4007d248c98,ffff80003a3b9250) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:298 [inline]
vn_closefile(fffff4007d248c98,ffff80003a3b9250) at vn_closefile+0x12b sys/kern/vfs_vnops.c:621
fdrop(fffff4007d248c98,ffff80003a3b9250) at fdrop+0x121 sys/kern/kern_descrip.c:1281
closef(fffff4007d248c98,ffff80003a3b9250) at closef+0x192 sys/kern/kern_descrip.c:1265
fdfree(ffff80003a3b9250) at fdfree+0x116 sys/kern/kern_descrip.c:1196
exit1(ffff80003a3b9250,43,0,1) at exit1+0x595 sys/kern/kern_exit.c:215
sys_exit(ffff80003a3b9250,ffff80002a362770,ffff80002a3626c0) at sys_exit+0x1a sys/kern/kern_exit.c:-1
syscall(ffff80002a362770) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80002a362770) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7cadfee66880, count: -21

Crashes (63):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/10/09 10:12 openbsd 896fef95f254 b2734a59 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: free: size too large NUM > NUM (ADDR) type rtable
2026/10/09 05:20 openbsd 896fef95f254 b2734a59 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: free: size too large NUM > NUM (ADDR) type rtable
2026/10/08 22:39 openbsd e8af851f340b 9d4697fa .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: free: size too large NUM > NUM (ADDR) type rtable
2026/10/08 21:28 openbsd e8af851f340b 9d4697fa .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: free: size too large NUM > NUM (ADDR) type rtable
2026/10/08 19:01 openbsd e8af851f340b 9d4697fa .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: free: size too large NUM > NUM (ADDR) type rtable
2026/10/08 17:50 openbsd e8af851f340b 9d4697fa .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: free: size too large NUM > NUM (ADDR) type rtable
2026/10/07 08:54 openbsd ce063bbc9d61 f7710056 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: free: size too large NUM > NUM (ADDR) type rtable
2026/10/04 10:08 openbsd 1e9f05948cfd 57bbd979 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: free: size too large NUM > NUM (ADDR) type rtable
2026/10/04 08:38 openbsd 1e9f05948cfd 57bbd979 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: free: size too large NUM > NUM (ADDR) type rtable
2026/10/02 11:03 openbsd 3ce1f3f79392 b2bd33ee .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: free: size too large NUM > NUM (ADDR) type rtable
2026/10/01 13:31 openbsd 6318c367a341 52471257 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: free: size too large NUM > NUM (ADDR) type rtable
2026/09/30 20:31 openbsd 4deb6a849f76 38f7f0d1 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: free: size too large NUM > NUM (ADDR) type rtable
2026/09/29 08:25 openbsd 0049b4ffbd56 7bf4ea23 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: free: size too large NUM > NUM (ADDR) type rtable
2026/09/28 01:00 openbsd 95b535d85a6b a3c7249d .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: free: size too large NUM > NUM (ADDR) type rtable
2026/09/27 10:31 openbsd 859e3e974994 a3c7249d .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: free: size too large NUM > NUM (ADDR) type rtable
2026/09/26 17:53 openbsd 3d80b15b1ec6 a3c7249d .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: free: size too large NUM > NUM (ADDR) type rtable
2026/09/23 06:55 openbsd 6c60011d0c8d abce1216 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: free: size too large NUM > NUM (ADDR) type rtable
2026/09/21 04:58 openbsd d42776463e37 853b104b .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: free: size too large NUM > NUM (ADDR) type rtable
2026/09/19 14:26 openbsd a0c91716cd0c 853b104b .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: free: size too large NUM > NUM (ADDR) type rtable
2026/09/18 14:48 openbsd c10aa57bf0a6 853b104b .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: free: size too large NUM > NUM (ADDR) type rtable
2026/09/16 01:25 openbsd bc65308b1c9e 12a0a44a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: free: size too large NUM > NUM (ADDR) type rtable
2026/09/15 10:51 openbsd 811da3150254 81a27d1a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: free: size too large NUM > NUM (ADDR) type rtable
2026/09/15 02:48 openbsd 811da3150254 81a27d1a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: free: size too large NUM > NUM (ADDR) type rtable
2026/09/14 07:18 openbsd 4aaeb84e3a06 70a60e12 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: free: size too large NUM > NUM (ADDR) type rtable
2026/09/14 06:18 openbsd 4aaeb84e3a06 70a60e12 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: free: size too large NUM > NUM (ADDR) type rtable
2026/09/14 05:53 openbsd 4aaeb84e3a06 70a60e12 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: free: size too large NUM > NUM (ADDR) type rtable
2026/09/13 10:09 openbsd efac3ca090c3 70a60e12 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: free: size too large NUM > NUM (ADDR) type rtable
2026/09/12 20:54 openbsd ed62f65fdb3a 70a60e12 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: free: size too large NUM > NUM (ADDR) type rtable
2026/09/10 11:39 openbsd 7de61c62cdcf 4e8b1cc6 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: free: size too large NUM > NUM (ADDR) type rtable
2026/09/08 01:17 openbsd 37bc4758b7e7 680aa3e1 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: free: size too large NUM > NUM (ADDR) type rtable
2026/09/06 21:48 openbsd 2a9cffaa8bc0 4f7b22a0 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: free: size too large NUM > NUM (ADDR) type rtable
2026/09/05 21:44 openbsd 7f2ed87ffadf 4f7b22a0 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: free: size too large NUM > NUM (ADDR) type rtable
2026/09/05 09:48 openbsd a37481e85163 4f7b22a0 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: free: size too large NUM > NUM (ADDR) type rtable
2026/09/04 06:52 openbsd 702f41303f5f 801f0966 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: free: size too large NUM > NUM (ADDR) type rtable
2026/09/04 04:56 openbsd 702f41303f5f 801f0966 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: free: size too large NUM > NUM (ADDR) type rtable
2026/09/03 07:36 openbsd 3eb032007ac4 6a988719 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: free: size too large NUM > NUM (ADDR) type rtable
2026/09/02 23:54 openbsd 3eb032007ac4 6a988719 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: free: size too large NUM > NUM (ADDR) type rtable
2026/09/02 17:56 openbsd 91392fcbf029 74e93e68 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: free: size too large NUM > NUM (ADDR) type rtable
2026/08/31 05:27 openbsd 1bd36cd9ba5c 2f52988a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: free: size too large NUM > NUM (ADDR) type rtable
2026/08/30 19:30 openbsd a0938fbae2a0 2f52988a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: free: size too large NUM > NUM (ADDR) type rtable
2026/08/29 11:12 openbsd e885dbe04d18 2f52988a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: free: size too large NUM > NUM (ADDR) type rtable
2026/08/29 06:37 openbsd e885dbe04d18 2f52988a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: free: size too large NUM > NUM (ADDR) type rtable
2026/08/29 05:02 openbsd e885dbe04d18 2f52988a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: free: size too large NUM > NUM (ADDR) type rtable
2026/08/28 22:26 openbsd 8fb22f705ce6 41d151d4 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: free: size too large NUM > NUM (ADDR) type rtable
2026/08/24 14:47 openbsd 38355159c0bf b55bd4c3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: free: size too large NUM > NUM (ADDR) type rtable
2026/08/22 17:39 openbsd 94b8f25de2d2 1e72964b .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: free: size too large NUM > NUM (ADDR) type rtable
2026/08/22 15:54 openbsd 94b8f25de2d2 1e72964b .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: free: size too large NUM > NUM (ADDR) type rtable
2026/08/22 02:28 openbsd d8ab52b87c98 1e72964b .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: free: size too large NUM > NUM (ADDR) type rtable
2026/08/19 04:28 openbsd aeb4a173c2e6 1e72964b .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: free: size too large NUM > NUM (ADDR) type rtable
2026/08/19 00:22 openbsd aeb4a173c2e6 1e72964b .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: free: size too large NUM > NUM (ADDR) type rtable
2026/08/17 04:35 openbsd 3b8d610e537f 746171ee .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: free: size too large NUM > NUM (ADDR) type rtable
2026/08/12 19:59 openbsd 2610791609b5 ee03bfea .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: free: size too large NUM > NUM (ADDR) type rtable
2026/08/11 23:18 openbsd a47f863e5cb3 f8d35649 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: free: size too large NUM > NUM (ADDR) type rtable
2026/08/08 04:50 openbsd d607cd596f17 5d63f80b .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: free: size too large NUM > NUM (ADDR) type rtable
2026/08/03 13:03 openbsd 8bdaccf9d694 6b7c9f71 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: free: size too large NUM > NUM (ADDR) type rtable
2026/08/02 14:17 openbsd f8480ad0276a e611ffe1 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: free: size too large NUM > NUM (ADDR) type rtable
2026/08/01 07:37 openbsd ec875f0e6c74 e611ffe1 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: free: size too large NUM > NUM (ADDR) type rtable
2026/07/25 22:13 openbsd d6cf5170b77f 492bab15 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: free: size too large NUM > NUM (ADDR) type rtable
2026/07/22 06:01 openbsd e524649e2c66 b561ce9c .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: free: size too large NUM > NUM (ADDR) type rtable
2026/07/20 22:31 openbsd d55fd7dd01df de6a700d .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: free: size too large NUM > NUM (ADDR) type rtable
2026/07/18 05:25 openbsd 97f4e10dc0be 72524a66 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: free: size too large NUM > NUM (ADDR) type rtable
2026/07/15 19:52 openbsd af68cf7bb0f1 a4ed0f4f .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: free: size too large NUM > NUM (ADDR) type rtable
2026/07/15 15:01 openbsd af68cf7bb0f1 a4ed0f4f .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: free: size too large NUM > NUM (ADDR) type rtable
* Struck through repros no longer work on HEAD.