uvm_fault(0xffffffff827de950, 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(0xffffffff827de950, 0xfffffd000000001c, 0, 1) -> e m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 end trace frame: 0xffff8000222e5330, count: 0 ddb{0}> trace m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 ml_purge(ffff8000222e5348) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff8000222e5348) at ml_purge+0x50 sys/kern/uipc_mbuf.c:1628 ifq_purge(ffff800000b15a78) at ifq_purge+0x9a sys/net/ifq.c:529 tun_dev_close(5d01,7) at tun_dev_close+0xc8 sys/net/if_tun.c:460 spec_close(ffff8000222e5470) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806ebd61a8,7,fffffd807f7bf7e0,ffff800020e95ec8) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd8067e77390,ffff800020e95ec8) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd8067e77390,ffff800020e95ec8) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd8067e77390,ffff800020e95ec8) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd8067e77390,ffff800020e95ec8) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020e95ec8) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020e95ec8,0,19,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff800020e95ec8,19) at postsig+0x4ed sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff800020e95ec8,19) at postsig+0x4ed sys/kern/kern_sig.c:1415 userret(ffff800020e95ec8) at userret+0x199 sys/kern/kern_sig.c:1872 syscall(ffff8000222e58f0) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff8000222e58f0) at syscall+0x55f sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdc1a0, count: -15 ddb{0}> show registers rdi 0 rsi 0x7de7d acpi_pdirpa+0x69ce5 rbp 0xffff8000222e52f0 rbx 0 rdx 0x7de7c acpi_pdirpa+0x69ce4 rcx 0xffffffff82713c00 mbstat_boot_boot_cpumem rax 0 r8 0xffffffff81406ff7 witness_assert+0x207 r9 0x5 r10 0x63933a8e69c1ea28 r11 0x14dac6b9ab72a75 r12 0xfffffd80080f1400 r13 0x2000 __ALIGN_SIZE+0x1000 r14 0xfffffd0000000000 r15 0xfffffd0000000000 rip 0xffffffff8144bf58 m_free+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000222e52b0 ss 0x10 m_free+0x58: movswq 0x1c(%r14),%rsi ddb{0}> show proc PROC (syz-executor.1) pid=488473 stat=onproc flags process=a proc=2000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020e95028,0xffff800020e96628 process=0xffff8000fffffb38 user=0xffff8000222e0000, vmspace=0xfffffd806e8f6178 estcpu=36, cpticks=3, pctcpu=0.20 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 81804 348404 35652 0 7 0x2 syz-executor.0 80460 297124 0 0 3 0x14200 acct acct 66016 270299 1 0 3 0x100083 ttyin getty 41804 378724 0 0 3 0x14280 nfsidl nfsio 70365 5263 0 0 3 0x14280 nfsidl nfsio 6920 371095 0 0 3 0x14280 nfsidl nfsio 92608 192429 0 0 3 0x14280 nfsidl nfsio 78269 77707 0 0 3 0x14280 nfsidl nfsio 26035 375840 0 0 3 0x14280 nfsidl nfsio 43669 434204 0 0 3 0x14280 nfsidl nfsio 14678 399938 0 0 3 0x14280 nfsidl nfsio 23598 357036 0 0 3 0x14280 nfsidl nfsio 70535 235335 0 0 3 0x14280 nfsidl nfsio 93997 219354 0 0 3 0x14280 nfsidl nfsio 34692 145620 0 0 3 0x14280 nfsidl nfsio 27345 100581 0 0 3 0x14280 nfsidl nfsio 37599 291570 0 0 3 0x14280 nfsidl nfsio 49508 9925 0 0 3 0x14280 nfsidl nfsio 18570 274341 0 0 3 0x14280 nfsidl nfsio 51262 427258 0 0 3 0x14280 nfsidl nfsio 2295 334620 0 0 3 0x14280 nfsidl nfsio 70580 80707 0 0 3 0x14280 nfsidl nfsio 554 251659 0 0 3 0x14280 nfsidl nfsio 77538 415569 0 0 3 0x14200 bored sosplice 35652 79614 43479 0 3 0x82 thrsleep syz-fuzzer 35652 252150 43479 0 3 0x4000082 thrsleep syz-fuzzer 35652 404784 43479 0 2 0x4000082 syz-fuzzer 35652 94834 43479 0 3 0x4000082 thrsleep syz-fuzzer 35652 481914 43479 0 3 0x4000082 thrsleep syz-fuzzer 35652 421562 43479 0 3 0x4000082 thrsleep syz-fuzzer 35652 136051 43479 0 3 0x4000082 thrsleep syz-fuzzer 35652 181706 43479 0 3 0x4000082 thrsleep syz-fuzzer 35652 414840 43479 0 3 0x4000082 thrsleep syz-fuzzer 35652 289428 43479 0 3 0x4000082 thrsleep syz-fuzzer 43479 378602 72816 0 3 0x10008a pause ksh 72816 239048 28554 0 3 0x92 select sshd 28554 197650 1 0 3 0x80 select sshd 811 248373 65717 74 3 0x100092 bpf pflogd 65717 502497 1 0 3 0x80 netio pflogd 8074 337113 56416 73 3 0x100090 kqread syslogd 56416 90970 1 0 3 0x100082 netio syslogd 83445 397726 1 77 3 0x100090 poll dhclient 43406 429704 1 0 3 0x80 poll dhclient 9614 134842 0 0 3 0x14200 bored smr 38434 516745 0 0 2 0x14200 zerothread 2697 438883 0 0 3 0x14200 aiodoned aiodoned 22439 382570 0 0 3 0x14200 syncer update 25772 446095 0 0 3 0x14200 cleaner cleaner 73177 141873 0 0 3 0x14200 reaper reaper 60134 269541 0 0 3 0x14200 pgdaemon pagedaemon 97323 355907 0 0 3 0x14200 bored crynlk 48247 397798 0 0 3 0x14200 bored crypto 31723 286961 0 0 3 0x40014200 acpi0 acpi0 60840 330568 0 0 3 0x40014200 idle1 31515 66149 0 0 3 0x14200 bored softnet 1220 510667 0 0 3 0x14200 bored systqmp 55564 113188 0 0 3 0x14200 bored systq 2345 237538 0 0 3 0x40014200 bored softclock 971 424602 0 0 3 0x40014200 idle0 1 171216 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 9555 6633K 7334K 78643K 16719 0 pcb 13 8K 8K 78643K 194 0 rtable 145 10K 10K 78643K 835 0 ifaddr 102 21K 21K 78643K 271 0 sysctl 2 0K 0K 78643K 2 0 counters 43 33K 34K 78643K 79 0 ioctlops 0 0K 4K 78643K 1744 0 iov 0 0K 32K 78643K 153 0 mount 1 1K 1K 78643K 1 0 vnodes 1231 77K 78K 78643K 2791 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 21 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 307 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 4 9K 25K 78643K 1770 0 sigio 1 0K 0K 78643K 34 0 proc 61 63K 95K 78643K 682 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 165 0 in_multi 109 5K 5K 78643K 391 0 ether_multi 1 0K 0K 78643K 31 0 mrt 0 0K 0K 78643K 3 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 320 0 pfkey data 0 0K 0K 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 150 105K 105K 78643K 6752 0 UVM aobj 81 7K 7K 78643K 92 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 173 0 NDP 14 0K 0K 78643K 72 0 temp 144 3878K 3946K 78643K 27396 0 kqueue 4 6K 10K 78643K 47 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 19 0 11 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 71 0 69 1 0 1 1 0 8 0 rtentry 112 198 0 149 2 0 2 2 0 8 0 unpcb 120 573 0 562 1 0 1 1 0 8 0 syncache 264 17 0 17 5 5 0 1 0 8 0 tcpqe 32 774 0 774 2 2 0 1 0 8 0 tcpcb 544 454 0 449 1 0 1 1 0 8 0 inpcb 296 3959 0 3944 6 3 3 3 0 8 1 rttmr 72 3 0 2 2 1 1 1 0 8 0 nd6 48 71 0 62 1 0 1 1 0 8 0 pkpcb 40 16 0 16 4 4 0 1 0 8 0 ppxss 1136 3 0 3 3 2 1 1 0 8 1 pffrag 232 13 0 13 5 4 1 1 0 482 1 pffrnode 88 13 0 13 5 4 1 1 0 8 1 pffrent 40 199 0 199 5 4 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 44 0 33 2 0 2 2 0 8 0 pfstitem 24 24 0 22 1 0 1 1 0 8 0 pfstkey 112 24 0 22 1 0 1 1 0 8 0 pfstate 328 24 0 22 2 1 1 2 0 8 0 pfsrctr 152 113 0 113 1 1 0 1 0 8 0 pfrule 1360 41 0 26 3 1 2 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 1006 0 733 27 8 19 19 0 8 1 art_table 32 1008 0 733 3 0 3 3 0 8 0 art_node 16 197 0 151 1 0 1 1 0 8 0 sysvmsgpl 40 37 0 19 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 305 0 295 1 0 1 1 0 8 0 shmpl 112 89 0 11 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 3484 0 2078 89 0 89 89 0 8 0 ffsino 272 3484 0 2078 96 1 95 95 0 8 0 nchpl 144 6083 0 4491 60 0 60 60 0 8 0 uvmvnodes 72 4960 0 0 91 0 91 91 0 8 0 vnodes 208 4960 0 0 262 0 262 262 0 8 0 namei 1024 17602 0 17602 5 4 1 1 0 8 1 percpumem 16 50 0 18 1 0 1 1 0 8 0 vcpupl 1984 8 0 0 1 0 1 1 0 8 0 vmpool 560 16 0 8 2 1 1 1 0 8 0 pfiaddrpl 120 16 0 9 1 0 1 1 0 8 0 scsiplug 64 2 0 2 1 1 0 1 0 8 0 scxspl 192 17766 0 17766 17 16 1 7 0 8 1 plimitpl 152 125 0 117 1 0 1 1 0 8 0 sigapl 424 1999 0 1947 9 2 7 7 0 8 1 futexpl 56 27256 0 27256 4 3 1 1 0 8 1 knotepl 112 149 0 130 1 0 1 1 0 8 0 kqueuepl 144 203 0 199 1 0 1 1 0 8 0 pipepl 304 322 0 312 5 4 1 2 0 8 0 fdescpl 496 1962 0 1947 3 0 3 3 0 8 0 filepl 152 12142 0 12052 8 3 5 6 0 8 1 lockfpl 104 305 0 304 1 0 1 1 0 8 0 lockfspl 48 107 0 106 1 0 1 1 0 8 0 sessionpl 112 22 0 11 1 0 1 1 0 8 0 pgrppl 48 36 0 25 1 0 1 1 0 8 0 ucredpl 96 1107 0 1098 1 0 1 1 0 8 0 zombiepl 144 1948 0 1945 4 3 1 1 0 8 0 processpl 992 1999 0 1945 8 1 7 7 0 8 0 procpl 624 5777 0 5714 6 0 6 6 0 8 0 sosppl 128 24 0 23 4 3 1 1 0 8 0 sockpl 400 4632 0 4605 11 7 4 4 0 8 0 mcl64k 65536 517 0 0 65 11 54 65 0 8 1 mcl16k 16384 6 0 0 1 0 1 1 0 8 0 mcl12k 12288 16 0 0 2 0 2 2 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 13 0 0 2 0 2 2 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 246 0 0 30 0 30 30 0 8 0 mtagpl 96 443 0 0 10 0 10 10 0 8 0 mbufpl 256 1067 0 0 59 0 59 59 0 8 0 bufpl 280 6410 0 175 446 0 446 446 0 8 0 anonpl 16 203205 0 186132 108 38 70 84 0 124 0 amapchunkpl 152 12805 0 12650 55 47 8 20 0 158 0 amappl16 192 8880 0 7962 73 26 47 58 0 8 1 amappl15 184 181 0 181 2 2 0 1 0 8 0 amappl14 176 33 0 27 1 0 1 1 0 8 0 amappl13 168 57 0 53 1 0 1 1 0 8 0 amappl12 160 559 0 555 1 0 1 1 0 8 0 amappl11 152 394 0 378 1 0 1 1 0 8 0 amappl10 144 303 0 299 1 0 1 1 0 8 0 amappl9 136 731 0 730 1 0 1 1 0 8 0 amappl8 128 844 0 799 2 0 2 2 0 8 0 amappl7 120 420 0 407 1 0 1 1 0 8 0 amappl6 112 349 0 339 1 0 1 1 0 8 0 amappl5 104 2460 0 2443 1 0 1 1 0 8 0 amappl4 96 553 0 525 1 0 1 1 0 8 0 amappl3 88 164 0 159 1 0 1 1 0 8 0 amappl2 80 14794 0 14731 2 0 2 2 0 8 0 amappl1 72 69219 0 68787 23 13 10 18 0 8 0 amappl 80 6092 0 6044 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 91 0 11 2 0 2 2 0 8 0 uaddrrnd 24 1978 0 1955 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1978 0 1955 1 0 1 1 0 8 0 vmmpekpl 168 17632 0 17582 3 0 3 3 0 8 0 vmmpepl 168 260955 0 258941 200 100 100 127 0 357 2 vmsppl 368 1977 0 1955 4 1 3 3 0 8 0 pdppl 4096 3963 0 3918 10 3 7 7 0 8 0 pvpl 32 601782 0 581622 256 79 177 199 0 265 12 pmappl 232 1977 0 1955 4 2 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 417 0 38 11 0 11 11 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(ffff8000222e5348) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff8000222e5348) at ml_purge+0x50 sys/kern/uipc_mbuf.c:1628 ifq_purge(ffff800000b15a78) at ifq_purge+0x9a sys/net/ifq.c:529 tun_dev_close(5d01,7) at tun_dev_close+0xc8 sys/net/if_tun.c:460 spec_close(ffff8000222e5470) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806ebd61a8,7,fffffd807f7bf7e0,ffff800020e95ec8) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd8067e77390,ffff800020e95ec8) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd8067e77390,ffff800020e95ec8) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd8067e77390,ffff800020e95ec8) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd8067e77390,ffff800020e95ec8) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020e95ec8) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020e95ec8,0,19,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff800020e95ec8,19) at postsig+0x4ed sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff800020e95ec8,19) at postsig+0x4ed sys/kern/kern_sig.c:1415 userret(ffff800020e95ec8) at userret+0x199 sys/kern/kern_sig.c:1872 syscall(ffff8000222e58f0) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff8000222e58f0) at syscall+0x55f sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdc1a0, 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(ffffffff828eb070) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828eb070) at __mp_lock+0x127 sys/kern/kern_lock.c:147 syscall(ffff800021f87670) at syscall+0x400 mi_syscall sys/sys/syscall_mi.h:93 [inline] syscall(ffff800021f87670) at syscall+0x400 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffffb000, count: -6