uvm_fault(0xffffffff828a2680, 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(0xffffffff828a2680, 0xfffffd000000001c, 0, 1) -> e m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 end trace frame: 0xffff800020edcbb0, count: 0 ddb{0}> trace m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 ml_purge(ffff800020edcbc8) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800020edcbc8) 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(ffff800020edccf0) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806e3aa348,7,fffffd807f7bf9c0,ffff800020dddad8) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd80684ba998,ffff800020dddad8) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80684ba998,ffff800020dddad8) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd80684ba998,ffff800020dddad8) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd80684ba998,ffff800020dddad8) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020dddad8) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020dddad8,0,19,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff800020dddad8,19) at postsig+0x4ed sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff800020dddad8,19) at postsig+0x4ed sys/kern/kern_sig.c:1415 userret(ffff800020dddad8) at userret+0x199 sys/kern/kern_sig.c:1872 syscall(ffff800020edd170) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff800020edd170) at syscall+0x55f sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbf850, count: -15 ddb{0}> show registers rdi 0 rsi 0x690e1 acpi_pdirpa+0x54f49 rbp 0xffff800020edcb70 rbx 0 rdx 0x690e0 acpi_pdirpa+0x54f48 rcx 0xffffffff827823c0 mbstat_boot_boot_cpumem rax 0 r8 0xffffffff810ebbe7 witness_assert+0x207 r9 0x5 r10 0xcec5086ab77a6223 r11 0xc458ae1266b01bad r12 0xfffffd806a9fd200 r13 0x2000 __ALIGN_SIZE+0x1000 r14 0xfffffd0000000000 r15 0xfffffd0000000000 rip 0xffffffff81e86418 m_free+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800020edcb30 ss 0x10 m_free+0x58: movswq 0x1c(%r14),%rsi ddb{0}> show proc PROC (syz-executor.0) pid=514154 stat=onproc flags process=a proc=2000 pri=17, usrpri=78, nice=20 forw=0xffffffffffffffff, list=0xffff800020ddc4e8,0xffff800020e22c58 process=0xffff800020df03e8 user=0xffff800020ed8000, vmspace=0xfffffd807f000cf0 estcpu=36, cpticks=2, pctcpu=0.21 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 59813 65897 70400 0 7 0 syz-executor.1 59813 288577 70400 0 3 0x4000080 fsleep syz-executor.1 70400 355174 50204 0 3 0x82 nanosleep syz-executor.1 9607 20910 0 0 3 0x14200 bored sosplice 50204 222533 58985 0 2 0x82 syz-fuzzer 50204 498738 58985 0 3 0x4000082 nanosleep syz-fuzzer 50204 269658 58985 0 3 0x4000082 thrsleep syz-fuzzer 50204 434077 58985 0 3 0x4000082 thrsleep syz-fuzzer 50204 123983 58985 0 3 0x4000082 thrsleep syz-fuzzer 50204 95077 58985 0 3 0x4000082 thrsleep syz-fuzzer 50204 71184 58985 0 3 0x4000082 thrsleep syz-fuzzer 50204 281774 58985 0 3 0x4000082 thrsleep syz-fuzzer 50204 444841 58985 0 3 0x4000082 nanosleep syz-fuzzer 50204 272998 58985 0 3 0x4000082 thrsleep syz-fuzzer 58985 351038 9226 0 3 0x10008a pause ksh 9226 157542 67324 0 3 0x92 select sshd 33502 466722 1 0 3 0x100083 ttyin getty 67324 412951 1 0 3 0x80 select sshd 13277 434610 88065 74 3 0x100092 bpf pflogd 88065 205877 1 0 3 0x80 netio pflogd 93844 218583 49201 73 3 0x100090 kqread syslogd 49201 368542 1 0 3 0x100082 netio syslogd 27990 418431 1 77 3 0x100090 poll dhclient 42984 122866 1 0 3 0x80 poll dhclient 578 361062 0 0 3 0x14200 bored smr 36710 510821 0 0 2 0x14200 zerothread 25026 308587 0 0 3 0x14200 aiodoned aiodoned 45838 229598 0 0 3 0x14200 syncer update 52090 264183 0 0 3 0x14200 cleaner cleaner 82776 384083 0 0 3 0x14200 reaper reaper 13348 205120 0 0 3 0x14200 pgdaemon pagedaemon 36307 457867 0 0 3 0x14200 bored crynlk 56632 484728 0 0 3 0x14200 bored crypto 5191 489337 0 0 3 0x40014200 acpi0 acpi0 69495 447990 0 0 3 0x40014200 idle1 58746 457771 0 0 3 0x14200 bored softnet 31201 40829 0 0 3 0x14200 bored systqmp 95753 265263 0 0 3 0x14200 bored systq 79752 17240 0 0 3 0x40014200 bored softclock 88119 113124 0 0 3 0x40014200 idle0 1 43703 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 9558 6439K 15008K 78643K 12738 0 pcb 13 8K 8K 78643K 237 0 rtable 138 11K 15K 78643K 1202 0 ifaddr 118 23K 23K 78643K 489 0 sysctl 2 0K 0K 78643K 2 0 counters 43 33K 34K 78643K 117 0 ioctlops 0 0K 4K 78643K 1753 0 iov 0 0K 32K 78643K 222 0 mount 1 1K 1K 78643K 1 0 vnodes 1219 77K 77K 78643K 1894 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 28 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 283 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 1775 0 sigio 0 0K 0K 78643K 22 0 proc 62 63K 83K 78643K 726 0 subproc 23 1K 2K 78643K 85 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 129 0 in_multi 117 5K 5K 78643K 459 0 ether_multi 1 0K 0K 78643K 42 0 mrt 0 0K 0K 78643K 13 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 61 281K 281K 78643K 61 0 exec 0 0K 1K 78643K 345 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 155 138K 140K 78643K 6863 0 UVM aobj 60 4K 4K 78643K 64 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 219 0 NDP 17 0K 0K 78643K 101 0 temp 155 3875K 3943K 78643K 28682 0 kqueue 3 4K 12K 78643K 75 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 16 0 9 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 109 0 107 1 0 1 1 0 8 0 rtentry 112 193 0 150 2 0 2 2 0 8 0 unpcb 120 670 0 659 1 0 1 1 0 8 0 syncache 264 16 0 16 6 5 1 1 0 8 1 sackhl 24 2 0 2 1 1 0 1 0 8 0 tcpqe 32 172 0 172 3 3 0 1 0 8 0 tcpcb 544 570 0 566 3 2 1 2 0 8 0 inpcb 296 4202 0 4188 8 5 3 3 0 8 1 rttmr 72 2 0 2 2 1 1 1 0 8 1 nd6 48 72 0 68 1 0 1 1 0 8 0 pkpcb 40 14 0 14 5 4 1 1 0 8 1 swfcl 56 2 0 0 1 0 1 1 0 8 0 ppxss 1128 8 0 8 6 5 1 1 0 8 1 pfstscr 40 2 0 2 1 1 0 1 0 8 0 pffrag 232 45 0 45 4 4 0 1 0 482 0 pffrnode 88 45 0 45 4 4 0 1 0 8 0 pffrent 40 229 0 229 4 4 0 1 0 8 0 pfosfp 40 847 0 423 5 0 5 5 0 8 0 pfosfpen 112 1430 0 714 21 0 21 21 0 8 0 pfrktable 1344 182 0 166 3 1 2 2 0 8 0 pfpktdelay 56 9 0 9 1 1 0 1 0 8 0 pftag 88 3 0 3 2 2 0 1 0 8 0 pfstitem 24 26 0 22 1 0 1 1 0 8 0 pfstkey 112 28 0 24 1 0 1 1 0 8 0 pfstate 328 27 0 24 2 1 1 2 0 8 0 pfrule 1360 85 0 52 4 1 3 3 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 834 0 650 21 9 12 16 0 8 0 art_table 32 836 0 650 3 1 2 3 0 8 0 art_node 16 192 0 152 1 0 1 1 0 8 0 sysvmsgpl 40 54 0 34 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 277 0 267 1 0 1 1 0 8 0 shmpl 112 62 0 4 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 3631 0 2231 88 0 88 88 0 8 0 ffsino 272 3631 0 2231 94 0 94 94 0 8 0 nchpl 144 6187 0 4586 61 0 61 61 0 8 0 uvmvnodes 72 4169 0 0 76 0 76 76 0 8 0 vnodes 208 4169 0 0 220 0 220 220 0 8 0 namei 1024 17586 0 17586 3 2 1 1 0 8 1 percpumem 16 69 0 37 1 0 1 1 0 8 0 vcpupl 1984 15 0 1 2 0 2 2 0 8 0 vmpool 560 22 0 8 2 0 2 2 0 8 1 pfiaddrpl 120 57 0 39 1 0 1 1 0 8 0 scsiplug 64 2 0 2 1 1 0 1 0 8 0 scxspl 192 18022 0 18022 10 7 3 7 0 8 3 plimitpl 152 165 0 157 1 0 1 1 0 8 0 sigapl 424 1982 0 1950 4 0 4 4 0 8 0 futexpl 56 27170 0 27169 3 2 1 1 0 8 0 knotepl 112 187 0 168 1 0 1 1 0 8 0 kqueuepl 144 1314 0 1301 1 0 1 1 0 8 0 pipepl 304 308 0 298 7 6 1 2 0 8 0 fdescpl 496 1966 0 1950 3 0 3 3 0 8 0 filepl 152 13022 0 12931 6 1 5 6 0 8 0 lockfpl 104 346 0 345 1 0 1 1 0 8 0 lockfspl 48 131 0 130 1 0 1 1 0 8 0 sessionpl 112 21 0 10 1 0 1 1 0 8 0 pgrppl 48 45 0 34 1 0 1 1 0 8 0 ucredpl 96 1037 0 1028 1 0 1 1 0 8 0 zombiepl 144 1951 0 1950 1 0 1 1 0 8 0 processpl 984 1982 0 1950 5 0 5 5 0 8 0 procpl 624 5866 0 5824 4 0 4 4 0 8 0 sosppl 128 35 0 35 7 7 0 1 0 8 0 sockpl 400 4998 0 4972 8 4 4 5 0 8 1 mcl64k 65536 20 0 0 3 0 3 3 0 8 0 mcl16k 16384 6 0 0 1 0 1 1 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 9 0 0 1 0 1 1 0 8 0 mcl8k 8192 6 0 0 1 0 1 1 0 8 0 mcl4k 4096 13 0 0 2 0 2 2 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 169 0 0 21 2 19 21 0 8 0 mtagpl 96 101 0 0 3 0 3 3 0 8 0 mbufpl 256 923 0 0 55 0 55 55 0 8 0 bufpl 280 6228 0 139 435 0 435 435 0 8 0 anonpl 16 186272 0 168208 103 29 74 87 0 124 0 amapchunkpl 152 11874 0 11723 29 20 9 20 0 158 1 amappl16 192 8551 0 7556 77 26 51 61 0 8 0 amappl15 184 9 0 8 2 1 1 1 0 8 0 amappl14 176 29 0 21 1 0 1 1 0 8 0 amappl13 168 795 0 790 1 0 1 1 0 8 0 amappl12 160 765 0 762 1 0 1 1 0 8 0 amappl11 152 120 0 105 1 0 1 1 0 8 0 amappl10 144 25 0 20 1 0 1 1 0 8 0 amappl9 136 1224 0 1222 1 0 1 1 0 8 0 amappl8 128 1293 0 1249 2 0 2 2 0 8 0 amappl7 120 146 0 131 1 0 1 1 0 8 0 amappl6 112 92 0 82 1 0 1 1 0 8 0 amappl5 104 1115 0 1099 1 0 1 1 0 8 0 amappl4 96 1299 0 1268 1 0 1 1 0 8 0 amappl3 88 929 0 921 1 0 1 1 0 8 0 amappl2 80 14599 0 14524 2 0 2 2 0 8 0 amappl1 72 51511 0 51065 23 13 10 18 0 8 0 amappl 80 6189 0 6138 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 63 0 4 1 0 1 1 0 8 0 uaddrrnd 24 1988 0 1958 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1988 0 1958 1 0 1 1 0 8 0 vmmpekpl 168 18576 0 18544 2 0 2 2 0 8 0 vmmpepl 168 242399 0 240176 167 43 124 135 0 357 21 vmsppl 368 1987 0 1958 3 0 3 3 0 8 0 pdppl 4096 3983 0 3930 8 0 8 8 0 8 1 pvpl 32 540158 0 519683 234 61 173 201 0 265 6 pmappl 232 1987 0 1958 3 1 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 326 0 22 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(ffff800020edcbc8) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800020edcbc8) 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(ffff800020edccf0) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806e3aa348,7,fffffd807f7bf9c0,ffff800020dddad8) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd80684ba998,ffff800020dddad8) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80684ba998,ffff800020dddad8) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd80684ba998,ffff800020dddad8) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd80684ba998,ffff800020dddad8) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020dddad8) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020dddad8,0,19,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff800020dddad8,19) at postsig+0x4ed sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff800020dddad8,19) at postsig+0x4ed sys/kern/kern_sig.c:1415 userret(ffff800020dddad8) at userret+0x199 sys/kern/kern_sig.c:1872 syscall(ffff800020edd170) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff800020edd170) at syscall+0x55f sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbf850, 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 __mp_lock(ffffffff828f8e38) at __mp_lock+0x12e __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828f8e38) at __mp_lock+0x12e sys/kern/kern_lock.c:147 uvm_map_inentry(ffff800020e23608,ffff800020e23680,616ba0550ba,ffffffff8241a518,ffffffff817e9890,1c) at uvm_map_inentry+0xbe sys/uvm/uvm_map.c:1890 syscall(ffff800024157c70) at syscall+0x3dc mi_syscall sys/sys/syscall_mi.h:87 [inline] syscall(ffff800024157c70) at syscall+0x3dc sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcd630, count: -7