panic: pool_cache_item_magic_check: mbufpl cpu free list modified: item addr 0xfffffd8070c08500+24 0x96d49976a73065db!=0x96d499f6d7f0ecdb Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 288800 91812 0 0x2 0x4000000 0 syz-fuzzer db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8240de67) at panic+0x164 sys/kern/subr_prf.c:218 pool_cache_get(ffffffff82936538) at pool_cache_get+0x323 pool_cache_item_magic_check sys/kern/subr_pool.c:1781 [inline] pool_cache_get(ffffffff82936538) at pool_cache_get+0x323 sys/kern/subr_pool.c:1884 pool_get(ffffffff82936538,2) at pool_get+0x91 sys/kern/subr_pool.c:572 m_copyback(fffffd8070c08400,80,20,ffff800000ac36e0,2) at m_copyback+0x4d7 m_get sys/kern/uipc_mbuf.c:250 [inline] m_copyback(fffffd8070c08400,80,20,ffff800000ac36e0,2) at m_copyback+0x4d7 sys/kern/uipc_mbuf.c:790 rtm_msg1(2,ffff800021f0bcf0) at rtm_msg1+0x1b2 sys/net/rtsock.c:1552 rtm_send(fffffd8067c715b8,2,0,0) at rtm_send+0x120 rtm_miss sys/net/rtsock.c:1679 [inline] rtm_send(fffffd8067c715b8,2,0,0) at rtm_send+0x120 sys/net/rtsock.c:1657 rt_ifa_del(ffff800000b22500,200404,ffff800000b22540,0) at rt_ifa_del+0x3bb sys/net/route.c:1192 rt_ifa_dellocal(ffff800000b22500) at rt_ifa_dellocal+0x149 sys/net/route.c:1292 in6_purgeaddr(ffff800000b22500) at in6_purgeaddr+0x114 sys/netinet6/in6.c:922 in6_ifdetach(ffff800000af5800) at in6_ifdetach+0x74 sys/netinet6/in6_ifattach.c:429 if_detach(ffff800000af5800) at if_detach+0x148 sys/net/if.c:1042 tun_clone_destroy(ffff800000af5800) at tun_clone_destroy+0x1e1 sys/net/if_tun.c:326 tun_dev_close(5d00,7) at tun_dev_close+0x160 sys/net/if_tun.c:477 end trace frame: 0xffff800021f0c230, 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 pool_cache_item_magic_check: mbufpl cpu free list modified: item addr 0xfffffd8070c08500+24 0x96d49976a73065db!=0x96d499f6d7f0ecdb ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8240de67) at panic+0x164 sys/kern/subr_prf.c:218 pool_cache_get(ffffffff82936538) at pool_cache_get+0x323 pool_cache_item_magic_check sys/kern/subr_pool.c:1781 [inline] pool_cache_get(ffffffff82936538) at pool_cache_get+0x323 sys/kern/subr_pool.c:1884 pool_get(ffffffff82936538,2) at pool_get+0x91 sys/kern/subr_pool.c:572 m_copyback(fffffd8070c08400,80,20,ffff800000ac36e0,2) at m_copyback+0x4d7 m_get sys/kern/uipc_mbuf.c:250 [inline] m_copyback(fffffd8070c08400,80,20,ffff800000ac36e0,2) at m_copyback+0x4d7 sys/kern/uipc_mbuf.c:790 rtm_msg1(2,ffff800021f0bcf0) at rtm_msg1+0x1b2 sys/net/rtsock.c:1552 rtm_send(fffffd8067c715b8,2,0,0) at rtm_send+0x120 rtm_miss sys/net/rtsock.c:1679 [inline] rtm_send(fffffd8067c715b8,2,0,0) at rtm_send+0x120 sys/net/rtsock.c:1657 rt_ifa_del(ffff800000b22500,200404,ffff800000b22540,0) at rt_ifa_del+0x3bb sys/net/route.c:1192 rt_ifa_dellocal(ffff800000b22500) at rt_ifa_dellocal+0x149 sys/net/route.c:1292 in6_purgeaddr(ffff800000b22500) at in6_purgeaddr+0x114 sys/netinet6/in6.c:922 in6_ifdetach(ffff800000af5800) at in6_ifdetach+0x74 sys/netinet6/in6_ifattach.c:429 if_detach(ffff800000af5800) at if_detach+0x148 sys/net/if.c:1042 tun_clone_destroy(ffff800000af5800) at tun_clone_destroy+0x1e1 sys/net/if_tun.c:326 tun_dev_close(5d00,7) at tun_dev_close+0x160 sys/net/if_tun.c:477 spec_close(ffff800021f0c240) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806edbb418,7,fffffd807f7bf660,ffff800020e37288) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd8067de64d8,ffff800020e37288) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd8067de64d8,ffff800020e37288) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd8067de64d8,ffff800020e37288) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd8067de64d8,ffff800020e37288) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020e37288) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020e37288,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff800020e37288,ffff800021f0c4d0,ffff800021f0c520) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff800021f0c5a0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021f0c5a0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe5900, count: -24 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800021f0b980 rbx 0xffff800021f0ba30 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffff800021f0b940 r9 0xffffffff817bd10f kprintf+0x16f r10 0x1 r11 0x90bd4d84fef7630a r12 0x3000000008 r13 0xffff800021f0b990 r14 0x100 r15 0x1 rip 0xffffffff821dd518 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800021f0b970 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.0) pid=250780 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020e37eb8,0xffffffff828f12a8 process=0xffff800020ebafa0 user=0xffff800021f07000, vmspace=0xfffffd807efff5c0 estcpu=36, cpticks=5, pctcpu=0.0 user=0, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 22951 484312 0 0 3 0x14200 acct acct 98092 124439 1 0 3 0x100083 ttyin getty 32988 77090 91812 0 3 0x82 piperd syz-executor.1 20025 313724 0 0 3 0x14200 bored sosplice 91812 208989 95729 0 3 0x82 thrsleep syz-fuzzer 91812 31653 95729 0 3 0x4000082 nanosleep syz-fuzzer 91812 473015 95729 0 3 0x4000082 thrsleep syz-fuzzer 91812 288800 95729 0 7 0x4000002 syz-fuzzer 91812 278062 95729 0 2 0x4000002 syz-fuzzer 91812 44554 95729 0 3 0x4000082 thrsleep syz-fuzzer 91812 180803 95729 0 3 0x4000082 thrsleep syz-fuzzer 91812 14609 95729 0 3 0x4000082 thrsleep syz-fuzzer 95729 70980 2297 0 3 0x10008a pause ksh 2297 285482 57453 0 3 0x92 select sshd 57453 208045 1 0 3 0x80 select sshd 16795 225539 38822 74 3 0x100092 bpf pflogd 38822 425341 1 0 3 0x80 netio pflogd 35352 403178 53457 73 3 0x100090 kqread syslogd 53457 242967 1 0 3 0x100082 netio syslogd 25707 111646 1 77 2 0x100090 dhclient 52530 359790 1 0 3 0x80 poll dhclient 28978 154421 0 0 3 0x14200 bored smr 5598 178254 0 0 3 0x14200 pgzero zerothread 35994 22942 0 0 3 0x14200 aiodoned aiodoned 59732 2630 0 0 3 0x14200 syncer update 26578 232376 0 0 3 0x14200 cleaner cleaner 81883 319576 0 0 3 0x14200 reaper reaper 66698 349941 0 0 3 0x14200 pgdaemon pagedaemon 14384 320146 0 0 3 0x14200 bored crynlk 43675 99141 0 0 3 0x14200 bored crypto 63473 39064 0 0 3 0x40014200 acpi0 acpi0 26339 1762 0 0 3 0x40014200 idle1 66715 174916 0 0 3 0x14200 bored softnet 48424 501328 0 0 2 0x14200 systqmp 5163 205152 0 0 3 0x14200 bored systq 56906 274298 0 0 3 0x40014200 bored softclock 42375 513194 0 0 3 0x40014200 idle0 1 287321 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9507 6411K 6793K 78643K 11104 0 pcb 13 8K 8K 78643K 75 0 rtable 107 9K 9K 78643K 520 0 ifaddr 72 14K 17K 78643K 174 0 counters 43 33K 34K 78643K 65 0 ioctlops 0 0K 4K 78643K 1549 0 iov 0 0K 16K 78643K 32 0 mount 1 1K 1K 78643K 1 0 vnodes 1227 77K 77K 78643K 1442 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 12 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 134 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 4 9K 25K 78643K 552 0 sigio 0 0K 0K 78643K 6 0 proc 61 63K 95K 78643K 597 0 subproc 23 1K 2K 78643K 68 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 42 0 in_multi 51 2K 2K 78643K 133 0 ether_multi 1 0K 0K 78643K 7 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 49 228K 228K 78643K 49 0 exec 0 0K 1K 78643K 274 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 183 27K 29K 78643K 2725 0 UVM aobj 32 4K 4K 78643K 34 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 44 0 NDP 11 0K 0K 78643K 33 0 temp 118 3869K 3933K 78643K 8241 0 kqueue 3 4K 12K 78643K 28 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 10 0 6 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 244 0 242 1 0 1 1 0 8 0 rtentry 112 79 0 47 2 0 2 2 0 8 0 unpcb 120 454 0 444 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 81 0 81 1 1 0 1 0 8 0 tcpcb 544 508 0 504 6 4 2 3 0 8 1 inpcb 296 1017 0 1010 3 1 2 2 0 8 1 nd6 48 19 0 13 1 0 1 1 0 8 0 pkpcb 40 10 0 10 1 1 0 1 0 8 0 swfcl 56 2 0 0 1 0 1 1 0 8 0 ppxss 1136 3 0 3 2 1 1 1 0 8 1 pffrag 232 3 0 1 1 0 1 1 0 482 0 pffrnode 88 3 0 1 1 0 1 1 0 8 0 pffrent 40 49 0 47 1 0 1 1 0 8 0 pfosfp 40 846 0 423 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfrke_plain 160 31 0 30 1 0 1 1 0 8 0 pfrktable 1344 69 0 58 3 1 2 2 0 8 1 pfstitem 24 50 0 20 1 0 1 1 0 8 0 pfstkey 112 50 0 20 2 0 2 2 0 8 0 pfstate 328 50 0 20 3 0 3 3 0 8 0 pfrule 1360 34 0 26 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 315 0 167 13 2 11 13 0 8 0 art_table 32 316 0 167 2 0 2 2 0 8 0 art_node 16 78 0 48 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 2 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 132 0 122 1 0 1 1 0 8 0 shmpl 112 31 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2073 0 672 89 0 89 89 0 8 0 ffsino 272 2073 0 672 95 0 95 95 0 8 0 nchpl 144 2979 0 1393 60 0 60 60 0 8 0 uvmvnodes 72 2269 0 0 42 0 42 42 0 8 0 vnodes 208 2269 0 0 120 0 120 120 0 8 0 namei 1024 8427 0 8427 2 1 1 1 0 8 1 percpumem 16 43 0 11 1 0 1 1 0 8 0 vmpool 560 2 0 2 1 0 1 1 0 8 1 pfiaddrpl 120 26 0 14 2 1 1 1 0 8 0 scxspl 192 8897 0 8897 8 7 1 7 0 8 1 plimitpl 152 55 0 47 1 0 1 1 0 8 0 sigapl 424 765 0 733 4 0 4 4 0 8 0 futexpl 56 7829 0 7829 2 1 1 1 0 8 1 knotepl 112 118 0 104 1 0 1 1 0 8 0 kqueuepl 144 64 0 61 1 0 1 1 0 8 0 pipepl 304 146 0 138 2 0 2 2 0 8 0 fdescpl 496 748 0 733 3 0 3 3 0 8 0 filepl 152 4655 0 4568 6 1 5 6 0 8 1 lockfpl 104 116 0 115 1 0 1 1 0 8 0 lockfspl 48 42 0 41 1 0 1 1 0 8 0 sessionpl 112 22 0 11 1 0 1 1 0 8 0 pgrppl 48 28 0 17 1 0 1 1 0 8 0 ucredpl 96 516 0 507 1 0 1 1 0 8 0 zombiepl 144 734 0 733 1 0 1 1 0 8 0 processpl 992 765 0 733 5 0 5 5 0 8 0 procpl 624 1788 0 1749 4 0 4 4 0 8 0 sosppl 128 2 0 2 1 1 0 1 0 8 0 sockpl 400 1727 0 1708 6 2 4 4 0 8 2 mcl64k 65536 8 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 6 0 0 1 0 1 1 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 201 0 0 25 1 24 25 0 8 0 mtagpl 96 25 0 0 1 0 1 1 0 8 0 mbufpl 256 347 0 0 19 0 19 19 0 8 0 bufpl 280 4304 0 127 299 0 299 299 0 8 0 anonpl 16 90460 0 71549 80 3 77 78 0 124 0 amapchunkpl 152 4220 0 3912 18 5 13 17 0 158 0 amappl16 192 2830 0 1954 45 0 45 45 0 8 0 amappl15 184 268 0 265 1 0 1 1 0 8 0 amappl14 176 13 0 10 1 0 1 1 0 8 0 amappl13 168 42 0 39 1 0 1 1 0 8 0 amappl12 160 161 0 154 1 0 1 1 0 8 0 amappl11 152 76 0 60 1 0 1 1 0 8 0 amappl10 144 283 0 275 1 0 1 1 0 8 0 amappl9 136 452 0 451 1 0 1 1 0 8 0 amappl8 128 524 0 460 4 1 3 3 0 8 0 amappl7 120 132 0 119 1 0 1 1 0 8 0 amappl6 112 41 0 32 1 0 1 1 0 8 0 amappl5 104 771 0 754 1 0 1 1 0 8 0 amappl4 96 538 0 507 1 0 1 1 0 8 0 amappl3 88 137 0 129 1 0 1 1 0 8 0 amappl2 80 5169 0 5098 2 0 2 2 0 8 0 amappl1 72 30931 0 30493 23 13 10 18 0 8 0 amappl 80 2109 0 2031 2 0 2 2 0 84 0 dma4096 4096 1 0 1 1 1 0 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 64 33 0 2 1 0 1 1 0 8 0 uaddrrnd 24 750 0 735 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 750 0 735 1 0 1 1 0 8 0 vmmpekpl 168 9147 0 9108 2 0 2 2 0 8 0 vmmpepl 168 102572 0 100522 149 37 112 130 0 357 18 vmsppl 368 749 0 735 2 0 2 2 0 8 0 pdppl 4096 1507 0 1470 8 2 6 6 0 8 1 pvpl 32 283660 0 261619 194 9 185 186 0 265 5 pmappl 232 749 0 735 2 1 1 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 281 0 15 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff82713ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352 x86_ipi_handler() at x86_ipi_handler+0xc6 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff828ec9f0) at __mp_lock+0x12e __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828ec9f0) at __mp_lock+0x12e sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:89 Xsoftclock() at Xsoftclock+0x1f __mp_lock(ffffffff828ec9f0) at __mp_lock+0x12e __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828ec9f0) at __mp_lock+0x12e sys/kern/kern_lock.c:147 userret(ffff800020e4e600) at userret+0xed sys/kern/kern_sig.c:1872 intr_user_exit() at intr_user_exit+0x3c end of kernel end trace frame: 0xc001538708, count: 6 ddb{0}> trace x86_ipi_db(ffffffff82713ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352 x86_ipi_handler() at x86_ipi_handler+0xc6 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff828ec9f0) at __mp_lock+0x12e __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828ec9f0) at __mp_lock+0x12e sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:89 Xsoftclock() at Xsoftclock+0x1f __mp_lock(ffffffff828ec9f0) at __mp_lock+0x12e __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828ec9f0) at __mp_lock+0x12e sys/kern/kern_lock.c:147 userret(ffff800020e4e600) at userret+0xed sys/kern/kern_sig.c:1872 intr_user_exit() at intr_user_exit+0x3c end of kernel end trace frame: 0xc001538708, count: -9 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x18: addq $0x8,%rsp db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8240de67) at panic+0x164 sys/kern/subr_prf.c:218 pool_cache_get(ffffffff82936538) at pool_cache_get+0x323 pool_cache_item_magic_check sys/kern/subr_pool.c:1781 [inline] pool_cache_get(ffffffff82936538) at pool_cache_get+0x323 sys/kern/subr_pool.c:1884 pool_get(ffffffff82936538,2) at pool_get+0x91 sys/kern/subr_pool.c:572 m_copyback(fffffd8070c08400,80,20,ffff800000ac36e0,2) at m_copyback+0x4d7 m_get sys/kern/uipc_mbuf.c:250 [inline] m_copyback(fffffd8070c08400,80,20,ffff800000ac36e0,2) at m_copyback+0x4d7 sys/kern/uipc_mbuf.c:790 rtm_msg1(2,ffff800021f0bcf0) at rtm_msg1+0x1b2 sys/net/rtsock.c:1552 rtm_send(fffffd8067c715b8,2,0,0) at rtm_send+0x120 rtm_miss sys/net/rtsock.c:1679 [inline] rtm_send(fffffd8067c715b8,2,0,0) at rtm_send+0x120 sys/net/rtsock.c:1657 rt_ifa_del(ffff800000b22500,200404,ffff800000b22540,0) at rt_ifa_del+0x3bb sys/net/route.c:1192 rt_ifa_dellocal(ffff800000b22500) at rt_ifa_dellocal+0x149 sys/net/route.c:1292 in6_purgeaddr(ffff800000b22500) at in6_purgeaddr+0x114 sys/netinet6/in6.c:922 in6_ifdetach(ffff800000af5800) at in6_ifdetach+0x74 sys/netinet6/in6_ifattach.c:429 if_detach(ffff800000af5800) at if_detach+0x148 sys/net/if.c:1042 tun_clone_destroy(ffff800000af5800) at tun_clone_destroy+0x1e1 sys/net/if_tun.c:326 tun_dev_close(5d00,7) at tun_dev_close+0x160 sys/net/if_tun.c:477 end trace frame: 0xffff800021f0c230, count: 0 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8240de67) at panic+0x164 sys/kern/subr_prf.c:218 pool_cache_get(ffffffff82936538) at pool_cache_get+0x323 pool_cache_item_magic_check sys/kern/subr_pool.c:1781 [inline] pool_cache_get(ffffffff82936538) at pool_cache_get+0x323 sys/kern/subr_pool.c:1884 pool_get(ffffffff82936538,2) at pool_get+0x91 sys/kern/subr_pool.c:572 m_copyback(fffffd8070c08400,80,20,ffff800000ac36e0,2) at m_copyback+0x4d7 m_get sys/kern/uipc_mbuf.c:250 [inline] m_copyback(fffffd8070c08400,80,20,ffff800000ac36e0,2) at m_copyback+0x4d7 sys/kern/uipc_mbuf.c:790 rtm_msg1(2,ffff800021f0bcf0) at rtm_msg1+0x1b2 sys/net/rtsock.c:1552 rtm_send(fffffd8067c715b8,2,0,0) at rtm_send+0x120 rtm_miss sys/net/rtsock.c:1679 [inline] rtm_send(fffffd8067c715b8,2,0,0) at rtm_send+0x120 sys/net/rtsock.c:1657 rt_ifa_del(ffff800000b22500,200404,ffff800000b22540,0) at rt_ifa_del+0x3bb sys/net/route.c:1192 rt_ifa_dellocal(ffff800000b22500) at rt_ifa_dellocal+0x149 sys/net/route.c:1292 in6_purgeaddr(ffff800000b22500) at in6_purgeaddr+0x114 sys/netinet6/in6.c:922 in6_ifdetach(ffff800000af5800) at in6_ifdetach+0x74 sys/netinet6/in6_ifattach.c:429 if_detach(ffff800000af5800) at if_detach+0x148 sys/net/if.c:1042 tun_clone_destroy(ffff800000af5800) at tun_clone_destroy+0x1e1 sys/net/if_tun.c:326 tun_dev_close(5d00,7) at tun_dev_close+0x160 sys/net/if_tun.c:477 spec_close(ffff800021f0c240) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806edbb418,7,fffffd807f7bf660,ffff800020e37288) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd8067de64d8,ffff800020e37288) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd8067de64d8,ffff800020e37288) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd8067de64d8,ffff800020e37288) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd8067de64d8,ffff800020e37288) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020e37288) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020e37288,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff800020e37288,ffff800021f0c4d0,ffff800021f0c520) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff800021f0c5a0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021f0c5a0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe5900, count: -24