uvm_fault(0xffffffff827cff50, 0xfffffd000000001c, 0, 1) -> e kernel: page fault trap, code=0 Stopped at m_free+0x58: movswq 0x1c(%r14),%rsi ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic kernel page fault uvm_fault(0xffffffff827cff50, 0xfffffd000000001c, 0, 1) -> e m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 end trace frame: 0xffff8000230fd720, count: 0 ddb{1}> trace m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 ml_purge(ffff8000230fd738) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff8000230fd738) at ml_purge+0x50 sys/kern/uipc_mbuf.c:1628 ifq_purge(ffff800000af1a78) 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(ffff8000230fd860) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806e27e5b8,7,fffffd807f7bf960,ffff800020dddad8) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd80677fac90,ffff800020dddad8) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80677fac90,ffff800020dddad8) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd80677fac90,ffff800020dddad8) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd80677fac90,ffff800020dddad8) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020dddad8) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020dddad8,0,d,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff800020dddad8,d) at postsig+0x4ed sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff800020dddad8,d) at postsig+0x4ed sys/kern/kern_sig.c:1415 userret(ffff800020dddad8) at userret+0x199 sys/kern/kern_sig.c:1872 syscall(ffff8000230fdce0) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff8000230fdce0) at syscall+0x55f sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff49e0, count: -15 ddb{1}> show registers rdi 0 rsi 0x37b15 acpi_pdirpa+0x2397d rbp 0xffff8000230fd6e0 rbx 0 rdx 0x37b14 acpi_pdirpa+0x2397c rcx 0xffff800000676d80 rax 0 r8 0xffffffff82008fa7 witness_assert+0x207 r9 0x5 r10 0xadd784f157ceb95b r11 0x42ca8285676828a2 r12 0xfffffd806f28ee00 r13 0x2000 __ALIGN_SIZE+0x1000 r14 0xfffffd0000000000 r15 0xfffffd0000000000 rip 0xffffffff81e0e3b8 m_free+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000230fd6a0 ss 0x10 m_free+0x58: movswq 0x1c(%r14),%rsi ddb{1}> show proc PROC (syz-executor.1) pid=505144 stat=onproc flags process=a proc=2000 pri=32, usrpri=76, nice=20 forw=0xffffffffffffffff, list=0xffff800020e40280,0xffff800020e22028 process=0xffff800020df1af8 user=0xffff8000230f8000, vmspace=0xfffffd807f0008a0 estcpu=36, cpticks=2, pctcpu=0.8 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 53608 461366 0 0 3 0x14200 bored sosplice 34392 156773 1 0 3 0x100083 ttyin getty 52174 504441 1 0 3 0x80 select sshd 96145 416731 65087 74 3 0x100092 bpf pflogd 65087 149782 1 0 3 0x80 netio pflogd 5692 104750 20709 73 3 0x100090 kqread syslogd 20709 318338 1 0 3 0x100082 netio syslogd 98768 78198 1 77 3 0x100090 poll dhclient 20629 110163 1 0 3 0x80 poll dhclient 56263 133150 0 0 3 0x14200 bored smr 67432 372456 0 0 3 0x14200 pgzero zerothread 20936 130870 0 0 3 0x14200 aiodoned aiodoned 47477 514189 0 0 3 0x14200 syncer update 68351 388013 0 0 3 0x14200 cleaner cleaner 31372 165424 0 0 3 0x14200 reaper reaper 73203 338003 0 0 3 0x14200 pgdaemon pagedaemon 25114 459645 0 0 3 0x14200 bored crynlk 90639 256667 0 0 3 0x14200 bored crypto 65484 511476 0 0 3 0x40014200 acpi0 acpi0 49449 318115 0 0 3 0x40014200 idle1 64628 339527 0 0 3 0x14200 bored softnet 5636 107503 0 0 3 0x14200 bored systqmp 87162 135717 0 0 3 0x14200 bored systq 38748 325024 0 0 3 0x40014200 bored softclock 59313 506978 0 0 7 0x40014200 idle0 1 24755 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9543 6434K 6887K 78643K 11612 0 pcb 13 8K 8K 78643K 120 0 rtable 101 15K 17K 78643K 465 0 ifaddr 80 15K 16K 78643K 167 0 sysctl 2 0K 0K 78643K 2 0 counters 41 33K 34K 78643K 55 0 ioctlops 0 0K 4K 78643K 1580 0 iov 0 0K 16K 78643K 78 0 mount 1 1K 1K 78643K 1 0 vnodes 1221 77K 77K 78643K 1539 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 14 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 105 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 2 4K 25K 78643K 556 0 sigio 0 0K 0K 78643K 9 0 proc 61 63K 83K 78643K 513 0 subproc 7 0K 2K 78643K 56 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 46 0 in_multi 46 2K 3K 78643K 155 0 ether_multi 1 0K 0K 78643K 17 0 mrt 0 0K 0K 78643K 8 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 281 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 64 108K 120K 78643K 3048 0 UVM aobj 30 4K 4K 78643K 34 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 1K 78643K 93 0 NDP 14 0K 0K 78643K 34 0 temp 116 3871K 3939K 78643K 6011 0 kqueue 2 2K 12K 78643K 51 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 9 0 5 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 51 0 49 1 0 1 1 0 8 0 rtentry 112 87 0 57 2 0 2 2 0 8 0 unpcb 120 233 0 224 1 0 1 1 0 8 0 syncache 264 9 0 9 4 3 1 1 0 8 1 tcpqe 32 137 0 137 2 2 0 1 0 8 0 tcpcb 544 667 0 663 3 1 2 2 0 8 1 inpcb 296 1328 0 1321 4 2 2 2 0 8 1 rttmr 72 3 0 3 3 3 0 1 0 8 0 nd6 48 18 0 17 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 swfcl 56 2 0 0 1 0 1 1 0 8 0 ppxss 1128 1 0 1 1 1 0 1 0 8 0 pffrag 232 11 0 11 1 0 1 1 0 482 1 pffrnode 88 11 0 11 1 0 1 1 0 8 1 pffrent 40 157 0 157 1 0 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 31 0 24 1 0 1 1 0 8 0 pftag 88 2 0 1 2 1 1 1 0 8 0 pfqueue 264 4 0 4 2 1 1 1 0 8 1 pfstitem 24 134 0 134 1 0 1 1 0 8 1 pfstkey 112 134 0 134 4 0 4 4 0 8 4 pfstate 328 76 0 22 6 0 6 6 0 8 0 pfrule 1360 49 0 32 3 1 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 332 0 204 13 1 12 12 0 8 2 art_table 32 333 0 204 2 0 2 2 0 8 0 art_node 16 84 0 56 1 0 1 1 0 8 0 sysvmsgpl 40 29 0 17 2 1 1 1 0 8 0 semapl 112 103 0 93 1 0 1 1 0 8 0 shmpl 112 32 0 5 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2124 0 723 90 1 89 89 0 8 0 ffsino 272 2124 0 723 95 0 95 95 0 8 0 nchpl 144 3109 0 1511 61 1 60 61 0 8 0 uvmvnodes 72 2411 0 0 44 0 44 44 0 8 0 vnodes 208 2411 0 0 127 0 127 127 0 8 0 namei 1024 8701 0 8701 4 3 1 1 0 8 1 percpumem 16 38 0 7 1 0 1 1 0 8 0 vcpupl 1984 10 0 0 2 0 2 2 0 8 0 vmpool 560 17 0 7 1 0 1 1 0 8 0 pfiaddrpl 120 14 0 8 1 0 1 1 0 8 0 scsiplug 64 1 0 1 1 1 0 1 0 8 0 scxspl 192 9357 0 9357 13 12 1 7 0 8 1 plimitpl 152 58 0 52 1 0 1 1 0 8 0 sigapl 424 769 0 742 4 0 4 4 0 8 0 futexpl 56 8603 0 8603 3 2 1 1 0 8 1 knotepl 112 126 0 121 1 0 1 1 0 8 0 kqueuepl 144 183 0 182 1 0 1 1 0 8 0 pipelkpl 48 157 0 155 1 0 1 1 0 8 0 pipepl 120 314 0 312 1 0 1 1 0 8 0 fdescpl 496 753 0 742 3 0 3 3 0 8 0 filepl 152 4841 0 4793 5 0 5 5 0 8 1 lockfpl 104 114 0 113 1 0 1 1 0 8 0 lockfspl 48 41 0 40 1 0 1 1 0 8 0 sessionpl 112 19 0 11 1 0 1 1 0 8 0 pgrppl 48 27 0 19 1 0 1 1 0 8 0 ucredpl 96 456 0 448 1 0 1 1 0 8 0 zombiepl 144 743 0 742 2 1 1 1 0 8 0 processpl 984 769 0 742 5 0 5 5 0 8 0 procpl 624 2199 0 2172 8 4 4 5 0 8 0 sosppl 128 92 0 92 2 1 1 1 0 8 1 sockpl 400 1616 0 1598 8 4 4 4 0 8 2 mcl64k 65536 15 0 0 2 0 2 2 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 8 0 0 1 0 1 1 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 7 0 0 1 0 1 1 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 176 0 0 21 0 21 21 0 8 0 mtagpl 96 59 0 0 2 0 2 2 0 8 0 mbufpl 256 342 0 0 21 0 21 21 0 8 0 bufpl 280 4490 0 134 312 0 312 312 0 8 0 anonpl 16 82558 0 81278 72 3 69 70 0 124 54 amapchunkpl 152 5780 0 5739 24 17 7 20 0 158 3 amappl16 192 3487 0 3465 50 3 47 48 0 8 38 amappl15 184 30 0 30 2 1 1 1 0 8 1 amappl14 176 23 0 21 1 0 1 1 0 8 0 amappl13 168 288 0 286 1 0 1 1 0 8 0 amappl12 160 11 0 11 1 1 0 1 0 8 0 amappl11 152 63 0 48 1 0 1 1 0 8 0 amappl10 144 264 0 261 1 0 1 1 0 8 0 amappl9 136 384 0 383 1 0 1 1 0 8 0 amappl8 128 394 0 393 2 0 2 2 0 8 1 amappl7 120 359 0 352 1 0 1 1 0 8 0 amappl6 112 24 0 24 1 0 1 1 0 8 1 amappl5 104 654 0 641 1 0 1 1 0 8 0 amappl4 96 748 0 727 1 0 1 1 0 8 0 amappl3 88 127 0 122 1 0 1 1 0 8 0 amappl2 80 5069 0 5025 2 0 2 2 0 8 0 amappl1 72 26784 0 26489 23 13 10 18 0 8 0 amappl 80 2479 0 2455 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 33 0 4 1 0 1 1 0 8 0 uaddrrnd 24 770 0 749 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 770 0 749 1 0 1 1 0 8 0 vmmpekpl 168 9844 0 9813 3 0 3 3 0 8 0 vmmpepl 168 99929 0 99221 152 27 125 125 0 357 73 vmsppl 368 769 0 749 6 3 3 3 0 8 0 pdppl 4096 1547 0 1508 8 1 7 7 0 8 0 pvpl 32 263054 0 260953 190 23 167 171 0 265 132 pmappl 232 769 0 749 3 1 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 291 0 21 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff8274fff0) 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(ffffffff82911d90) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82911d90) at __mp_lock+0x127 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:89 Xsoftclock() at Xsoftclock+0x1f acpicpu_idle() at acpicpu_idle+0x331 sys/dev/acpi/acpicpu.c:1187 sched_idle(ffffffff8274fff0) at sched_idle+0x3f7 sys/kern/kern_sched.c:178 end trace frame: 0x0, count: -8 ddb{0}> machine ddbcpu 1 Stopped at m_free+0x58: movswq 0x1c(%r14),%rsi ddb{1}> trace m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 ml_purge(ffff8000230fd738) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff8000230fd738) at ml_purge+0x50 sys/kern/uipc_mbuf.c:1628 ifq_purge(ffff800000af1a78) 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(ffff8000230fd860) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806e27e5b8,7,fffffd807f7bf960,ffff800020dddad8) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd80677fac90,ffff800020dddad8) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80677fac90,ffff800020dddad8) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd80677fac90,ffff800020dddad8) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd80677fac90,ffff800020dddad8) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020dddad8) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020dddad8,0,d,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff800020dddad8,d) at postsig+0x4ed sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff800020dddad8,d) at postsig+0x4ed sys/kern/kern_sig.c:1415 userret(ffff800020dddad8) at userret+0x199 sys/kern/kern_sig.c:1872 syscall(ffff8000230fdce0) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff8000230fdce0) at syscall+0x55f sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff49e0, count: -15