panic: free: size too large 100 > 16 (0xffff800000c43ff0) type rtable Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 441230 71202 0 0x10000002 0 1 syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834f1bf1) at panic+0x1e5 sys/kern/subr_prf.c:198 free(ffff800000c43ff0,5,64) at free+0x690 sys/kern/kern_malloc.c:387 rtfree(ffffef806d0768f8) at rtfree+0x367 sys/net/route.c:646 rt_ifa_del(ffff800001602600,800100,ffff800001602668,0) at rt_ifa_del+0x45f sys/net/route.c:-1 in_purgeaddr(ffff800001602600) at in_purgeaddr+0x129 in_remove_prefix sys/netinet/in.c:810 [inline] in_purgeaddr(ffff800001602600) at in_purgeaddr+0x129 in_ifscrub sys/netinet/in.c:636 [inline] in_purgeaddr(ffff800001602600) at in_purgeaddr+0x129 sys/netinet/in.c:751 in_ifdetach(ffff80000160a800) at in_ifdetach+0x7e sys/netinet/in.c:1015 if_detach(ffff80000160a800) at if_detach+0x2fe sys/net/if.c:1311 tun_clone_destroy(ffff80000160a800) at tun_clone_destroy+0x2ce sys/net/if_tun.c:343 if_clone_destroy(ffff80003c405890) at if_clone_destroy+0x205 sys/net/if.c:1479 tun_dev_close(5d07,7) at tun_dev_close+0x1d9 sys/net/if_tun.c:526 spec_close(ffff80003c405950) at spec_close+0x417 sys/kern/spec_vnops.c:-1 VOP_CLOSE(ffffef806e352cd0,7,ffffef80097fd4e0,ffff800045fe7ca8) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(ffffef806d0f9360,ffff800045fe7ca8) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(ffffef806d0f9360,ffff800045fe7ca8) at vn_closefile+0x12b sys/kern/vfs_vnops.c:621 end trace frame: 0xffff80003c405a70, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: free: size too large 100 > 16 (0xffff800000c43ff0) type rtable ddb{0}> show kasan No such command ddb{0}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834f1bf1) at panic+0x1e5 sys/kern/subr_prf.c:198 free(ffff800000c43ff0,5,64) at free+0x690 sys/kern/kern_malloc.c:387 rtfree(ffffef806d0768f8) at rtfree+0x367 sys/net/route.c:646 rt_ifa_del(ffff800001602600,800100,ffff800001602668,0) at rt_ifa_del+0x45f sys/net/route.c:-1 in_purgeaddr(ffff800001602600) at in_purgeaddr+0x129 in_remove_prefix sys/netinet/in.c:810 [inline] in_purgeaddr(ffff800001602600) at in_purgeaddr+0x129 in_ifscrub sys/netinet/in.c:636 [inline] in_purgeaddr(ffff800001602600) at in_purgeaddr+0x129 sys/netinet/in.c:751 in_ifdetach(ffff80000160a800) at in_ifdetach+0x7e sys/netinet/in.c:1015 if_detach(ffff80000160a800) at if_detach+0x2fe sys/net/if.c:1311 tun_clone_destroy(ffff80000160a800) at tun_clone_destroy+0x2ce sys/net/if_tun.c:343 if_clone_destroy(ffff80003c405890) at if_clone_destroy+0x205 sys/net/if.c:1479 tun_dev_close(5d07,7) at tun_dev_close+0x1d9 sys/net/if_tun.c:526 spec_close(ffff80003c405950) at spec_close+0x417 sys/kern/spec_vnops.c:-1 VOP_CLOSE(ffffef806e352cd0,7,ffffef80097fd4e0,ffff800045fe7ca8) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(ffffef806d0f9360,ffff800045fe7ca8) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(ffffef806d0f9360,ffff800045fe7ca8) at vn_closefile+0x12b sys/kern/vfs_vnops.c:621 fdrop(ffffef806d0f9360,ffff800045fe7ca8) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(ffffef806d0f9360,ffff800045fe7ca8) at closef+0x192 sys/kern/kern_descrip.c:1265 fdfree(ffff800045fe7ca8) at fdfree+0x116 sys/kern/kern_descrip.c:1196 exit1(ffff800045fe7ca8,0,0,1) at exit1+0x595 sys/kern/kern_exit.c:215 sys_exit(ffff800045fe7ca8,ffff80003c405cc0,ffff80003c405c10) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c405cc0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c405cc0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f6ece7d0dd0, count: -21 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80003c4053f0 rbx 0xffffffff83998e07 cpu_info_full_primary+0x2e07 rdx 0 rcx 0xffff800045fe7ca8 rax 0xffffffff83997ff0 cpu_info_full_primary+0x1ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x1269669c62c076ca r11 0xca087dba25fd2488 r12 0xffffffff83998c08 cpu_info_full_primary+0x2c08 r13 0 r14 0 r15 0x1 rip 0xffffffff82331b75 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80003c4053e0 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor) tid=84022 pid=99674 tcnt=0 stat=onproc flags process=1018 proc=2000 runpri=32, usrpri=73, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff800045fe7ca8 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff800045ffd9f8,0xffff800045fe6a90 process=0xffff80003c3cce90 user=0xffff80003c400000, vmspace=0xffffef806d17a400 estcpu=23, cpticks=1, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 51064 258303 68322 0 3 0x2 0 clonelk ifconfig 68322 247740 2368 0 3 0x100002 0x88 sigsusp sh 2368 40971 86277 0 3 0 0x80 wait syz-executor 26046 397230 6149 0 3 0x2 0 clonelk ifconfig 6149 88717 74371 0 3 0x100002 0x88 sigsusp sh 74371 478542 96161 0 3 0 0x80 wait syz-executor 96161 51994 71202 0 3 0x2 0x80 wait syz-executor 86277 287006 71202 0 3 0x2 0x80 wait syz-executor 61986 466682 85258 0 3 0x2 0 clonelk ifconfig 8077 377861 99361 0 3 0x2 0 clonelk ifconfig 85258 94171 26064 0 3 0x100002 0x88 sigsusp sh 99361 255115 88673 0 3 0x100002 0x88 sigsusp sh 26064 484864 2535 0 3 0 0x80 wait syz-executor 88673 79815 3818 0 3 0 0x80 wait syz-executor 21528 288372 6038 0 3 0x2 0 clonelk ifconfig 6038 454088 57387 0 3 0x100002 0x88 sigsusp sh 92759 140361 35616 0 3 0x2 0 clonelk ifconfig 35616 107184 82285 0 3 0x100002 0x88 sigsusp sh 57387 423443 46345 0 3 0 0x80 wait syz-executor 82285 469180 5294 0 3 0 0x80 wait syz-executor 2535 279698 71202 0 3 0x2 0x80 wait syz-executor 3818 102915 71202 0 3 0x2 0x80 wait syz-executor 5294 15590 71202 0 3 0x2 0x80 wait syz-executor 46345 324979 71202 0 3 0x2 0x80 wait syz-executor 71202 441230 97662 0 7 0x10000002 0 syz-executor 97662 230820 51789 0 3 0x100002 0x88 sigsusp ksh 51789 63150 16284 0 3 0x10 0x88 kqread sshd-session 16284 379788 71485 0 3 0x12 0x80 kqread sshd-session 87414 133811 1 0 3 0x100003 0x80 ttyin getty 71485 307867 1 0 3 0 0x88 kqread sshd 35340 304793 40942 73 3 0x1100010 0x80 kqread syslogd 40942 245145 1 0 3 0x100002 0x80 sbwait syslogd 52582 86312 1 0 3 0x100000 0x80 kqread resolvd 71475 459863 22739 77 3 0x100012 0x80 kqread dhcpleased 91115 296416 22739 77 3 0x100012 0x80 kqread dhcpleased 22739 33034 1 0 3 0 0x80 kqread dhcpleased 5 9309 0 0 3 0x14000 0x200 bored smr 56947 296399 0 0 3 0x14000 0x200 pgzero zerothread 51723 23275 0 0 3 0x14000 0x200 aiodoned aiodoned 59704 90910 0 0 3 0x14000 0x200 syncer update 21623 271842 0 0 3 0x14000 0x200 cleaner cleaner 63604 164942 0 0 3 0x14000 0x200 reaper reaper 83055 7273 0 0 3 0x14000 0x200 pgdaemon pagedaemon 6858 34767 0 0 3 0x14000 0x200 bored viomb 99781 315517 0 0 3 0x14000 0x40000200 acpi0 acpi0 16369 388108 0 0 3 0x14000 0x40000200 idle1 82775 472784 0 0 3 0x14000 0x200 bored softnet1 32096 230889 0 0 3 0x14000 0x200 bored softnet0 46182 135248 0 0 3 0x14000 0x200 smrbar systqmp 30417 407316 0 0 3 0x14000 0x200 bored systq 59119 191188 0 0 3 0x14000 0x200 tmoslp softclockmp 29328 437198 0 0 3 0x14000 0x40000200 tmoslp softclock 89620 263489 0 0 3 0x14000 0x40000200 idle0 1 335960 0 0 3 0x2 0x80 wait init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb{0}> show all locks CPU 0: exclusive mutex /syzkaller/managers/setuid/kernel/sys/kern/kern_malloc.c:96 r = 0 (0xffffffff83901da8) #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+0x367 sys/net/route.c:646 #4 rt_ifa_del+0x45f sys/net/route.c:-1 #5 in_purgeaddr+0x129 in_remove_prefix sys/netinet/in.c:810 [inline] #5 in_purgeaddr+0x129 in_ifscrub sys/netinet/in.c:636 [inline] #5 in_purgeaddr+0x129 sys/netinet/in.c:751 #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 46182 (systqmp) thread 0xffff800045ffe530 (135248) shared rwlock systqmp r = 0 (0xffffffff839d80d8) #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{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11059 12006K 12034K 166960K 12177 0 pcb 17 12K 12K 166960K 17 0 rtable 82 2K 7K 166960K 391 0 pf 17 14K 16K 166960K 33 0 ifaddr 14 2K 7K 166960K 48 0 ifgroup 22 1K 2K 166960K 54 0 sysctl 2 1K 9K 166960K 6 0 counters 56 35K 37K 166960K 72 0 ioctlops 0 0K 4K 166960K 32 0 iov 0 0K 12K 166960K 6 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1336 84K 84K 166960K 1732 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 4 0 VM map 2 1K 1K 166960K 2 0 sem 12 1K 1K 166960K 17 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 27 101K 129K 166960K 483 0 sigio 0 0K 0K 166960K 3 0 proc 100 196K 212K 166960K 580 0 subproc 63 3K 7K 166960K 441 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 36 0 in_multi 22 1K 6K 166960K 115 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 4 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 247 1102K 1102K 166960K 247 0 exec 0 0K 1K 166960K 436 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 198 147K 219K 166960K 4983 0 UVM aobj 41 4K 4K 166960K 42 0 pinsyscall 48 96K 110K 166960K 1633 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 24 0 NDP 4 0K 2K 166960K 30 0 temp 33 9114K 9120K 166960K 5081 0 kqueue 13 20K 27K 166960K 51 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> 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 45 0 42 1 0 1 1 0 8 0 rtentry 176 125 0 92 6 0 6 6 0 8 2 unpcb 144 153 0 138 2 0 2 2 0 8 1 syncache 336 8 0 8 1 0 1 1 0 8 1 tcpcb 736 82 0 78 1 0 1 1 0 8 0 arp 136 20 0 16 1 0 1 1 0 8 0 ipq 40 4 0 1 1 0 1 1 0 8 0 ipqe 40 6 0 3 1 0 1 1 0 8 0 inpcb 328 287 0 274 2 0 2 2 0 8 0 ip6q 72 4 0 1 1 0 1 1 0 8 0 ip6af 40 5 0 2 1 0 1 1 0 8 0 nd6 152 30 0 27 2 0 2 2 0 8 1 kcovpl 48 49 0 42 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 513 0 324 29 1 28 29 0 8 11 art_table 40 514 0 324 5 0 5 5 0 8 1 art_node 32 125 0 95 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 2 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 72 14 0 4 1 0 1 1 0 8 0 shmpl 112 39 0 1 2 0 2 2 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 1835 0 323 95 0 95 95 0 8 0 ffsino 296 1835 0 323 117 0 117 117 0 8 0 nchpl 144 2242 0 501 65 0 65 65 0 8 0 vnodes 216 2285 0 0 127 0 127 127 0 8 0 namei 1024 7491 0 7491 2 0 2 2 0 8 2 percpumem 16 52 0 8 1 0 1 1 0 8 0 kstatmem 264 27 0 16 2 0 2 2 0 8 0 scxspl 216 8301 0 8301 11 3 8 8 1 8 8 plimitpl 152 139 0 116 2 0 2 2 0 8 0 sigapl 424 696 0 640 7 0 7 7 0 8 0 knotepl 120 330 0 0 10 0 10 10 0 8 0 kqueuepl 224 158 0 149 1 0 1 1 0 8 0 pipepl 344 265 0 238 4 0 4 4 0 8 0 fdescpl 528 680 0 641 4 0 4 4 0 8 0 filepl 160 3131 0 2944 13 0 13 13 0 8 2 lockfpl 104 44 0 42 1 0 1 1 0 8 0 lockfspl 48 19 0 17 1 0 1 1 0 8 0 sessionpl 144 201 0 186 1 0 1 1 0 8 0 pgrppl 48 256 0 234 1 0 1 1 0 8 0 ucredpl 104 440 0 428 1 0 1 1 0 8 0 zombiepl 144 642 0 640 1 0 1 1 0 8 0 processpl 1232 696 0 640 5 0 5 5 0 8 0 procpl 664 954 0 898 6 0 6 6 0 8 0 sockpl 752 488 0 457 5 0 5 5 0 8 1 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 1 0 0 1 0 1 1 0 8 0 mcl4k 4096 131 0 0 17 0 17 17 0 8 0 mcl2k 2048 36 0 0 5 0 5 5 0 8 0 mextrefs 64 34 0 0 1 0 1 1 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 1239 0 0 78 0 78 78 0 8 0 bufpl 272 2728 0 102 176 0 176 176 0 8 0 anonpl 32 7679 0 0 62 0 62 62 0 247 0 amapchunkpl 152 14789 0 14434 31 0 31 31 0 158 7 amappl16 200 1982 0 1973 5 2 3 5 0 8 1 amappl15 192 3 0 3 1 1 0 1 0 8 0 amappl14 184 452 0 445 1 0 1 1 0 8 0 amappl13 176 133 0 123 1 0 1 1 0 8 0 amappl12 168 937 0 911 2 0 2 2 0 8 0 amappl11 160 31 0 31 1 1 0 1 0 8 0 amappl10 152 55 0 45 1 0 1 1 0 8 0 amappl9 144 276 0 276 1 1 0 1 0 8 0 amappl8 136 124 0 117 1 0 1 1 0 8 0 amappl7 128 160 0 149 1 0 1 1 0 8 0 amappl6 120 175 0 162 1 0 1 1 0 8 0 amappl5 112 102 0 94 1 0 1 1 0 8 0 amappl4 104 277 0 261 1 0 1 1 0 8 0 amappl3 96 2744 0 2662 5 1 4 4 0 8 1 amappl2 88 570 0 510 2 0 2 2 0 8 0 amappl1 80 12852 0 12258 16 0 16 16 0 8 2 amappl 88 4194 0 4062 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 41 0 1 1 0 1 1 0 8 0 uaddrrnd 24 680 0 641 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 680 0 641 1 0 1 1 0 8 0 vmmpekpl 168 8719 0 8652 4 0 4 4 0 8 0 vmmpepl 168 54214 0 52405 106 0 106 106 0 357 15 vmsppl 488 679 0 641 7 1 6 6 0 8 0 rwobjpl 80 18293 0 17265 25 0 25 25 0 8 1 pdppl 4096 1367 0 1282 125 26 99 99 0 8 14 pvpl 32 16670 0 0 135 0 135 135 0 265 0 pmappl 256 679 0 641 4 1 3 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 543 0 30 15 0 15 15 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834f1bf1) at panic+0x1e5 sys/kern/subr_prf.c:198 free(ffff800000c43ff0,5,64) at free+0x690 sys/kern/kern_malloc.c:387 rtfree(ffffef806d0768f8) at rtfree+0x367 sys/net/route.c:646 rt_ifa_del(ffff800001602600,800100,ffff800001602668,0) at rt_ifa_del+0x45f sys/net/route.c:-1 in_purgeaddr(ffff800001602600) at in_purgeaddr+0x129 in_remove_prefix sys/netinet/in.c:810 [inline] in_purgeaddr(ffff800001602600) at in_purgeaddr+0x129 in_ifscrub sys/netinet/in.c:636 [inline] in_purgeaddr(ffff800001602600) at in_purgeaddr+0x129 sys/netinet/in.c:751 in_ifdetach(ffff80000160a800) at in_ifdetach+0x7e sys/netinet/in.c:1015 if_detach(ffff80000160a800) at if_detach+0x2fe sys/net/if.c:1311 tun_clone_destroy(ffff80000160a800) at tun_clone_destroy+0x2ce sys/net/if_tun.c:343 if_clone_destroy(ffff80003c405890) at if_clone_destroy+0x205 sys/net/if.c:1479 tun_dev_close(5d07,7) at tun_dev_close+0x1d9 sys/net/if_tun.c:526 spec_close(ffff80003c405950) at spec_close+0x417 sys/kern/spec_vnops.c:-1 VOP_CLOSE(ffffef806e352cd0,7,ffffef80097fd4e0,ffff800045fe7ca8) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(ffffef806d0f9360,ffff800045fe7ca8) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(ffffef806d0f9360,ffff800045fe7ca8) at vn_closefile+0x12b sys/kern/vfs_vnops.c:621 fdrop(ffffef806d0f9360,ffff800045fe7ca8) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(ffffef806d0f9360,ffff800045fe7ca8) at closef+0x192 sys/kern/kern_descrip.c:1265 fdfree(ffff800045fe7ca8) at fdfree+0x116 sys/kern/kern_descrip.c:1196 exit1(ffff800045fe7ca8,0,0,1) at exit1+0x595 sys/kern/kern_exit.c:215 sys_exit(ffff800045fe7ca8,ffff80003c405cc0,ffff80003c405c10) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c405cc0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c405cc0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f6ece7d0dd0, count: -21 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff80002999dff0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2c kd_curproc sys/dev/kcov.c:584 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2c sys/dev/kcov.c:153 __mp_lock(ffffffff83ac4940) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83ac4940) at __mp_lock+0x1a3 sys/kern/kern_lock.c:173 syscall(ffff80002a288820) at syscall+0xaf4 mi_syscall sys/sys/syscall_mi.h:175 [inline] syscall(ffff80002a288820) at syscall+0xaf4 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7bc4bb28ecf0, count: 8 ddb{1}> trace x86_ipi_db(ffff80002999dff0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2c kd_curproc sys/dev/kcov.c:584 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2c sys/dev/kcov.c:153 __mp_lock(ffffffff83ac4940) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83ac4940) at __mp_lock+0x1a3 sys/kern/kern_lock.c:173 syscall(ffff80002a288820) at syscall+0xaf4 mi_syscall sys/sys/syscall_mi.h:175 [inline] syscall(ffff80002a288820) at syscall+0xaf4 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7bc4bb28ecf0, count: -7