uvm_fault(0xffffffff82874878, 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(0xffffffff82874878, 0xfffffd000000001c, 0, 1) -> e m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 end trace frame: 0xffff8000230ff9a0, count: 0 ddb{0}> trace m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 ml_purge(ffff8000230ff9b8) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff8000230ff9b8) at ml_purge+0x50 sys/kern/uipc_mbuf.c:1628 ifq_purge(ffff800000af0a78) at ifq_purge+0x9a sys/net/ifq.c:462 tun_dev_close(5d01,7) at tun_dev_close+0xc8 sys/net/if_tun.c:460 spec_close(ffff8000230ffae0) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806ed4d418,7,fffffd807f7bfa80,ffff800020e47878) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd80671f2b60,ffff800020e47878) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80671f2b60,ffff800020e47878) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd80671f2b60,ffff800020e47878) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd80671f2b60,ffff800020e47878) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020e47878) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020e47878,0,19,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff800020e47878,19) at postsig+0x4ed sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff800020e47878,19) at postsig+0x4ed sys/kern/kern_sig.c:1415 userret(ffff800020e47878) at userret+0x199 sys/kern/kern_sig.c:1872 Xsyscall() at Xsyscall+0x156 end of kernel end trace frame: 0x7f7fffffa170, count: -14 ddb{0}> show registers rdi 0 rsi 0x5fa9b acpi_pdirpa+0x4b903 rbp 0xffff8000230ff960 rbx 0 rdx 0x5fa9a acpi_pdirpa+0x4b902 rcx 0xffffffff827921c0 mbstat_boot_boot_cpumem rax 0 r8 0xffffffff81826317 witness_assert+0x207 r9 0x5 r10 0x130596fb8db0285a r11 0x11876fb4f8bc72ea r12 0xfffffd806c99af00 r13 0x2000 __ALIGN_SIZE+0x1000 r14 0xfffffd0000000000 r15 0xfffffd0000000000 rip 0xffffffff8214dd38 m_free+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000230ff920 ss 0x10 m_free+0x58: movswq 0x1c(%r14),%rsi ddb{0}> show proc PROC (syz-executor.1) pid=39642 stat=onproc flags process=a proc=2000 pri=75, usrpri=75, nice=20 forw=0xffffffffffffffff, list=0xffff800020ddcc38,0xffff800020e47138 process=0xffff800020df0f70 user=0xffff8000230fa000, vmspace=0xfffffd807f000730 estcpu=36, cpticks=2, pctcpu=0.27 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 73857 368246 87577 0 2 0x2 syz-executor.0 34834 191151 1 0 3 0x100083 ttyin getty 26799 509938 0 0 3 0x14200 bored sosplice 87577 308922 83519 0 3 0x82 thrsleep syz-fuzzer 87577 348792 83519 0 3 0x4000082 nanosleep syz-fuzzer 87577 348274 83519 0 2 0x4000082 syz-fuzzer 87577 510588 83519 0 3 0x4000082 thrsleep syz-fuzzer 87577 256435 83519 0 3 0x4000082 thrsleep syz-fuzzer 87577 1843 83519 0 3 0x4000082 nanosleep syz-fuzzer 87577 463168 83519 0 3 0x4000082 thrsleep syz-fuzzer 87577 176655 83519 0 3 0x4000082 thrsleep syz-fuzzer 87577 169611 83519 0 3 0x4000082 thrsleep syz-fuzzer 87577 98762 83519 0 3 0x4000082 thrsleep syz-fuzzer 83519 168225 18309 0 3 0x10008a pause ksh 18309 486717 64733 0 3 0x92 select sshd 64733 393621 1 0 3 0x80 select sshd 11649 244716 2645 74 3 0x100092 bpf pflogd 2645 209210 1 0 3 0x80 netio pflogd 11804 457831 94480 73 3 0x100090 kqread syslogd 94480 377375 1 0 3 0x100082 netio syslogd 30240 497400 1 77 3 0x100090 poll dhclient 4058 84 1 0 3 0x80 poll dhclient 12134 31717 0 0 3 0x14200 bored smr 16852 184484 0 0 2 0x14200 zerothread 72815 110166 0 0 3 0x14200 aiodoned aiodoned 61629 523478 0 0 3 0x14200 syncer update 31492 98353 0 0 3 0x14200 cleaner cleaner 58653 335128 0 0 3 0x14200 reaper reaper 68835 513092 0 0 3 0x14200 pgdaemon pagedaemon 55343 16023 0 0 3 0x14200 bored crynlk 36943 523775 0 0 3 0x14200 bored crypto 78748 56612 0 0 3 0x40014200 acpi0 acpi0 38399 459760 0 0 7 0x40014200 idle1 43384 420750 0 0 2 0x14200 softnet 34482 449402 0 0 3 0x14200 bored systqmp 18504 214523 0 0 3 0x14200 bored systq 85401 464 0 0 3 0x40014200 bored softclock 39525 78011 0 0 3 0x40014200 idle0 1 137068 0 0 3 0x82 wait 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 9548 6562K 7058K 78643K 12963 0 pcb 13 8K 8K 78643K 143 0 rtable 136 12K 13K 78643K 776 0 ifaddr 104 21K 21K 78643K 289 0 counters 43 33K 34K 78643K 75 0 ioctlops 0 0K 4K 78643K 1689 0 iov 0 0K 36K 78643K 83 0 mount 1 1K 1K 78643K 1 0 vnodes 1217 77K 77K 78643K 1927 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 9 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 149 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 4 9K 25K 78643K 1365 0 sigio 0 0K 0K 78643K 5 0 proc 62 63K 83K 78643K 589 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 132 0 in_multi 106 5K 5K 78643K 295 0 ether_multi 1 0K 0K 78643K 34 0 mrt 1 0K 0K 78643K 18 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 55 254K 254K 78643K 55 0 exec 0 0K 1K 78643K 317 0 pfkey data 0 0K 1K 78643K 2 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 132 55K 57K 78643K 4310 0 UVM aobj 14 2K 2K 78643K 18 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 158 0 NDP 14 0K 0K 78643K 52 0 temp 147 3876K 3941K 78643K 16106 0 kqueue 3 4K 16K 78643K 84 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 13 0 7 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 74 0 72 1 0 1 1 0 8 0 rtentry 112 132 0 91 2 0 2 2 0 8 0 unpcb 120 438 0 426 1 0 1 1 0 8 0 syncache 264 24 0 24 5 4 1 1 0 8 1 tcpqe 32 70 0 70 2 2 0 1 0 8 0 tcpcb 544 451 0 444 2 0 2 2 0 8 1 inpcb 296 1167 0 1157 2 0 2 2 0 8 0 rttmr 72 3 0 3 2 1 1 1 0 8 1 nd6 48 34 0 28 1 0 1 1 0 8 0 pkpcb 40 4 0 4 2 2 0 1 0 8 0 pffrag 232 14 0 13 3 2 1 1 0 482 0 pffrnode 88 14 0 13 3 2 1 1 0 8 0 pffrent 40 73 0 72 3 2 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 pfrktable 1344 101 0 85 3 1 2 2 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 15 0 8 1 0 1 1 0 8 0 pfstkey 112 15 0 8 1 0 1 1 0 8 0 pfstate 328 15 0 8 2 1 1 2 0 8 0 pfrule 1360 93 0 53 5 1 4 4 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 659 0 436 18 1 17 17 0 8 1 art_table 32 660 0 436 3 0 3 3 0 8 0 art_node 16 130 0 92 1 0 1 1 0 8 0 sysvmsgpl 40 28 0 16 1 0 1 1 0 8 0 semapl 112 147 0 137 1 0 1 1 0 8 0 shmpl 112 16 0 4 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 3192 0 1791 90 2 88 89 0 8 0 ffsino 272 3192 0 1791 95 0 95 95 0 8 0 nchpl 144 4995 0 3400 60 0 60 60 0 8 0 uvmvnodes 72 3776 0 0 69 0 69 69 0 8 0 vnodes 208 3776 0 0 199 0 199 199 0 8 0 namei 1024 13821 0 13821 2 1 1 1 0 8 1 percpumem 16 48 0 16 1 0 1 1 0 8 0 vcpupl 1984 4 0 0 1 0 1 1 0 8 0 vmpool 560 6 0 2 1 0 1 1 0 8 0 pfiaddrpl 120 57 0 33 1 0 1 1 0 8 0 scsiplug 64 5 0 5 3 3 0 1 0 8 0 scxspl 192 17177 0 17177 10 8 2 7 0 8 2 plimitpl 152 112 0 104 1 0 1 1 0 8 0 sigapl 424 1576 0 1545 4 0 4 4 0 8 0 futexpl 56 13054 0 13054 2 1 1 1 0 8 1 knotepl 112 186 0 167 1 0 1 1 0 8 0 kqueuepl 144 152 0 148 1 0 1 1 0 8 0 pipelkpl 48 153 0 143 1 0 1 1 0 8 0 pipepl 120 306 0 288 1 0 1 1 0 8 0 fdescpl 496 1560 0 1545 3 0 3 3 0 8 0 filepl 152 6771 0 6681 6 1 5 5 0 8 1 lockfpl 104 235 0 234 1 0 1 1 0 8 0 lockfspl 48 84 0 83 1 0 1 1 0 8 0 sessionpl 112 21 0 10 1 0 1 1 0 8 0 pgrppl 48 23 0 12 1 0 1 1 0 8 0 ucredpl 96 808 0 799 1 0 1 1 0 8 0 zombiepl 144 1546 0 1545 1 0 1 1 0 8 0 processpl 984 1576 0 1545 5 0 5 5 0 8 0 procpl 624 3383 0 3343 4 0 4 4 0 8 0 sosppl 128 26 0 26 4 3 1 1 0 8 1 sockpl 400 1690 0 1665 6 2 4 4 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 5 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 8 0 0 1 0 1 1 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 171 0 0 21 0 21 21 0 8 0 mtagpl 96 182 0 0 5 0 5 5 0 8 0 mbufpl 256 525 0 0 33 1 32 32 0 8 0 bufpl 280 7134 0 899 446 0 446 446 0 8 0 anonpl 16 127169 0 114232 58 2 56 56 0 124 1 amapchunkpl 152 8288 0 8158 24 5 19 19 0 158 12 amappl16 192 5995 0 5294 40 3 37 37 0 8 1 amappl15 184 2 0 1 2 1 1 1 0 8 0 amappl14 176 245 0 240 1 0 1 1 0 8 0 amappl13 168 1646 0 1641 1 0 1 1 0 8 0 amappl12 160 233 0 230 1 0 1 1 0 8 0 amappl11 152 60 0 45 1 0 1 1 0 8 0 amappl10 144 29 0 23 1 0 1 1 0 8 0 amappl9 136 386 0 384 1 0 1 1 0 8 0 amappl8 128 392 0 357 2 0 2 2 0 8 0 amappl7 120 145 0 130 1 0 1 1 0 8 0 amappl6 112 39 0 29 1 0 1 1 0 8 0 amappl5 104 787 0 770 1 0 1 1 0 8 0 amappl4 96 1458 0 1427 1 0 1 1 0 8 0 amappl3 88 788 0 781 1 0 1 1 0 8 0 amappl2 80 11643 0 11581 2 0 2 2 0 8 0 amappl1 72 37861 0 37430 23 13 10 18 0 8 0 amappl 80 3693 0 3649 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 17 0 4 1 0 1 1 0 8 0 uaddrrnd 24 1566 0 1547 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1566 0 1547 1 0 1 1 0 8 0 vmmpekpl 168 12761 0 12727 2 0 2 2 0 8 0 vmmpepl 168 186534 0 184760 149 51 98 110 0 357 12 vmsppl 368 1565 0 1547 2 0 2 2 0 8 0 pdppl 4096 3139 0 3098 7 1 6 6 0 8 0 pvpl 32 432531 0 416529 150 7 143 143 0 265 8 pmappl 232 1565 0 1547 3 1 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 295 0 11 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(ffff8000230ff9b8) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff8000230ff9b8) at ml_purge+0x50 sys/kern/uipc_mbuf.c:1628 ifq_purge(ffff800000af0a78) at ifq_purge+0x9a sys/net/ifq.c:462 tun_dev_close(5d01,7) at tun_dev_close+0xc8 sys/net/if_tun.c:460 spec_close(ffff8000230ffae0) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806ed4d418,7,fffffd807f7bfa80,ffff800020e47878) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd80671f2b60,ffff800020e47878) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80671f2b60,ffff800020e47878) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd80671f2b60,ffff800020e47878) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd80671f2b60,ffff800020e47878) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020e47878) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020e47878,0,19,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff800020e47878,19) at postsig+0x4ed sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff800020e47878,19) at postsig+0x4ed sys/kern/kern_sig.c:1415 userret(ffff800020e47878) at userret+0x199 sys/kern/kern_sig.c:1872 Xsyscall() at Xsyscall+0x156 end of kernel end trace frame: 0x7f7fffffa170, count: -14 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 acpicpu_idle() at acpicpu_idle+0x331 sys/dev/acpi/acpicpu.c:1187 sched_idle(ffff800020d70ff0) at sched_idle+0x3f7 sys/kern/kern_sched.c:178 end trace frame: 0x0, count: -5