uvm_fault(0xffffffff82804020, 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(0xffffffff82804020, 0xfffffd000000001c, 0, 1) -> e m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 end trace frame: 0xffff800020ee05a0, count: 0 ddb{0}> trace m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 ml_purge(ffff800020ee05b8) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800020ee05b8) at ml_purge+0x50 sys/kern/uipc_mbuf.c:1628 ifq_purge(ffff800000ac6278) at ifq_purge+0x9a sys/net/ifq.c:529 tun_dev_close(5d00,7) at tun_dev_close+0xc8 sys/net/if_tun.c:460 spec_close(ffff800020ee06e0) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd807b737348,7,fffffd807f7bfb40,ffff800020dddd48) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd80667f0b60,ffff800020dddd48) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80667f0b60,ffff800020dddd48) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd80667f0b60,ffff800020dddd48) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd80667f0b60,ffff800020dddd48) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020dddd48) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020dddd48,0,19,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff800020dddd48,19) at postsig+0x4ed sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff800020dddd48,19) at postsig+0x4ed sys/kern/kern_sig.c:1415 userret(ffff800020dddd48) at userret+0x199 sys/kern/kern_sig.c:1872 syscall(ffff800020ee0b60) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff800020ee0b60) at syscall+0x55f sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd1cd0, count: -15 ddb{0}> show registers rdi 0 rsi 0x61cf1 acpi_pdirpa+0x4db59 rbp 0xffff800020ee0560 rbx 0 rdx 0x61cf0 acpi_pdirpa+0x4db58 rcx 0xffffffff82728900 mbstat_boot_boot_cpumem rax 0 r8 0xffffffff81e1f217 witness_assert+0x207 r9 0x5 r10 0xcd17a435fd31955f r11 0xb9b2493d53ab8a8e r12 0xfffffd807f01ef00 r13 0x2000 __ALIGN_SIZE+0x1000 r14 0xfffffd0000000000 r15 0xfffffd0000000000 rip 0xffffffff81559808 m_free+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800020ee0520 ss 0x10 m_free+0x58: movswq 0x1c(%r14),%rsi ddb{0}> show proc PROC (syz-executor.0) pid=520194 stat=onproc flags process=a proc=2000 pri=17, usrpri=78, nice=20 forw=0xffffffffffffffff, list=0xffff800020ddc4e8,0xffff800020e38888 process=0xffff800020df07d0 user=0xffff800020edb000, vmspace=0xfffffd807efff5c0 estcpu=36, cpticks=2, pctcpu=0.10 user=0, sys=2, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 76480 138036 0 0 3 0x14200 acct acct 701 86867 0 0 3 0x14200 bored sosplice 20009 306721 41849 0 3 0x82 piperd syz-executor.1 41849 339686 94652 0 3 0x82 thrsleep syz-fuzzer 41849 5864 94652 0 2 0x4000482 syz-fuzzer 41849 220084 94652 0 3 0x4000082 thrsleep syz-fuzzer 41849 248862 94652 0 2 0x4000002 syz-fuzzer 41849 403475 94652 0 3 0x4000082 thrsleep syz-fuzzer 41849 80133 94652 0 3 0x4000082 thrsleep syz-fuzzer 41849 331361 94652 0 3 0x4000082 thrsleep syz-fuzzer 41849 52186 94652 0 3 0x4000082 thrsleep syz-fuzzer 41849 87806 94652 0 3 0x4000082 thrsleep syz-fuzzer 41849 498754 94652 0 2 0x4000082 syz-fuzzer 94652 385160 84730 0 3 0x10008a pause ksh 84730 139661 95128 0 3 0x92 select sshd 25124 280340 1 0 3 0x100083 ttyin getty 95128 161005 1 0 3 0x80 select sshd 91440 518388 23032 74 3 0x100092 bpf pflogd 23032 483303 1 0 3 0x80 netio pflogd 48102 493779 97705 73 7 0x100010 syslogd 97705 388688 1 0 3 0x100082 netio syslogd 56574 375503 1 77 3 0x100090 poll dhclient 24119 46430 1 0 3 0x80 poll dhclient 81410 291903 0 0 3 0x14200 bored smr 91143 221148 0 0 2 0x14200 zerothread 24437 475887 0 0 3 0x14200 aiodoned aiodoned 29491 160260 0 0 3 0x14200 syncer update 38315 272021 0 0 3 0x14200 cleaner cleaner 43137 500709 0 0 3 0x14200 reaper reaper 60441 264303 0 0 3 0x14200 pgdaemon pagedaemon 56326 250423 0 0 3 0x14200 bored crynlk 19175 223489 0 0 3 0x14200 bored crypto 49201 523410 0 0 3 0x40014200 acpi0 acpi0 55385 31051 0 0 3 0x40014200 idle1 17217 476537 0 0 3 0x14200 bored softnet 90911 260084 0 0 3 0x14200 bored systqmp 75538 174886 0 0 3 0x14200 bored systq 44293 114441 0 0 2 0x40014200 softclock 61435 316173 0 0 3 0x40014200 idle0 1 276475 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 9524 6426K 6693K 78643K 11305 0 pcb 13 8K 8K 78643K 97 0 rtable 105 10K 10K 78643K 438 0 ifaddr 87 17K 18K 78643K 170 0 sysctl 2 0K 0K 78643K 2 0 counters 43 33K 34K 78643K 67 0 ioctlops 0 0K 4K 78643K 1562 0 iov 0 0K 32K 78643K 86 0 mount 1 1K 1K 78643K 1 0 vnodes 1222 77K 77K 78643K 1458 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 13 0 VM map 2 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 35 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 4 9K 25K 78643K 517 0 sigio 0 0K 0K 78643K 17 0 proc 61 63K 95K 78643K 491 0 subproc 23 1K 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 35 0 in_multi 43 2K 2K 78643K 105 0 ether_multi 1 0K 0K 78643K 14 0 mrt 1 0K 0K 78643K 11 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 49 228K 228K 78643K 49 0 exec 0 0K 1K 78643K 228 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 138 120K 137K 78643K 2556 0 UVM aobj 27 4K 4K 78643K 32 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 87 0 NDP 13 0K 0K 78643K 34 0 temp 120 3864K 3928K 78643K 13519 0 kqueue 3 4K 10K 78643K 26 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 3 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 45 0 43 1 0 1 1 0 8 0 rtentry 112 63 0 36 2 0 2 2 0 8 0 unpcb 120 289 0 279 1 0 1 1 0 8 0 syncache 264 6 0 6 2 2 0 1 0 8 0 tcpqe 32 81 0 81 2 2 0 1 0 8 0 tcpcb 544 543 0 538 3 2 1 2 0 8 0 inpcb 296 1372 0 1364 5 3 2 2 0 8 0 rttmr 72 4 0 4 3 3 0 1 0 8 0 nd6 48 14 0 8 1 0 1 1 0 8 0 pkpcb 40 16 0 16 4 4 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 pfstscr 40 6 0 6 1 1 0 1 0 8 0 pffrag 232 2 0 2 2 1 1 1 0 482 1 pffrnode 88 2 0 2 2 1 1 1 0 8 1 pffrent 40 90 0 90 2 1 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 32 0 20 2 0 2 2 0 8 1 pfstitem 24 21 0 15 1 0 1 1 0 8 0 pfstkey 112 25 0 19 1 0 1 1 0 8 0 pfstate 328 22 0 16 2 1 1 2 0 8 0 pfrule 1360 37 0 21 3 1 2 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 355 0 178 17 4 13 13 0 8 1 art_table 32 357 0 178 2 0 2 2 0 8 0 art_node 16 62 0 38 1 0 1 1 0 8 0 sysvmsgpl 40 15 0 10 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 25 0 15 1 0 1 1 0 8 0 shmpl 112 29 0 5 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2129 0 727 89 0 89 89 0 8 0 ffsino 272 2129 0 727 95 0 95 95 0 8 0 nchpl 144 3161 0 1553 60 0 60 60 0 8 0 uvmvnodes 72 2325 0 0 43 0 43 43 0 8 0 vnodes 208 2325 0 0 123 0 123 123 0 8 0 namei 1024 8891 0 8891 5 4 1 1 0 8 1 percpumem 16 44 0 12 1 0 1 1 0 8 0 vcpupl 1984 14 0 0 2 0 2 2 0 8 0 vmpool 560 14 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 15 0 5 1 0 1 1 0 8 0 scsiplug 64 2 0 2 2 2 0 1 0 8 0 scxspl 192 9730 0 9730 9 8 1 7 0 8 1 plimitpl 152 47 0 39 1 0 1 1 0 8 0 sigapl 424 734 0 702 4 0 4 4 0 8 0 futexpl 56 9608 0 9608 5 4 1 1 0 8 1 knotepl 112 85 0 66 1 0 1 1 0 8 0 kqueuepl 144 86 0 83 1 0 1 1 0 8 0 pipepl 304 145 0 135 4 2 2 2 0 8 1 fdescpl 496 717 0 702 3 0 3 3 0 8 0 filepl 152 5199 0 5109 5 0 5 5 0 8 1 lockfpl 104 113 0 112 1 0 1 1 0 8 0 lockfspl 48 44 0 43 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 24 0 13 1 0 1 1 0 8 0 ucredpl 96 514 0 505 1 0 1 1 0 8 0 zombiepl 144 703 0 702 1 0 1 1 0 8 0 processpl 992 734 0 702 5 0 5 5 0 8 0 procpl 624 1766 0 1725 4 0 4 4 0 8 0 srpgc 64 2 0 2 1 1 0 1 0 8 0 sosppl 128 6 0 6 3 2 1 1 0 8 1 sockpl 400 1725 0 1705 10 7 3 4 0 8 0 mcl64k 65536 7 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 8 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 11 0 0 2 0 2 2 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 181 0 0 22 0 22 22 0 8 0 mtagpl 96 53 0 0 2 0 2 2 0 8 0 mbufpl 256 445 0 0 22 0 22 22 0 8 0 bufpl 280 4964 0 145 345 0 345 345 0 8 0 anonpl 16 76675 0 59702 85 16 69 76 0 124 0 amapchunkpl 152 4974 0 4810 43 22 21 21 0 158 14 amappl16 192 3698 0 2793 56 10 46 50 0 8 0 amappl15 184 2 0 0 1 0 1 1 0 8 0 amappl14 176 24 0 20 1 0 1 1 0 8 0 amappl13 168 37 0 33 1 0 1 1 0 8 0 amappl12 160 8 0 7 3 2 1 1 0 8 0 amappl11 152 54 0 39 1 0 1 1 0 8 0 amappl10 144 69 0 62 1 0 1 1 0 8 0 amappl9 136 387 0 385 1 0 1 1 0 8 0 amappl8 128 347 0 314 2 0 2 2 0 8 0 amappl7 120 174 0 162 1 0 1 1 0 8 0 amappl6 112 20 0 19 1 0 1 1 0 8 0 amappl5 104 624 0 608 1 0 1 1 0 8 0 amappl4 96 494 0 463 1 0 1 1 0 8 0 amappl3 88 122 0 116 1 0 1 1 0 8 0 amappl2 80 4792 0 4733 2 0 2 2 0 8 0 amappl1 72 24983 0 24557 23 13 10 18 0 8 0 amappl 80 2017 0 1965 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 31 0 5 1 0 1 1 0 8 0 uaddrrnd 24 731 0 702 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 731 0 702 1 0 1 1 0 8 0 vmmpekpl 168 9862 0 9821 2 0 2 2 0 8 0 vmmpepl 168 93476 0 91481 122 26 96 117 0 357 0 vmsppl 368 730 0 702 3 0 3 3 0 8 0 pdppl 4096 1469 0 1418 7 0 7 7 0 8 0 pvpl 32 251070 0 231290 202 36 166 179 0 265 4 pmappl 232 730 0 702 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 292 0 20 8 0 8 8 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(ffff800020ee05b8) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800020ee05b8) at ml_purge+0x50 sys/kern/uipc_mbuf.c:1628 ifq_purge(ffff800000ac6278) at ifq_purge+0x9a sys/net/ifq.c:529 tun_dev_close(5d00,7) at tun_dev_close+0xc8 sys/net/if_tun.c:460 spec_close(ffff800020ee06e0) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd807b737348,7,fffffd807f7bfb40,ffff800020dddd48) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd80667f0b60,ffff800020dddd48) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80667f0b60,ffff800020dddd48) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd80667f0b60,ffff800020dddd48) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd80667f0b60,ffff800020dddd48) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020dddd48) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020dddd48,0,19,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff800020dddd48,19) at postsig+0x4ed sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff800020dddd48,19) at postsig+0x4ed sys/kern/kern_sig.c:1415 userret(ffff800020dddd48) at userret+0x199 sys/kern/kern_sig.c:1872 syscall(ffff800020ee0b60) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff800020ee0b60) at syscall+0x55f sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd1cd0, 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(ffffffff828c8560) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828c8560) at __mp_lock+0x127 sys/kern/kern_lock.c:147 vn_read(fffffd806ead9e48,ffff800020e53e98,0) at vn_read+0x45 sys/kern/vfs_vnops.c:357 dofilereadv(ffff800020e3f4f0,a,ffff800020e53e98,0,ffff800020e53f80) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020e3f4f0,ffff800020e53f30,ffff800020e53f80) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800020e54000) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e54000) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbb4e0, count: -9