uvm_fault(0xffffffff827d7088, 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(0xffffffff827d7088, 0xfffffd000000001c, 0, 1) -> e m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 end trace frame: 0xffff8000230e2fa0, count: 0 ddb{0}> trace m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 ml_purge(ffff8000230e2fb8) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff8000230e2fb8) 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(ffff8000230e30e0) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806ed621a8,7,fffffd807f7bf960,ffff800020e09398) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd80666bc610,ffff800020e09398) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80666bc610,ffff800020e09398) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd80666bc610,ffff800020e09398) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd80666bc610,ffff800020e09398) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020e09398) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020e09398,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff800020e09398,ffff8000230e3370,ffff8000230e33c0) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff8000230e3440) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000230e3440) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe37e0, count: -14 ddb{0}> show registers rdi 0 rsi 0x6f68f acpi_pdirpa+0x5b4f7 rbp 0xffff8000230e2f60 rbx 0 rdx 0x6f68e acpi_pdirpa+0x5b4f6 rcx 0xffffffff82736380 mbstat_boot_boot_cpumem rax 0 r8 0xffffffff81c8d277 witness_assert+0x207 r9 0x5 r10 0xcb08cc8882352ebe r11 0xb069776117c327de r12 0xfffffd80686b6b00 r13 0x2000 __ALIGN_SIZE+0x1000 r14 0xfffffd0000000000 r15 0xfffffd0000000000 rip 0xffffffff819653a8 m_free+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000230e2f20 ss 0x10 m_free+0x58: movswq 0x1c(%r14),%rsi ddb{0}> show proc PROC (syz-executor.0) pid=478093 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020e089d8,0xffffffff8291b4c0 process=0xffff800020e22028 user=0xffff8000230de000, vmspace=0xfffffd806402f468 estcpu=36, cpticks=5, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 53705 485058 0 0 3 0x14200 acct acct 5083 95053 0 0 3 0x14280 nfsidl nfsio 43360 423700 0 0 3 0x14280 nfsidl nfsio 55896 100637 0 0 3 0x14280 nfsidl nfsio 81461 154531 0 0 3 0x14280 nfsidl nfsio 48320 215875 0 0 3 0x14280 nfsidl nfsio 3661 356955 0 0 3 0x14280 nfsidl nfsio 18686 55610 0 0 3 0x14280 nfsidl nfsio 25466 41375 0 0 3 0x14280 nfsidl nfsio 62655 520005 0 0 3 0x14280 nfsidl nfsio 31997 222783 0 0 3 0x14280 nfsidl nfsio 26239 491997 0 0 3 0x14280 nfsidl nfsio 31495 470168 0 0 3 0x14280 nfsidl nfsio 48039 485215 0 0 3 0x14280 nfsidl nfsio 89973 390762 0 0 3 0x14280 nfsidl nfsio 47424 379528 0 0 3 0x14280 nfsidl nfsio 30637 264129 0 0 3 0x14280 nfsidl nfsio 20212 29627 0 0 3 0x14280 nfsidl nfsio 61947 314453 0 0 3 0x14280 nfsidl nfsio 93286 477405 0 0 3 0x14280 nfsidl nfsio 55254 176755 0 0 3 0x14280 nfsidl nfsio 69586 514921 41945 0 3 0x82 piperd syz-executor.1 51490 197225 0 0 3 0x14200 bored sosplice 41945 513493 1779 0 3 0x82 thrsleep syz-fuzzer 41945 359821 1779 0 3 0x4000082 nanosleep syz-fuzzer 41945 431346 1779 0 2 0x4000002 syz-fuzzer 41945 13327 1779 0 3 0x4000082 thrsleep syz-fuzzer 41945 293133 1779 0 3 0x4000082 thrsleep syz-fuzzer 41945 366 1779 0 3 0x4000082 thrsleep syz-fuzzer 41945 18546 1779 0 2 0x4000082 syz-fuzzer 41945 369954 1779 0 3 0x4000082 thrsleep syz-fuzzer 41945 113929 1779 0 3 0x4000082 thrsleep syz-fuzzer 41945 115755 1779 0 3 0x4000082 thrsleep syz-fuzzer 1779 94044 72088 0 3 0x10008a pause ksh 72088 439631 29087 0 3 0x92 select sshd 52757 299848 1 0 3 0x100083 ttyin getty 29087 197805 1 0 3 0x80 select sshd 83981 436589 54257 74 3 0x100092 bpf pflogd 54257 165470 1 0 3 0x80 netio pflogd 63933 182785 78282 73 2 0x100010 syslogd 78282 342534 1 0 3 0x100082 netio syslogd 14315 466711 1 77 3 0x100090 poll dhclient 39560 248736 1 0 3 0x80 poll dhclient 87470 395109 0 0 3 0x14200 bored smr 61857 375758 0 0 2 0x14200 zerothread 10659 121761 0 0 3 0x14200 aiodoned aiodoned 76471 403636 0 0 3 0x14200 syncer update 30638 356844 0 0 3 0x14200 cleaner cleaner 88286 252564 0 0 7 0x14200 reaper 17514 301836 0 0 3 0x14200 pgdaemon pagedaemon 66539 101761 0 0 3 0x14200 bored crynlk 26069 343447 0 0 3 0x14200 bored crypto 20558 343634 0 0 3 0x40014200 acpi0 acpi0 77926 164403 0 0 3 0x40014200 idle1 61117 39412 0 0 3 0x14200 bored softnet 46412 311397 0 0 3 0x14200 bored systqmp 1574 71963 0 0 3 0x14200 bored systq 66656 16819 0 0 3 0x40014200 bored softclock 9244 126852 0 0 3 0x40014200 idle0 1 81043 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 63933 (syslogd) thread 0xffff800020e41600 (182785) exclusive rrwlock inode r = 0 (0xfffffd806ec52d58) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 rw_enter+0x453 sys/kern/kern_rwlock.c:311 #2 rrw_enter+0x88 sys/kern/kern_rwlock.c:462 #3 VOP_LOCK+0x4b sys/kern/vfs_vops.c:603 #4 vn_lock+0x81 sys/kern/vfs_vnops.c:575 #5 sys_fsync+0x113 sys/kern/vfs_syscalls.c:2874 #6 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #6 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #7 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9554 6427K 7452K 78643K 17636 0 pcb 13 8K 8K 78643K 289 0 rtable 107 7K 9K 78643K 1052 0 ifaddr 111 22K 23K 78643K 406 0 counters 43 33K 34K 78643K 107 0 ioctlops 0 0K 4K 78643K 1775 0 iov 0 0K 24K 78643K 301 0 mount 1 1K 1K 78643K 1 0 vnodes 1229 77K 78K 78643K 3084 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 29 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 508 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 4 9K 25K 78643K 1898 0 sigio 0 0K 0K 78643K 61 0 proc 63 63K 95K 78643K 775 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 137 0 in_multi 123 5K 5K 78643K 464 0 ether_multi 1 0K 0K 78643K 31 0 mrt 0 0K 0K 78643K 15 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 413 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 177 244K 252K 78643K 7247 0 UVM aobj 98 8K 8K 78643K 107 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 1K 78643K 281 0 NDP 16 0K 0K 78643K 94 0 temp 151 3877K 3941K 78643K 41496 0 kqueue 4 5K 25K 78643K 108 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 22 0 10 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 98 0 96 1 0 1 1 0 8 0 rtentry 112 198 0 165 3 1 2 2 0 8 0 unpcb 120 866 0 856 1 0 1 1 0 8 0 syncache 264 16 0 16 6 6 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 1203 0 1203 3 3 0 2 0 8 0 tcpcb 544 680 0 676 2 1 1 2 0 8 0 inpcb 296 4698 0 4685 5 2 3 3 0 8 1 rttmr 72 4 0 4 3 2 1 1 0 8 1 ip6q 72 2 0 2 1 1 0 1 0 8 0 ip6af 40 6 0 6 1 1 0 1 0 8 0 nd6 48 63 0 62 2 1 1 1 0 8 0 pkpcb 40 16 0 16 5 5 0 1 0 8 0 swfcl 56 2 0 0 1 0 1 1 0 8 0 ppxss 1128 2 0 2 2 2 0 1 0 8 0 pffrag 232 13 0 12 6 5 1 1 0 482 0 pffrnode 88 13 0 12 6 5 1 1 0 8 0 pffrent 40 161 0 160 6 5 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 92 0 84 2 1 1 2 0 8 0 pftag 88 3 0 2 2 1 1 1 0 8 0 pfstitem 24 13 0 11 1 0 1 1 0 8 0 pfstkey 112 13 0 11 1 0 1 1 0 8 0 pfstate 328 13 0 11 1 0 1 1 0 8 0 pfrule 1360 79 0 51 8 5 3 3 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 627 0 481 21 10 11 13 0 8 0 art_table 32 629 0 481 3 1 2 2 0 8 0 art_node 16 194 0 168 1 0 1 1 0 8 0 sysvmsgpl 40 44 0 22 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 503 0 493 1 0 1 1 0 8 0 shmpl 112 105 0 9 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 4009 0 2608 89 0 89 89 0 8 0 ffsino 272 4009 0 2608 95 1 94 94 0 8 0 nchpl 144 6793 0 5196 60 0 60 60 0 8 0 uvmvnodes 72 5663 0 0 103 0 103 103 0 8 0 vnodes 208 5663 0 0 299 0 299 299 0 8 0 namei 1024 20492 0 20492 5 4 1 1 0 8 1 percpumem 16 64 0 32 1 0 1 1 0 8 0 vcpupl 1984 24 0 0 3 0 3 3 0 8 0 vmpool 560 29 0 5 2 0 2 2 0 8 0 pfiaddrpl 120 76 0 54 1 0 1 1 0 8 0 scsiplug 64 1 0 1 1 1 0 1 0 8 0 scxspl 192 23128 0 23128 19 18 1 7 0 8 1 plimitpl 152 135 0 127 1 0 1 1 0 8 0 sigapl 424 2129 0 2077 7 1 6 7 0 8 0 futexpl 56 34524 0 34524 4 3 1 1 0 8 1 knotepl 112 266 0 247 2 1 1 2 0 8 0 kqueuepl 144 341 0 335 1 0 1 1 0 8 0 pipepl 304 384 0 374 9 8 1 2 0 8 0 fdescpl 496 2089 0 2074 3 0 3 3 0 8 0 filepl 152 14672 0 14584 9 4 5 6 0 8 1 lockfpl 104 491 0 490 1 0 1 1 0 8 0 lockfspl 48 161 0 160 1 0 1 1 0 8 0 sessionpl 112 21 0 10 1 0 1 1 0 8 0 pgrppl 48 27 0 16 1 0 1 1 0 8 0 ucredpl 96 1142 0 1132 1 0 1 1 0 8 0 zombiepl 144 2078 0 2076 2 1 1 1 0 8 0 processpl 984 2129 0 2076 8 1 7 7 0 8 0 procpl 624 6224 0 6161 7 1 6 6 0 8 1 sosppl 128 35 0 35 10 10 0 1 0 8 0 sockpl 400 5691 0 5672 15 11 4 6 0 8 2 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl16k 16384 6 0 0 1 0 1 1 0 8 0 mcl12k 12288 23 0 0 2 0 2 2 0 8 0 mcl9k 9216 9 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 232 0 0 28 0 28 28 0 8 0 mtagpl 96 382 0 0 9 0 9 9 0 8 0 mbufpl 256 1082 0 0 60 0 60 60 0 8 0 bufpl 280 8814 0 2579 446 0 446 446 0 8 0 anonpl 16 234748 0 217245 144 69 75 87 0 124 3 amapchunkpl 152 14484 0 14302 68 59 9 21 0 158 1 amappl16 192 12558 0 11626 132 85 47 59 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 526 0 522 1 0 1 1 0 8 0 amappl13 168 194 0 190 1 0 1 1 0 8 0 amappl12 160 154 0 150 1 0 1 1 0 8 0 amappl11 152 442 0 426 1 0 1 1 0 8 0 amappl10 144 20 0 15 1 0 1 1 0 8 0 amappl9 136 397 0 396 1 0 1 1 0 8 0 amappl8 128 458 0 410 2 0 2 2 0 8 0 amappl7 120 145 0 131 1 0 1 1 0 8 0 amappl6 112 413 0 401 2 1 1 1 0 8 0 amappl5 104 1462 0 1445 1 0 1 1 0 8 0 amappl4 96 1067 0 1035 1 0 1 1 0 8 0 amappl3 88 453 0 446 1 0 1 1 0 8 0 amappl2 80 15596 0 15523 2 0 2 2 0 8 0 amappl1 72 55220 0 54789 23 13 10 18 0 8 0 amappl 80 6541 0 6481 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 106 0 9 2 0 2 2 0 8 0 uaddrrnd 24 2118 0 2079 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2118 0 2079 1 0 1 1 0 8 0 vmmpekpl 168 19479 0 19437 2 0 2 2 0 8 0 vmmpepl 168 261973 0 259884 195 96 99 129 0 357 2 vmsppl 368 2117 0 2079 4 0 4 4 0 8 0 pdppl 4096 4243 0 4182 10 1 9 9 0 8 1 pvpl 32 631104 0 611035 280 91 189 200 0 265 23 pmappl 232 2117 0 2079 3 0 3 3 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 359 0 36 10 0 10 10 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(ffff8000230e2fb8) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff8000230e2fb8) 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(ffff8000230e30e0) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806ed621a8,7,fffffd807f7bf960,ffff800020e09398) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd80666bc610,ffff800020e09398) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80666bc610,ffff800020e09398) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd80666bc610,ffff800020e09398) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd80666bc610,ffff800020e09398) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020e09398) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020e09398,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff800020e09398,ffff8000230e3370,ffff8000230e33c0) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff8000230e3440) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000230e3440) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe37e0, count: -14 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> tc No such command