panic: pool_cache_item_magic_check: mbufpl cpu free list modified: item addr 0xfffffd806f128300+24 0x26f8eafd549a5137!=0x26f8ea7d299b3737 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 120494 65378 0 0 0 0 syz-executor.0 *307095 65378 0 0 0x4000000 1K syz-executor.0 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8240bdef) at panic+0x164 sys/kern/subr_prf.c:218 pool_cache_get(ffffffff828f7de8) at pool_cache_get+0x323 pool_cache_item_magic_check sys/kern/subr_pool.c:1781 [inline] pool_cache_get(ffffffff828f7de8) at pool_cache_get+0x323 sys/kern/subr_pool.c:1884 pool_get(ffffffff828f7de8,2) at pool_get+0x91 sys/kern/subr_pool.c:572 m_gethdr(2,1) at m_gethdr+0x4c sys/kern/uipc_mbuf.c:283 tun_dev_write(5d00,ffff800021ed9b58,ffff800020ece000,2) at tun_dev_write+0x109 sys/net/if_tun.c:846 spec_write(ffff800021ed99a0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e2f7278,ffff800021ed9b58,11,fffffd807f7bf780) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd8067bfc150,ffff800021ed9b58,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800020eb5b48,f0,ffff800021ed9b58,0,ffff800021ed9c40) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020eb5b48,ffff800021ed9bf0,ffff800021ed9c40) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800021ed9cc0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021ed9cc0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x55109e1c570, count: 2 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 0xfffffd806f128300+24 0x26f8eafd549a5137!=0x26f8ea7d299b3737 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8240bdef) at panic+0x164 sys/kern/subr_prf.c:218 pool_cache_get(ffffffff828f7de8) at pool_cache_get+0x323 pool_cache_item_magic_check sys/kern/subr_pool.c:1781 [inline] pool_cache_get(ffffffff828f7de8) at pool_cache_get+0x323 sys/kern/subr_pool.c:1884 pool_get(ffffffff828f7de8,2) at pool_get+0x91 sys/kern/subr_pool.c:572 m_gethdr(2,1) at m_gethdr+0x4c sys/kern/uipc_mbuf.c:283 tun_dev_write(5d00,ffff800021ed9b58,ffff800020ece000,2) at tun_dev_write+0x109 sys/net/if_tun.c:846 spec_write(ffff800021ed99a0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e2f7278,ffff800021ed9b58,11,fffffd807f7bf780) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd8067bfc150,ffff800021ed9b58,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800020eb5b48,f0,ffff800021ed9b58,0,ffff800021ed9c40) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020eb5b48,ffff800021ed9bf0,ffff800021ed9c40) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800021ed9cc0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021ed9cc0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x55109e1c570, count: -13 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800021ed9680 rbx 0xffff800021ed9730 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffff800021ed9640 r9 0xffffffff81c9883f kprintf+0x16f r10 0x1 r11 0x56d9e37b148d0e73 r12 0x3000000008 r13 0xffff800021ed9690 r14 0x100 r15 0x1 rip 0xffffffff81c6ddc8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800021ed9670 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.0) pid=307095 stat=onproc flags process=0 proc=4000000 pri=75, usrpri=75, nice=20 forw=0xffffffffffffffff, list=0xffff800020eb4298,0xffffffff828ed090 process=0xffff800023f72008 user=0xffff800021ed4000, vmspace=0xfffffd807efff170 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 65378 120494 82577 0 7 0 syz-executor.0 *65378 307095 82577 0 7 0x4000000 syz-executor.0 20232 258407 56649 0 3 0x2 biowait syz-executor.1 43173 103032 0 0 3 0x14200 bored sosplice 1844 387217 0 0 3 0x14280 nfsidl nfsio 75373 96848 0 0 3 0x14280 nfsidl nfsio 935 438392 0 0 3 0x14280 nfsidl nfsio 9739 37498 0 0 3 0x14280 nfsidl nfsio 73044 102972 0 0 3 0x14280 nfsidl nfsio 50126 274582 0 0 3 0x14280 nfsidl nfsio 49470 431259 0 0 3 0x14280 nfsidl nfsio 7198 264285 0 0 3 0x14280 nfsidl nfsio 74673 289909 0 0 3 0x14280 nfsidl nfsio 66699 486167 0 0 3 0x14280 nfsidl nfsio 2694 182787 0 0 3 0x14280 nfsidl nfsio 51784 231309 0 0 3 0x14280 nfsidl nfsio 57555 248806 0 0 3 0x14280 nfsidl nfsio 31952 235635 0 0 3 0x14280 nfsidl nfsio 54543 1100 0 0 3 0x14280 nfsidl nfsio 55140 84185 0 0 3 0x14280 nfsidl nfsio 42680 439573 0 0 3 0x14280 nfsidl nfsio 76977 65 0 0 3 0x14280 nfsidl nfsio 57874 143622 0 0 3 0x14280 nfsidl nfsio 37414 185464 0 0 3 0x14280 nfsidl nfsio 82577 38024 56649 0 3 0x82 nanosleep syz-executor.0 56649 249712 20331 0 3 0x82 thrsleep syz-fuzzer 56649 234486 20331 0 3 0x4000082 nanosleep syz-fuzzer 56649 345910 20331 0 3 0x4000082 thrsleep syz-fuzzer 56649 186611 20331 0 3 0x4000082 thrsleep syz-fuzzer 56649 378355 20331 0 3 0x4000082 thrsleep syz-fuzzer 56649 402302 20331 0 3 0x4000082 thrsleep syz-fuzzer 56649 49873 20331 0 3 0x4000082 thrsleep syz-fuzzer 56649 171890 20331 0 3 0x4000082 kqread syz-fuzzer 20331 523602 17591 0 3 0x10008a pause ksh 17591 255398 30841 0 3 0x92 select sshd 46144 262949 1 0 3 0x100083 ttyin getty 30841 176446 1 0 3 0x80 select sshd 53368 78473 92756 74 3 0x100092 bpf pflogd 92756 473028 1 0 3 0x80 netio pflogd 22808 346750 31829 73 3 0x100090 kqread syslogd 31829 266313 1 0 3 0x100082 netio syslogd 46892 468505 1 77 3 0x100090 poll dhclient 35345 65585 1 0 3 0x80 poll dhclient 86555 812 0 0 3 0x14200 bored smr 19007 512493 0 0 2 0x14200 zerothread 48838 71275 0 0 3 0x14200 aiodoned aiodoned 57369 259908 0 0 3 0x14200 syncer update 45820 148102 0 0 3 0x14200 cleaner cleaner 38588 343324 0 0 3 0x14200 reaper reaper 58389 284332 0 0 3 0x14200 pgdaemon pagedaemon 61389 457913 0 0 3 0x14200 bored crynlk 36665 468718 0 0 3 0x14200 bored crypto 2579 484832 0 0 3 0x40014200 acpi0 acpi0 28470 257565 0 0 3 0x40014200 idle1 59027 325228 0 0 3 0x14200 bored softnet 50561 34494 0 0 3 0x14200 bored systqmp 51128 184635 0 0 3 0x14200 bored systq 52427 160512 0 0 3 0x40014200 bored softclock 54053 383927 0 0 3 0x40014200 idle0 1 117849 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 65378 (syz-executor.0) thread 0xffff800020eb5b48 (307095) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff828c5c88) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 vn_write+0x42 sys/kern/vfs_vnops.c:399 #2 dofilewritev+0x1b6 sys/kern/sys_generic.c:365 #3 sys_write+0x83 sys/kern/sys_generic.c:285 #4 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #4 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #5 Xsyscall+0x128 Process 20232 (syz-executor.1) thread 0xffff800020eb5168 (258407) exclusive rrwlock inode r = 0 (0xfffffd80681d11b0) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 rw_enter+0x453 sys/kern/kern_rwlock.c:311 #2 rrw_enter+0x88 sys/kern/kern_rwlock.c:462 #3 ufs_ihashins+0x45 sys/ufs/ufs/ufs_ihash.c:140 #4 ffs_vget+0x13e sys/ufs/ffs/ffs_vfsops.c:1358 #5 ffs_inode_alloc+0x1e2 sys/ufs/ffs/ffs_alloc.c:394 #6 ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1162 #7 VOP_MKDIR+0xc6 sys/kern/vfs_vops.c:450 #8 domkdirat+0x121 sys/kern/vfs_syscalls.c:3051 #9 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #9 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #10 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd80681d1b40) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 rw_enter+0x453 sys/kern/kern_rwlock.c:311 #2 rrw_enter+0x88 sys/kern/kern_rwlock.c:462 #3 VOP_LOCK+0x4b sys/kern/vfs_vops.c:603 #4 vn_lock+0x81 sys/kern/vfs_vnops.c:575 #5 vfs_lookup+0xe6 sys/kern/vfs_lookup.c:419 #6 namei+0x63c sys/kern/vfs_lookup.c:249 #7 domkdirat+0x75 sys/kern/vfs_syscalls.c:3036 #8 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #8 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9492 6653K 7428K 78643K 12177 0 pcb 13 8K 8K 78643K 56 0 rtable 92 4K 6K 78643K 330 0 ifaddr 47 11K 13K 78643K 91 0 sysctl 2 0K 0K 78643K 2 0 counters 41 33K 34K 78643K 51 0 ioctlops 0 0K 4K 78643K 1505 0 iov 0 0K 16K 78643K 14 0 mount 1 1K 1K 78643K 1 0 vnodes 1226 77K 77K 78643K 1659 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 6 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 56 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 9K 25K 78643K 306 0 sigio 0 0K 0K 78643K 4 0 proc 62 63K 83K 78643K 503 0 subproc 16 1K 2K 78643K 51 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 37 0 in_multi 35 2K 2K 78643K 93 0 ether_multi 1 0K 0K 78643K 8 0 mrt 1 0K 0K 78643K 5 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 43 201K 201K 78643K 43 0 exec 0 0K 1K 78643K 241 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 186 20K 46K 78643K 1996 0 UVM aobj 14 2K 2K 78643K 16 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 41 0 NDP 6 0K 0K 78643K 21 0 temp 65 3865K 3935K 78643K 4562 0 kqueue 3 4K 8K 78643K 17 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 8 0 4 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 88 31 0 29 1 0 1 1 0 8 0 rtentry 112 64 0 30 2 0 2 2 0 8 0 unpcb 120 113 0 103 1 0 1 1 0 8 0 syncache 272 5 0 5 2 1 1 1 0 8 1 tcpqe 32 342 0 342 1 1 0 1 0 8 0 tcpcb 592 97 0 93 2 0 2 2 0 8 1 inpcb 296 303 0 296 4 2 2 2 0 8 1 rttmr 72 2 0 2 2 1 1 1 0 8 1 nd6 48 15 0 11 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 ppxss 1136 1 0 1 1 1 0 1 0 8 0 pffrag 232 3 0 3 2 1 1 1 0 482 1 pffrnode 88 3 0 3 2 1 1 1 0 8 1 pffrent 40 6 0 6 2 1 1 1 0 8 1 pfosfp 40 846 0 423 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfrktable 1344 20 0 18 2 1 1 1 0 8 0 pfstitem 24 28 0 9 1 0 1 1 0 8 0 pfstkey 112 28 0 9 1 0 1 1 0 8 0 pfstate 328 28 0 9 2 0 2 2 0 8 0 pfrule 1360 33 0 23 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 253 0 88 14 0 14 14 0 8 1 art_table 32 254 0 88 2 0 2 2 0 8 0 art_node 16 63 0 32 1 0 1 1 0 8 0 sysvmsgpl 40 22 0 14 1 0 1 1 0 8 0 semapl 112 54 0 44 1 0 1 1 0 8 0 shmpl 112 13 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1751 0 346 88 0 88 88 0 8 0 ffsino 272 1751 0 346 95 1 94 94 0 8 0 nchpl 144 2355 0 763 60 0 60 60 0 8 0 uvmvnodes 72 2200 0 0 40 0 40 40 0 8 0 vnodes 208 2200 0 0 116 0 116 116 0 8 0 namei 1024 6765 0 6764 3 2 1 1 0 8 0 percpumem 16 36 0 5 1 0 1 1 0 8 0 vmpool 560 2 0 2 1 1 0 1 0 8 0 pfiaddrpl 120 6 0 6 2 1 1 1 0 8 1 scxspl 200 7027 0 7026 9 8 1 7 0 8 0 plimitpl 152 33 0 25 1 0 1 1 0 8 0 sigapl 424 539 0 487 6 0 6 6 0 8 0 futexpl 56 3939 0 3939 2 1 1 1 0 8 1 knotepl 112 96 0 74 1 0 1 1 0 8 0 kqueuepl 152 23 0 21 1 0 1 1 0 8 0 pipepl 304 116 0 105 4 2 2 2 0 8 1 fdescpl 496 503 0 487 3 0 3 3 0 8 0 filepl 152 2809 0 2724 6 1 5 5 0 8 1 lockfpl 104 77 0 76 1 0 1 1 0 8 0 lockfspl 48 29 0 28 1 0 1 1 0 8 0 sessionpl 120 19 0 9 1 0 1 1 0 8 0 pgrppl 48 19 0 9 1 0 1 1 0 8 0 ucredpl 96 260 0 251 1 0 1 1 0 8 0 zombiepl 144 487 0 487 2 1 1 1 0 8 1 processpl 1008 539 0 487 8 1 7 7 0 8 0 procpl 632 1112 0 1052 7 1 6 6 0 8 1 sosppl 144 2 0 2 1 0 1 1 0 8 1 sockpl 400 451 0 432 7 3 4 4 0 8 2 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl12k 12288 9 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 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 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 181 0 0 22 0 22 22 0 8 0 mtagpl 96 67 0 0 2 0 2 2 0 8 0 mbufpl 256 293 0 0 18 0 18 18 0 8 0 bufpl 280 3890 0 127 269 0 269 269 0 8 0 anonpl 16 70323 0 56643 91 10 81 83 0 124 9 amapchunkpl 152 3452 0 3134 32 0 32 32 0 158 17 amappl16 192 2122 0 1328 49 8 41 48 0 8 1 amappl15 184 33 0 30 1 0 1 1 0 8 0 amappl14 176 14 0 10 1 0 1 1 0 8 0 amappl13 168 174 0 168 1 0 1 1 0 8 0 amappl12 160 154 0 148 1 0 1 1 0 8 0 amappl11 152 68 0 53 1 0 1 1 0 8 0 amappl10 144 48 0 46 1 0 1 1 0 8 0 amappl9 136 459 0 457 1 0 1 1 0 8 0 amappl8 128 524 0 450 3 0 3 3 0 8 0 amappl7 120 123 0 111 1 0 1 1 0 8 0 amappl6 112 40 0 28 1 0 1 1 0 8 0 amappl5 104 407 0 389 1 0 1 1 0 8 0 amappl4 96 508 0 475 1 0 1 1 0 8 0 amappl3 88 134 0 126 1 0 1 1 0 8 0 amappl2 80 3177 0 3105 2 0 2 2 0 8 0 amappl1 72 23523 0 23087 24 14 10 18 0 8 0 amappl 80 1427 0 1337 3 0 3 3 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 15 0 2 1 0 1 1 0 8 0 uaddrrnd 24 505 0 489 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 505 0 489 1 0 1 1 0 8 0 vmmpekpl 168 7811 0 7768 4 1 3 3 0 8 0 vmmpepl 168 72570 0 70555 151 26 125 125 0 357 31 vmsppl 368 504 0 489 2 0 2 2 0 8 0 pdppl 4096 1017 0 978 7 1 6 6 0 8 1 pvpl 32 217994 0 201085 208 11 197 197 0 265 27 pmappl 232 504 0 489 2 1 1 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 269 0 11 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff827b8ff0) 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(ffffffff828c5a80) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828c5a80) at __mp_lock+0x127 sys/kern/kern_lock.c:147 intr_handler(ffff8000228daf80,ffff80000004a400) at intr_handler+0x5e sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge17_untramp() at Xintr_ioapic_edge17_untramp+0x19f end of kernel end trace frame: 0x7f7ffffc2230, count: 9 ddb{0}> trace x86_ipi_db(ffffffff827b8ff0) 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(ffffffff828c5a80) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828c5a80) at __mp_lock+0x127 sys/kern/kern_lock.c:147 intr_handler(ffff8000228daf80,ffff80000004a400) at intr_handler+0x5e sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge17_untramp() at Xintr_ioapic_edge17_untramp+0x19f end of kernel end trace frame: 0x7f7ffffc2230, count: -6 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(ffffffff8240bdef) at panic+0x164 sys/kern/subr_prf.c:218 pool_cache_get(ffffffff828f7de8) at pool_cache_get+0x323 pool_cache_item_magic_check sys/kern/subr_pool.c:1781 [inline] pool_cache_get(ffffffff828f7de8) at pool_cache_get+0x323 sys/kern/subr_pool.c:1884 pool_get(ffffffff828f7de8,2) at pool_get+0x91 sys/kern/subr_pool.c:572 m_gethdr(2,1) at m_gethdr+0x4c sys/kern/uipc_mbuf.c:283 tun_dev_write(5d00,ffff800021ed9b58,ffff800020ece000,2) at tun_dev_write+0x109 sys/net/if_tun.c:846 spec_write(ffff800021ed99a0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e2f7278,ffff800021ed9b58,11,fffffd807f7bf780) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd8067bfc150,ffff800021ed9b58,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800020eb5b48,f0,ffff800021ed9b58,0,ffff800021ed9c40) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020eb5b48,ffff800021ed9bf0,ffff800021ed9c40) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800021ed9cc0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021ed9cc0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x55109e1c570, count: 2 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8240bdef) at panic+0x164 sys/kern/subr_prf.c:218 pool_cache_get(ffffffff828f7de8) at pool_cache_get+0x323 pool_cache_item_magic_check sys/kern/subr_pool.c:1781 [inline] pool_cache_get(ffffffff828f7de8) at pool_cache_get+0x323 sys/kern/subr_pool.c:1884 pool_get(ffffffff828f7de8,2) at pool_get+0x91 sys/kern/subr_pool.c:572 m_gethdr(2,1) at m_gethdr+0x4c sys/kern/uipc_mbuf.c:283 tun_dev_write(5d00,ffff800021ed9b58,ffff800020ece000,2) at tun_dev_write+0x109 sys/net/if_tun.c:846 spec_write(ffff800021ed99a0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e2f7278,ffff800021ed9b58,11,fffffd807f7bf780) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd8067bfc150,ffff800021ed9b58,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800020eb5b48,f0,ffff800021ed9b58,0,ffff800021ed9c40) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020eb5b48,ffff800021ed9bf0,ffff800021ed9c40) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800021ed9cc0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021ed9cc0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x55109e1c570, count: -13