uvm_fault(0xffffffff827b0b88, 0xfffffd000000001c, 0, 1) -> e kernel: page fault trap, code=0 Stopped at m_free+0x58: movswq 0x1c(%r14),%rsi ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic kernel page fault uvm_fault(0xffffffff827b0b88, 0xfffffd000000001c, 0, 1) -> e m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 end trace frame: 0xffff800020ee1300, count: 0 ddb{0}> trace m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 ml_purge(ffff800020ee1318) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800020ee1318) at ml_purge+0x50 sys/kern/uipc_mbuf.c:1628 ifq_purge(ffff800000ac6278) at ifq_purge+0x9a sys/net/ifq.c:462 tun_dev_close(5d00,7) at tun_dev_close+0xc8 sys/net/if_tun.c:460 spec_close(ffff800020ee1440) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806e2b91a8,7,fffffd807f7bf660,ffff800020dddd48) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd80677fa440,ffff800020dddd48) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80677fa440,ffff800020dddd48) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd80677fa440,ffff800020dddd48) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd80677fa440,ffff800020dddd48) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020dddd48) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020dddd48,0,1,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff800020dddd48,1) at postsig+0x4ed sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff800020dddd48,1) at postsig+0x4ed sys/kern/kern_sig.c:1415 userret(ffff800020dddd48) at userret+0x199 sys/kern/kern_sig.c:1872 syscall(ffff800020ee18c0) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff800020ee18c0) at syscall+0x55f sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc1400, count: -15 ddb{0}> show registers rdi 0 rsi 0x5fbb1 acpi_pdirpa+0x4ba19 rbp 0xffff800020ee12c0 rbx 0 rdx 0x5fbb0 acpi_pdirpa+0x4ba18 rcx 0xffffffff82764440 mbstat_boot_boot_cpumem rax 0 r8 0xffffffff82127b87 witness_assert+0x207 r9 0x5 r10 0xa0509631c7f42246 r11 0x99a94f4af8217cc0 r12 0xfffffd8064aebd00 r13 0x2000 __ALIGN_SIZE+0x1000 r14 0xfffffd0000000000 r15 0xfffffd0000000000 rip 0xffffffff81eadbb8 m_free+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800020ee1280 ss 0 m_free+0x58: movswq 0x1c(%r14),%rsi ddb{0}> show proc PROC (syz-executor.0) pid=369638 stat=onproc flags process=a proc=2000 pri=16, usrpri=77, nice=20 forw=0xffffffffffffffff, list=0xffff800020ddcea8,0xffff800020e23d68 process=0xffff800020df1348 user=0xffff800020edc000, vmspace=0xfffffd807f0008a0 estcpu=27, cpticks=1, pctcpu=0.11 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 47802 151288 0 0 3 0x14200 bored sosplice 60042 287742 91043 0 3 0x82 thrsleep syz-fuzzer 60042 174741 91043 0 3 0x4000082 nanosleep syz-fuzzer 60042 66126 91043 0 3 0x4000082 thrsleep syz-fuzzer 60042 307615 91043 0 2 0x4000002 syz-fuzzer 60042 132849 91043 0 3 0x4000082 thrsleep syz-fuzzer 60042 117536 91043 0 3 0x4000082 thrsleep syz-fuzzer 60042 15994 91043 0 3 0x4000082 thrsleep syz-fuzzer 60042 237606 91043 0 3 0x4000082 thrsleep syz-fuzzer 60042 522900 91043 0 7 0x4000002 syz-fuzzer 60042 285265 91043 0 2 0x4000082 syz-fuzzer 91043 15710 30603 0 2 0x10008a ksh 30603 490762 82936 0 2 0x92 sshd 82936 480375 1 0 2 0x80 sshd 10654 292191 4959 74 2 0x100092 pflogd 4959 37398 1 0 2 0x80 pflogd 1912 147824 56642 73 2 0x100010 syslogd 56642 241205 1 0 2 0x100082 syslogd 78406 169506 1 77 3 0x100090 poll dhclient 47289 8869 1 0 3 0x80 poll dhclient 67159 17270 0 0 3 0x14200 bored smr 99144 309036 0 0 2 0x14200 zerothread 54473 445756 0 0 3 0x14200 aiodoned aiodoned 77726 475327 0 0 3 0x14200 syncer update 54567 482855 0 0 3 0x14200 cleaner cleaner 67755 442635 0 0 3 0x14200 reaper reaper 77958 312628 0 0 3 0x14200 pgdaemon pagedaemon 42646 285933 0 0 3 0x14200 bored crynlk 63820 452746 0 0 3 0x14200 bored crypto 1408 249496 0 0 3 0x40014200 acpi0 acpi0 50344 405181 0 0 3 0x40014200 idle1 10789 482246 0 0 3 0x14200 bored softnet 11288 213623 0 0 3 0x14200 bored systqmp 77354 308665 0 0 3 0x14200 bored systq 19003 472813 0 0 3 0x40014200 bored softclock 47654 369103 0 0 3 0x40014200 idle0 1 472841 0 0 2 0x2 init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9541 6432K 7324K 78643K 14353 0 pcb 13 8K 8K 78643K 137 0 rtable 108 5K 8K 78643K 621 0 ifaddr 92 17K 17K 78643K 197 0 counters 43 33K 34K 78643K 65 0 ioctlops 0 0K 4K 78643K 1606 0 iov 0 0K 16K 78643K 94 0 mount 1 1K 1K 78643K 1 0 vnodes 1231 77K 78K 78643K 1954 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 10 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 100 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 4 9K 25K 78643K 1015 0 sigio 0 0K 0K 78643K 59 0 proc 55 51K 83K 78643K 499 0 subproc 14 0K 2K 78643K 34 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 53 0 in_multi 63 3K 3K 78643K 187 0 ether_multi 1 0K 0K 78643K 16 0 mrt 0 0K 0K 78643K 84 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 250 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 119 39K 41K 78643K 4102 0 UVM aobj 20 2K 2K 78643K 26 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 77 0 NDP 15 0K 0K 78643K 43 0 temp 128 3864K 3931K 78643K 11941 0 kqueue 3 4K 16K 78643K 34 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 8 0 0 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 54 0 52 1 0 1 1 0 8 0 rtentry 112 123 0 83 2 0 2 2 0 8 0 unpcb 120 287 0 277 1 0 1 1 0 8 0 syncache 264 7 0 7 2 2 0 1 0 8 0 tcpqe 32 197 0 197 1 1 0 1 0 8 0 tcpcb 544 251 0 247 1 0 1 1 0 8 0 inpcb 296 1500 0 1493 3 1 2 2 0 8 1 rttmr 72 35 0 35 2 2 0 1 0 8 0 nd6 48 26 0 24 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 1 0 1 0 8 0 ppxss 1128 1 0 1 1 1 0 1 0 8 0 pffrag 232 1 0 1 1 1 0 1 0 482 0 pffrnode 88 1 0 1 1 1 0 1 0 8 0 pffrent 40 45 0 45 1 1 0 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 pfrktable 1344 58 0 54 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 53 0 18 1 0 1 1 0 8 0 pfstkey 112 53 0 18 2 0 2 2 0 8 0 pfstate 328 53 0 18 4 0 4 4 0 8 0 pfrule 1360 38 0 28 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 295 0 131 14 2 12 13 0 8 0 art_table 32 296 0 131 2 0 2 2 0 8 0 art_node 16 120 0 82 1 0 1 1 0 8 0 sysvmsgpl 40 15 0 5 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 98 0 88 1 0 1 1 0 8 0 shmpl 112 24 0 6 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2627 0 1220 89 0 89 89 0 8 0 ffsino 272 2627 0 1220 94 0 94 94 0 8 0 nchpl 144 4116 0 2504 60 0 60 60 0 8 0 uvmvnodes 72 3336 0 0 61 0 61 61 0 8 0 vnodes 208 3336 0 0 176 0 176 176 0 8 0 namei 1024 12110 0 12110 2 1 1 1 0 8 1 percpumem 16 43 0 11 1 0 1 1 0 8 0 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 560 7 0 5 1 0 1 1 0 8 0 pfiaddrpl 120 18 0 17 1 0 1 1 0 8 0 scxspl 192 12444 0 12444 10 9 1 7 0 8 1 plimitpl 152 54 0 46 1 0 1 1 0 8 0 sigapl 424 1249 0 1219 4 0 4 4 0 8 0 futexpl 56 13214 0 13214 2 1 1 1 0 8 1 knotepl 112 92 0 73 1 0 1 1 0 8 0 kqueuepl 144 92 0 90 1 0 1 1 0 8 0 pipelkpl 48 208 0 198 1 0 1 1 0 8 0 pipepl 120 416 0 399 2 1 1 2 0 8 0 fdescpl 496 1233 0 1219 3 0 3 3 0 8 0 filepl 152 7058 0 6979 7 2 5 7 0 8 1 lockfpl 104 183 0 182 1 0 1 1 0 8 0 lockfspl 48 62 0 61 1 0 1 1 0 8 0 sessionpl 112 19 0 8 1 0 1 1 0 8 0 pgrppl 48 29 0 18 1 0 1 1 0 8 0 ucredpl 96 415 0 406 1 0 1 1 0 8 0 zombiepl 144 1221 0 1218 1 0 1 1 0 8 0 processpl 984 1249 0 1218 5 0 5 5 0 8 0 procpl 624 3253 0 3213 4 0 4 4 0 8 0 sosppl 128 14 0 14 2 2 0 1 0 8 0 sockpl 400 1848 0 1829 6 2 4 4 0 8 2 mcl64k 65536 16 0 0 2 0 2 2 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 14 0 0 2 0 2 2 0 8 0 mcl9k 9216 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 6 0 0 1 0 1 1 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 174 0 0 21 0 21 21 0 8 0 mtagpl 96 367 0 0 9 0 9 9 0 8 0 mbufpl 256 977 0 0 61 0 61 61 0 8 0 bufpl 280 5216 0 135 363 0 363 363 0 8 0 anonpl 16 109501 0 97732 84 17 67 82 0 124 0 amapchunkpl 152 7056 0 6917 24 16 8 24 0 158 0 amappl16 192 5472 0 4597 56 11 45 56 0 8 0 amappl15 184 9 0 8 2 1 1 1 0 8 0 amappl14 176 27 0 24 1 0 1 1 0 8 0 amappl13 168 30 0 27 1 0 1 1 0 8 0 amappl12 160 11 0 9 2 1 1 1 0 8 0 amappl11 152 543 0 526 1 0 1 1 0 8 0 amappl10 144 20 0 15 1 0 1 1 0 8 0 amappl9 136 888 0 885 1 0 1 1 0 8 0 amappl8 128 875 0 841 2 0 2 2 0 8 0 amappl7 120 126 0 115 1 0 1 1 0 8 0 amappl6 112 499 0 492 1 0 1 1 0 8 0 amappl5 104 1099 0 1084 1 0 1 1 0 8 0 amappl4 96 527 0 501 1 0 1 1 0 8 0 amappl3 88 139 0 132 1 0 1 1 0 8 0 amappl2 80 8711 0 8654 2 0 2 2 0 8 0 amappl1 72 35209 0 34813 24 13 11 18 0 8 1 amappl 80 3533 0 3491 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 25 0 6 1 0 1 1 0 8 0 uaddrrnd 24 1240 0 1224 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1240 0 1224 1 0 1 1 0 8 0 vmmpekpl 168 11985 0 11948 2 0 2 2 0 8 0 vmmpepl 168 152544 0 150674 122 25 97 115 0 357 4 vmsppl 368 1239 0 1224 2 0 2 2 0 8 0 pdppl 4096 2487 0 2450 6 0 6 6 0 8 0 pvpl 32 346168 0 331537 193 29 164 193 0 265 6 pmappl 232 1239 0 1224 3 1 2 2 0 8 1 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 315 0 8 9 0 9 9 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 ml_purge(ffff800020ee1318) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800020ee1318) at ml_purge+0x50 sys/kern/uipc_mbuf.c:1628 ifq_purge(ffff800000ac6278) at ifq_purge+0x9a sys/net/ifq.c:462 tun_dev_close(5d00,7) at tun_dev_close+0xc8 sys/net/if_tun.c:460 spec_close(ffff800020ee1440) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806e2b91a8,7,fffffd807f7bf660,ffff800020dddd48) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd80677fa440,ffff800020dddd48) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80677fa440,ffff800020dddd48) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd80677fa440,ffff800020dddd48) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd80677fa440,ffff800020dddd48) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020dddd48) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020dddd48,0,1,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff800020dddd48,1) at postsig+0x4ed sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff800020dddd48,1) at postsig+0x4ed sys/kern/kern_sig.c:1415 userret(ffff800020dddd48) at userret+0x199 sys/kern/kern_sig.c:1872 syscall(ffff800020ee18c0) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff800020ee18c0) at syscall+0x55f sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc1400, count: -15 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020d70ff0) 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 __sanitizer_cov_trace_cmp4(ce49e,ce49f) at __sanitizer_cov_trace_cmp4+0x62 sys/dev/kcov.c:137 __mp_lock(ffffffff828c9608) at __mp_lock+0x139 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828c9608) at __mp_lock+0x139 sys/kern/kern_lock.c:147 syscall(ffff800020eb3a10) at syscall+0x400 mi_syscall sys/sys/syscall_mi.h:93 [inline] syscall(ffff800020eb3a10) at syscall+0x400 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc0002ab988, count: -7