uvm_fault(0xffffffff827fad80, 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(0xffffffff827fad80, 0xfffffd000000001c, 0, 1) -> e m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 end trace frame: 0xffff800020edd970, count: 0 ddb{0}> trace m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 ml_purge(ffff800020edd988) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800020edd988) 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(ffff800020eddab0) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806e677278,7,fffffd807f7bf840,ffff800020dddd48) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd80667be570,ffff800020dddd48) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80667be570,ffff800020dddd48) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd80667be570,ffff800020dddd48) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd80667be570,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 Xsyscall() at Xsyscall+0x156 end of kernel end trace frame: 0x7f7fffff3760, count: -14 ddb{0}> show registers rdi 0 rsi 0x67d65 acpi_pdirpa+0x53bcd rbp 0xffff800020edd930 rbx 0 rdx 0x67d64 acpi_pdirpa+0x53bcc rcx 0xffffffff82796b00 mbstat_boot_boot_cpumem rax 0 r8 0xffffffff820162e7 witness_assert+0x207 r9 0x5 r10 0x989904f250d3da53 r11 0x61e421df378dd075 r12 0xfffffd806d665900 r13 0x2000 __ALIGN_SIZE+0x1000 r14 0xfffffd0000000000 r15 0xfffffd0000000000 rip 0xffffffff82084c08 m_free+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800020edd8f0 ss 0x10 m_free+0x58: movswq 0x1c(%r14),%rsi ddb{0}> show proc PROC (syz-executor.0) pid=139356 stat=onproc flags process=a proc=2000 pri=17, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020ddcc38,0xffff800020e22298 process=0xffff800020df07c0 user=0xffff800020ed8000, vmspace=0xfffffd807f000cf0 estcpu=36, cpticks=3, pctcpu=0.45 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 82459 408822 96604 0 3 0x82 nanosleep syz-executor.1 39082 426182 1 0 3 0x100083 ttyin getty 56454 244606 0 0 3 0x14200 bored sosplice 96604 326351 21881 0 3 0x82 thrsleep syz-fuzzer 96604 494596 21881 0 3 0x4000082 nanosleep syz-fuzzer 96604 307085 21881 0 3 0x4000082 thrsleep syz-fuzzer 96604 191976 21881 0 3 0x4000082 thrsleep syz-fuzzer 96604 84646 21881 0 3 0x4000082 thrsleep syz-fuzzer 96604 491762 21881 0 3 0x4000082 thrsleep syz-fuzzer 96604 247668 21881 0 3 0x4000082 thrsleep syz-fuzzer 96604 411972 21881 0 7 0x4000082 syz-fuzzer 96604 352905 21881 0 3 0x4000082 thrsleep syz-fuzzer 96604 264883 21881 0 3 0x4000082 thrsleep syz-fuzzer 21881 162871 86789 0 3 0x10008a pause ksh 86789 425833 32865 0 2 0x92 sshd 32865 18810 1 0 2 0x80 sshd 733 370475 43350 74 3 0x100092 bpf pflogd 43350 29076 1 0 3 0x80 netio pflogd 67320 494390 31058 73 3 0x100090 kqread syslogd 31058 296488 1 0 3 0x100082 netio syslogd 42095 505837 1 77 2 0x100090 dhclient 88235 394098 1 0 2 0x80 dhclient 90325 205855 0 0 3 0x14200 bored smr 52518 96741 0 0 2 0x14200 zerothread 82885 185262 0 0 3 0x14200 aiodoned aiodoned 44115 237546 0 0 3 0x14200 syncer update 83378 187867 0 0 3 0x14200 cleaner cleaner 78529 404938 0 0 3 0x14200 reaper reaper 4859 286149 0 0 3 0x14200 pgdaemon pagedaemon 32285 269232 0 0 3 0x14200 bored crynlk 31484 3791 0 0 3 0x14200 bored crypto 66385 126915 0 0 3 0x40014200 acpi0 acpi0 83545 120263 0 0 3 0x40014200 idle1 26086 170109 0 0 3 0x14200 bored softnet 68499 389547 0 0 3 0x14200 bored systqmp 52738 444473 0 0 3 0x14200 bored systq 42547 139903 0 0 3 0x40014200 bored softclock 1245 118491 0 0 3 0x40014200 idle0 1 345635 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 9521 6418K 7139K 78643K 12069 0 pcb 13 8K 8K 78643K 88 0 rtable 129 16K 17K 78643K 514 0 ifaddr 81 16K 16K 78643K 167 0 sysctl 2 0K 0K 78643K 2 0 counters 43 33K 34K 78643K 63 0 ioctlops 0 0K 4K 78643K 1567 0 iov 0 0K 18K 78643K 312 0 mount 1 1K 1K 78643K 1 0 vnodes 1221 77K 77K 78643K 1649 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 26 0 VM map 2 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 51 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 4 9K 25K 78643K 1202 0 sigio 0 0K 0K 78643K 8 0 proc 62 63K 95K 78643K 558 0 subproc 23 1K 2K 78643K 51 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 64 3K 3K 78643K 198 0 ether_multi 1 0K 0K 78643K 16 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 55 254K 254K 78643K 55 0 exec 0 0K 1K 78643K 269 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 168 139K 155K 78643K 4468 0 UVM aobj 32 7K 7K 78643K 33 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 70 0 NDP 12 0K 0K 78643K 45 0 temp 127 3867K 3935K 78643K 19548 0 kqueue 3 4K 16K 78643K 41 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 11 0 4 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 59 0 57 1 0 1 1 0 8 0 rtentry 112 121 0 78 2 0 2 2 0 8 0 unpcb 120 1918 0 1908 2 1 1 2 0 8 0 syncache 264 11 0 11 5 5 0 1 0 8 0 tcpqe 32 30 0 30 3 3 0 1 0 8 0 tcpcb 544 206 0 197 1 0 1 1 0 8 0 inpcb 296 1247 0 1235 3 1 2 2 0 8 0 rttmr 72 4 0 4 4 3 1 1 0 8 1 nd6 48 39 0 34 1 0 1 1 0 8 0 pkpcb 40 6 0 6 2 2 0 1 0 8 0 ppxss 1128 3 0 3 2 2 0 1 0 8 0 pfstscr 40 1 0 1 1 1 0 1 0 8 0 pffrag 232 5 0 4 3 2 1 1 0 482 0 pffrnode 88 5 0 4 3 2 1 1 0 8 0 pffrent 40 12 0 11 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 19 0 10 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 30 0 18 1 0 1 1 0 8 0 pfstkey 112 32 0 20 1 0 1 1 0 8 0 pfstate 328 31 0 19 3 0 3 3 0 8 1 pfrule 1360 40 0 21 3 1 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 522 0 331 16 4 12 16 0 8 0 art_table 32 523 0 331 2 0 2 2 0 8 0 art_node 16 120 0 80 1 0 1 1 0 8 0 sysvmsgpl 40 28 0 22 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 41 0 31 1 0 1 1 0 8 0 shmpl 112 31 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2918 0 1510 90 1 89 89 0 8 0 ffsino 272 2918 0 1510 95 0 95 95 0 8 0 nchpl 144 4906 0 3316 60 0 60 60 0 8 0 uvmvnodes 72 3314 0 0 61 0 61 61 0 8 0 vnodes 208 3314 0 0 175 0 175 175 0 8 0 namei 1024 14015 0 14015 2 1 1 1 0 8 1 percpumem 16 42 0 10 1 0 1 1 0 8 0 vcpupl 1984 11 0 0 2 0 2 2 0 8 0 vmpool 560 21 0 10 1 0 1 1 0 8 0 pfiaddrpl 120 13 0 5 1 0 1 1 0 8 0 scxspl 192 14051 0 14051 11 10 1 7 0 8 1 plimitpl 152 68 0 60 1 0 1 1 0 8 0 sigapl 424 1416 0 1385 4 0 4 4 0 8 0 futexpl 56 15404 0 15404 1 0 1 1 0 8 1 knotepl 112 122 0 103 1 0 1 1 0 8 0 kqueuepl 144 128 0 123 1 0 1 1 0 8 0 pipepl 304 215 0 205 4 2 2 2 0 8 1 fdescpl 496 1400 0 1385 3 0 3 3 0 8 0 filepl 152 8565 0 8475 6 1 5 6 0 8 1 lockfpl 104 154 0 153 1 0 1 1 0 8 0 lockfspl 48 54 0 53 1 0 1 1 0 8 0 sessionpl 112 20 0 9 1 0 1 1 0 8 0 pgrppl 48 20 0 9 1 0 1 1 0 8 0 ucredpl 96 900 0 891 1 0 1 1 0 8 0 zombiepl 144 1386 0 1384 1 0 1 1 0 8 0 processpl 984 1416 0 1384 5 0 5 5 0 8 0 procpl 624 3570 0 3529 4 0 4 4 0 8 0 sosppl 128 17 0 17 4 3 1 1 0 8 1 sockpl 400 3232 0 3208 8 3 5 6 0 8 2 mcl64k 65536 514 0 0 65 0 65 65 0 8 1 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 13 0 0 2 0 2 2 0 8 0 mcl9k 9216 6 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 14 0 0 2 0 2 2 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 152 0 0 18 0 18 18 0 8 0 mtagpl 96 107 0 0 3 0 3 3 0 8 0 mbufpl 256 768 0 0 47 0 47 47 0 8 0 bufpl 280 5481 0 158 381 0 381 381 0 8 0 anonpl 16 127401 0 110963 95 24 71 82 0 124 2 amapchunkpl 152 7299 0 7156 13 5 8 11 0 158 0 amappl16 192 5695 0 4781 71 23 48 58 0 8 2 amappl15 184 252 0 250 1 0 1 1 0 8 0 amappl14 176 23 0 19 1 0 1 1 0 8 0 amappl13 168 566 0 562 1 0 1 1 0 8 0 amappl12 160 575 0 571 1 0 1 1 0 8 0 amappl11 152 57 0 42 1 0 1 1 0 8 0 amappl10 144 14 0 11 1 0 1 1 0 8 0 amappl9 136 726 0 725 1 0 1 1 0 8 0 amappl8 128 408 0 365 3 1 2 2 0 8 0 amappl7 120 127 0 114 1 0 1 1 0 8 0 amappl6 112 32 0 25 1 0 1 1 0 8 0 amappl5 104 1271 0 1252 1 0 1 1 0 8 0 amappl4 96 506 0 479 1 0 1 1 0 8 0 amappl3 88 143 0 136 1 0 1 1 0 8 0 amappl2 80 10462 0 10395 2 0 2 2 0 8 0 amappl1 72 36931 0 36501 23 13 10 18 0 8 0 amappl 80 3863 0 3810 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 32 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1421 0 1395 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1421 0 1395 1 0 1 1 0 8 0 vmmpekpl 168 12906 0 12874 2 0 2 2 0 8 0 vmmpepl 168 170912 0 168903 153 30 123 127 0 357 25 vmsppl 368 1420 0 1395 3 0 3 3 0 8 0 pdppl 4096 2849 0 2801 8 1 7 7 0 8 0 pvpl 32 375123 0 355585 204 26 178 194 0 265 16 pmappl 232 1420 0 1395 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 370 0 13 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(ffff800020edd988) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800020edd988) 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(ffff800020eddab0) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806e677278,7,fffffd807f7bf840,ffff800020dddd48) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd80667be570,ffff800020dddd48) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80667be570,ffff800020dddd48) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd80667be570,ffff800020dddd48) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd80667be570,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 Xsyscall() at Xsyscall+0x156 end of kernel end trace frame: 0x7f7fffff3760, 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 __mp_lock(ffffffff828b02d0) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828b02d0) at __mp_lock+0x127 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff828b02d0,2) at __mp_acquire_count+0x51 sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x392 sys/kern/sched_bsd.c:435 sleep_finish(ffff800020ea72c0,1) at sleep_finish+0x113 sys/kern/kern_synch.c:418 sleep_finish_all(ffff800020ea72c0,1) at sleep_finish_all+0x32 sleep_finish_timeout sys/kern/kern_synch.c:447 [inline] sleep_finish_all(ffff800020ea72c0,1) at sleep_finish_all+0x32 sys/kern/kern_synch.c:393 tsleep(fffffd806e93bbd0,118,ffffffff824632a5,0) at tsleep+0x1cc sys/kern/kern_synch.c:155 kqueue_sleep(fffffd806e93bbd0,0) at kqueue_sleep+0x1a0 sys/kern/kern_event.c:885 kqueue_scan(fffffd806e93bbd0,40,c000107698,0,ffff800020ddc758,ffff800020ea779c) at kqueue_scan+0x2b6 sys/kern/kern_event.c:928 sys_kevent(ffff800020ddc758,ffff800020ea7810,ffff800020ea7860) at sys_kevent+0x464 sys/kern/kern_event.c:640 syscall(ffff800020ea78e0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020ea78e0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc000107e98, count: -14