login: 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: 0xffff800022cff860, count: 0 ddb{0}> trace m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 ml_purge(ffff800022cff878) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800022cff878) at ml_purge+0x50 sys/kern/uipc_mbuf.c:1628 ifq_purge(ffff800000b28278) 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(ffff800022cff9a0) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd807e4679e0,7,fffffd807f7bf9c0,ffff800020e46eb8) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd806972c738,ffff800020e46eb8) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd806972c738,ffff800020e46eb8) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd806972c738,ffff800020e46eb8) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd806972c738,ffff800020e46eb8) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020e46eb8) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020e46eb8,0,19,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff800020e46eb8,19) at postsig+0x4ed sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff800020e46eb8,19) at postsig+0x4ed sys/kern/kern_sig.c:1415 userret(ffff800020e46eb8) at userret+0x199 sys/kern/kern_sig.c:1872 syscall(ffff800022cffe20) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff800022cffe20) at syscall+0x55f sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffea7f0, count: -15 ddb{0}> show registers rdi 0 rsi 0x4fccd acpi_pdirpa+0x3bb35 rbp 0xffff800022cff820 rbx 0 rdx 0x4fccc acpi_pdirpa+0x3bb34 rcx 0xffffffff827823c0 mbstat_boot_boot_cpumem rax 0 r8 0xffffffff810ebbe7 witness_assert+0x207 r9 0x5 r10 0xaeb3dd20efd5528c r11 0x625988fda44e9124 r12 0xfffffd8066056600 r13 0x2000 __ALIGN_SIZE+0x1000 r14 0xfffffd0000000000 r15 0xfffffd0000000000 rip 0xffffffff81e86418 m_free+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800022cff7e0 ss 0x10 m_free+0x58: movswq 0x1c(%r14),%rsi ddb{0}> show proc PROC (syz-executor.1) pid=50257 stat=onproc flags process=a proc=2000 pri=17, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020e469d8,0xffff800020e46028 process=0xffff800020dfdb08 user=0xffff800022cfa000, vmspace=0xfffffd807f000170 estcpu=36, cpticks=2, pctcpu=0.14 user=0, sys=2, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 33143 224749 77363 0 2 0 syz-executor.0 33143 361642 77363 0 3 0x4000080 pipewr syz-executor.0 60018 219363 1 0 3 0x100083 ttyin getty 77363 46893 10162 0 7 0x482 syz-executor.0 4528 368116 0 0 3 0x14200 bored sosplice 10162 442849 73149 0 3 0x82 thrsleep syz-fuzzer 10162 355200 73149 0 2 0x4000002 syz-fuzzer 10162 329408 73149 0 3 0x4000082 thrsleep syz-fuzzer 10162 337645 73149 0 2 0x4000082 syz-fuzzer 10162 119628 73149 0 3 0x4000082 thrsleep syz-fuzzer 10162 521114 73149 0 3 0x4000082 thrsleep syz-fuzzer 10162 390133 73149 0 3 0x4000082 thrsleep syz-fuzzer 10162 460980 73149 0 3 0x4000082 thrsleep syz-fuzzer 10162 307274 73149 0 3 0x4000082 thrsleep syz-fuzzer 10162 98235 73149 0 3 0x4000082 thrsleep syz-fuzzer 73149 195649 22007 0 3 0x10008a pause ksh 22007 6437 42824 0 3 0x92 select sshd 42824 52822 1 0 3 0x80 select sshd 52581 402500 445 74 3 0x100092 bpf pflogd 445 161887 1 0 3 0x80 netio pflogd 1336 271575 57262 73 3 0x100090 kqread syslogd 57262 290704 1 0 3 0x100082 netio syslogd 69880 32693 1 77 3 0x100090 poll dhclient 18801 247391 1 0 2 0x480 dhclient 32548 4958 0 0 3 0x14200 bored smr 29201 386093 0 0 2 0x14200 zerothread 55542 106917 0 0 3 0x14200 aiodoned aiodoned 19905 130873 0 0 3 0x14200 syncer update 18190 164613 0 0 3 0x14200 cleaner cleaner 24077 159322 0 0 3 0x14200 reaper reaper 25290 211143 0 0 3 0x14200 pgdaemon pagedaemon 80752 11016 0 0 3 0x14200 bored crynlk 85118 275580 0 0 3 0x14200 bored crypto 13767 246609 0 0 3 0x40014200 acpi0 acpi0 59334 452724 0 0 3 0x40014200 idle1 78886 23902 0 0 3 0x14200 bored softnet 39610 423134 0 0 3 0x14200 bored systqmp 33453 436937 0 0 3 0x14200 bored systq 30270 450863 0 0 3 0x40014200 bored softclock 3880 215708 0 0 3 0x40014200 idle0 1 331998 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 9532 6430K 7304K 78643K 15197 0 pcb 13 8K 8K 78643K 286 0 rtable 118 6K 7K 78643K 675 0 ifaddr 88 18K 18K 78643K 231 0 counters 43 33K 34K 78643K 83 0 ioctlops 0 0K 4K 78643K 1694 0 iov 0 0K 24K 78643K 115 0 mount 1 1K 1K 78643K 1 0 vnodes 1236 78K 78K 78643K 2723 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 1K 78643K 279 0 dirhash 6 1K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 3388 0 sigio 1 0K 0K 78643K 13 0 proc 62 63K 83K 78643K 781 0 subproc 23 1K 2K 78643K 73 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 275 0 in_multi 61 3K 3K 78643K 269 0 ether_multi 1 0K 0K 78643K 60 0 mrt 0 0K 0K 78643K 43 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 67 307K 307K 78643K 67 0 exec 0 0K 1K 78643K 365 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 119 22K 30K 78643K 8851 0 UVM aobj 32 7K 7K 78643K 37 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 1K 78643K 268 0 NDP 13 0K 0K 78643K 41 0 temp 152 3869K 3936K 78643K 41389 0 kqueue 3 4K 12K 78643K 160 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 103 0 101 1 0 1 1 0 8 0 rtentry 112 99 0 55 2 0 2 2 0 8 0 unpcb 120 1046 0 1027 1 0 1 1 0 8 0 syncache 264 30 0 30 6 5 1 1 0 8 1 tcpqe 32 37 0 37 5 5 0 1 0 8 0 tcpcb 544 794 0 782 5 3 2 2 0 8 0 inpcb 296 2013 0 1998 3 1 2 2 0 8 0 rttmr 72 15 0 15 2 1 1 1 0 8 1 nd6 48 13 0 7 1 0 1 1 0 8 0 pfstscr 40 10 0 10 1 1 0 1 0 8 0 pffrag 232 12 0 7 3 2 1 1 0 482 0 pffrnode 88 9 0 7 3 2 1 1 0 8 0 pffrent 40 230 0 225 3 2 1 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 23 0 19 1 0 1 1 0 8 0 pfstitem 24 16 0 14 1 0 1 1 0 8 0 pfstkey 112 26 0 24 1 0 1 1 0 8 0 pfstate 328 21 0 19 2 1 1 2 0 8 0 pfrule 1360 72 0 27 5 1 4 4 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 312 0 116 14 1 13 13 0 8 0 art_table 32 313 0 116 2 0 2 2 0 8 0 art_node 16 93 0 54 1 0 1 1 0 8 0 sysvmsgpl 40 37 0 29 1 0 1 1 0 8 0 semapl 112 277 0 267 1 0 1 1 0 8 0 shmpl 112 35 0 5 1 0 1 1 0 8 0 dirhash 1024 17 0 13 3 1 2 3 0 8 0 dino2pl 256 5986 0 4577 91 2 89 89 0 8 0 ffsino 272 5986 0 4577 95 0 95 95 0 8 0 nchpl 144 10119 0 8528 60 0 60 60 0 8 0 uvmvnodes 72 5926 0 0 108 0 108 108 0 8 0 vnodes 208 5926 0 0 312 0 312 312 0 8 0 namei 1024 26625 0 26625 2 1 1 1 0 8 1 percpumem 16 52 0 20 1 0 1 1 0 8 0 vmpool 560 5 0 5 1 1 0 1 0 8 0 pfiaddrpl 120 11 0 6 1 0 1 1 0 8 0 scsiplug 64 17 0 17 3 3 0 1 0 8 0 scxspl 192 31100 0 31100 8 7 1 6 0 8 1 plimitpl 152 217 0 209 1 0 1 1 0 8 0 sigapl 424 3599 0 3567 4 0 4 4 0 8 0 futexpl 56 23560 0 23560 2 1 1 1 0 8 1 knotepl 112 248 0 229 1 0 1 1 0 8 0 kqueuepl 144 255 0 253 1 0 1 1 0 8 0 pipepl 304 246 0 235 4 3 1 2 0 8 0 fdescpl 496 3583 0 3567 3 0 3 3 0 8 0 filepl 152 12995 0 12903 6 1 5 6 0 8 1 lockfpl 104 827 0 826 1 0 1 1 0 8 0 lockfspl 48 290 0 289 1 0 1 1 0 8 0 sessionpl 112 21 0 10 1 0 1 1 0 8 0 pgrppl 48 21 0 10 1 0 1 1 0 8 0 ucredpl 96 2286 0 2276 1 0 1 1 0 8 0 zombiepl 144 3568 0 3567 1 0 1 1 0 8 0 processpl 984 3599 0 3567 5 0 5 5 0 8 0 procpl 624 7906 0 7864 4 0 4 4 0 8 0 srpgc 64 2 0 2 1 1 0 1 0 8 0 sosppl 128 34 0 31 3 2 1 1 0 8 0 sockpl 400 3192 0 3156 8 3 5 5 0 8 0 mcl64k 65536 20 0 0 3 0 3 3 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 29 0 0 4 2 2 3 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 195 0 0 19 0 19 19 0 8 0 mtagpl 96 201 0 0 4 0 4 4 0 8 0 mbufpl 256 1000 0 0 58 0 58 58 0 8 0 bufpl 280 8711 0 2476 446 0 446 446 0 8 0 anonpl 16 237477 0 228318 46 6 40 40 0 124 2 amapchunkpl 152 14422 0 14306 26 21 5 19 0 158 0 amappl16 192 13574 0 13125 31 6 25 25 0 8 2 amappl15 184 2 0 0 1 0 1 1 0 8 0 amappl14 176 2355 0 2349 1 0 1 1 0 8 0 amappl13 168 46 0 43 1 0 1 1 0 8 0 amappl12 160 15 0 13 1 0 1 1 0 8 0 amappl11 152 2391 0 2374 1 0 1 1 0 8 0 amappl10 144 16 0 12 1 0 1 1 0 8 0 amappl9 136 388 0 387 1 0 1 1 0 8 0 amappl8 128 400 0 363 2 0 2 2 0 8 0 amappl7 120 148 0 134 1 0 1 1 0 8 0 amappl6 112 1090 0 1081 1 0 1 1 0 8 0 amappl5 104 1134 0 1119 1 0 1 1 0 8 0 amappl4 96 2865 0 2834 1 0 1 1 0 8 0 amappl3 88 1391 0 1386 1 0 1 1 0 8 0 amappl2 80 27693 0 27625 2 0 2 2 0 8 0 amappl1 72 71506 0 71057 23 13 10 18 0 8 0 amappl 80 8197 0 8158 1 0 1 1 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 36 0 5 1 0 1 1 0 8 0 uaddrrnd 24 3588 0 3572 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3588 0 3572 1 0 1 1 0 8 0 vmmpekpl 168 21171 0 21130 2 0 2 2 0 8 0 vmmpepl 168 409924 0 408313 102 24 78 85 0 357 2 vmsppl 368 3587 0 3572 2 0 2 2 0 8 0 pdppl 4096 7183 0 7144 6 0 6 6 0 8 0 pvpl 32 865429 0 853107 151 38 113 113 0 265 12 pmappl 232 3587 0 3572 3 2 1 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 324 0 16 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(ffff800022cff878) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800022cff878) at ml_purge+0x50 sys/kern/uipc_mbuf.c:1628 ifq_purge(ffff800000b28278) 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(ffff800022cff9a0) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd807e4679e0,7,fffffd807f7bf9c0,ffff800020e46eb8) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd806972c738,ffff800020e46eb8) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd806972c738,ffff800020e46eb8) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd806972c738,ffff800020e46eb8) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd806972c738,ffff800020e46eb8) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020e46eb8) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020e46eb8,0,19,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff800020e46eb8,19) at postsig+0x4ed sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff800020e46eb8,19) at postsig+0x4ed sys/kern/kern_sig.c:1415 userret(ffff800020e46eb8) at userret+0x199 sys/kern/kern_sig.c:1872 syscall(ffff800022cffe20) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff800022cffe20) at syscall+0x55f sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffea7f0, 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 __sanitizer_cov_trace_cmp4(ffffffff828f8e38,ffffffff828f8e38) at __sanitizer_cov_trace_cmp4 __mp_acquire_count(ffffffff828f8e38,1) 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(ffff800024102ee0,1) at sleep_finish+0x113 sys/kern/kern_synch.c:418 sleep_finish_all(ffff800024102ee0,1) at sleep_finish_all+0x32 sleep_finish_timeout sys/kern/kern_synch.c:447 [inline] sleep_finish_all(ffff800024102ee0,1) at sleep_finish_all+0x32 sys/kern/kern_synch.c:393 tsleep(ffffffff8285402c,120,ffffffff823ee7bd,2) at tsleep+0x1cc sys/kern/kern_synch.c:155 sys_nanosleep(ffff800020e47398,ffff800024103010,ffff800024103060) at sys_nanosleep+0x205 sys/kern/kern_time.c:297 syscall(ffff8000241030e0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000241030e0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe19e0, count: -12