››uvm_fault(0xffffffff827b2830, 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(0xffffffff827b2830, 0xfffffd000000001c, 0, 1) -> e m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 end trace frame: 0xffff800023106170, count: 0 ddb{1}> trace m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 ml_purge(ffff800023106188) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800023106188) at ml_purge+0x50 sys/kern/uipc_mbuf.c:1628 ifq_purge(ffff800000aa7a78) at ifq_purge+0x9a sys/net/ifq.c:529 tun_dev_close(5d01,7) at tun_dev_close+0xc8 sys/net/if_tun.c:460 spec_close(ffff8000231062b0) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806e350688,7,fffffd807f7bf960,ffff800020e0ad58) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd8067dedac8,ffff800020e0ad58) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd8067dedac8,ffff800020e0ad58) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd8067dedac8,ffff800020e0ad58) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd8067dedac8,ffff800020e0ad58) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020e0ad58) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020e0ad58,0,19,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff800020e0ad58,19) at postsig+0x4ed sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff800020e0ad58,19) at postsig+0x4ed sys/kern/kern_sig.c:1415 userret(ffff800020e0ad58) at userret+0x199 sys/kern/kern_sig.c:1872 syscall(ffff800023106730) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff800023106730) at syscall+0x55f sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff87a0, count: -15 ddb{1}> show registers rdi 0 rsi 0x47749 acpi_pdirpa+0x335b1 rbp 0xffff800023106130 rbx 0 rdx 0x47748 acpi_pdirpa+0x335b0 rcx 0xffff800000676d80 rax 0 r8 0xffffffff8175c7e2 spec_close+0x52 r9 0x5 r10 0x1d63b5610a81642 r11 0x2f4aba0390a0e38e r12 0xfffffd8069603c00 r13 0x2000 __ALIGN_SIZE+0x1000 r14 0xfffffd0000000000 r15 0xfffffd0000000000 rip 0xffffffff822a5cd8 m_free+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000231060f0 ss 0x10 m_free+0x58: movswq 0x1c(%r14),%rsi ddb{1}> show proc PROC (syz-executor.1) pid=330878 stat=onproc flags process=a proc=2000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020ddd868,0xffff800020e09508 process=0xffff800020df0f90 user=0xffff800023101000, vmspace=0xfffffd807efff170 estcpu=36, cpticks=13, pctcpu=0.87 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 93018 343707 75126 0 2 0 syz-executor.0 44306 351955 1 0 3 0x100083 ttyin getty 57573 320185 0 0 3 0x14280 nfsidl nfsio 20081 487605 0 0 3 0x14280 nfsidl nfsio 38468 472844 0 0 3 0x14280 nfsidl nfsio 61857 215934 0 0 3 0x14280 nfsidl nfsio 91132 34931 0 0 3 0x14280 nfsidl nfsio 54404 83172 0 0 3 0x14280 nfsidl nfsio 1160 417896 0 0 3 0x14280 nfsidl nfsio 73097 317537 0 0 3 0x14280 nfsidl nfsio 16028 150009 0 0 3 0x14280 nfsidl nfsio 38618 152065 0 0 3 0x14280 nfsidl nfsio 90666 314949 0 0 3 0x14280 nfsidl nfsio 66747 313949 0 0 3 0x14280 nfsidl nfsio 83144 272196 0 0 3 0x14280 nfsidl nfsio 74070 17466 0 0 3 0x14280 nfsidl nfsio 5759 184543 0 0 3 0x14280 nfsidl nfsio 93377 47245 0 0 3 0x14280 nfsidl nfsio 93302 207332 0 0 3 0x14280 nfsidl nfsio 56844 18557 0 0 3 0x14280 nfsidl nfsio 7348 292923 0 0 3 0x14280 nfsidl nfsio 56086 67757 0 0 3 0x14280 nfsidl nfsio 81349 165663 0 0 3 0x14200 bored sosplice 75126 137072 65715 0 3 0x82 nanosleep syz-executor.0 65715 261343 93030 0 7 0x2 syz-fuzzer 65715 16743 93030 0 3 0x4000082 nanosleep syz-fuzzer 65715 277889 93030 0 3 0x4000082 thrsleep syz-fuzzer 65715 139196 93030 0 3 0x4000082 thrsleep syz-fuzzer 65715 351466 93030 0 3 0x4000082 thrsleep syz-fuzzer 65715 4218 93030 0 3 0x4000082 thrsleep syz-fuzzer 65715 287200 93030 0 3 0x4000082 thrsleep syz-fuzzer 65715 152370 93030 0 2 0x4000082 syz-fuzzer 65715 326286 93030 0 3 0x4000082 thrsleep syz-fuzzer 65715 356202 93030 0 3 0x4000082 thrsleep syz-fuzzer 93030 138629 79636 0 3 0x10008a pause ksh 79636 251928 74886 0 2 0x92 sshd 74886 99498 1 0 3 0x80 select sshd 87681 192011 1867 74 3 0x100092 bpf pflogd 1867 458807 1 0 3 0x80 netio pflogd 18882 302676 31863 73 3 0x100090 kqread syslogd 31863 266022 1 0 3 0x100082 netio syslogd 19614 756 1 77 3 0x100090 poll dhclient 56026 244096 1 0 3 0x80 poll dhclient 73444 443978 0 0 3 0x14200 bored smr 97274 80695 0 0 2 0x14200 zerothread 26152 184887 0 0 3 0x14200 aiodoned aiodoned 28223 374182 0 0 3 0x14200 syncer update 79250 420170 0 0 3 0x14200 cleaner cleaner 89068 421449 0 0 3 0x14200 reaper reaper 65007 275964 0 0 3 0x14200 pgdaemon pagedaemon 57701 315883 0 0 3 0x14200 bored crynlk 34437 421136 0 0 3 0x14200 bored crypto 87822 411514 0 0 3 0x40014200 acpi0 acpi0 51754 319048 0 0 3 0x40014200 idle1 34752 329820 0 0 3 0x14200 bored softnet 84700 494836 0 0 3 0x14200 bored systqmp 75879 68775 0 0 3 0x14200 bored systq 58289 274258 0 0 3 0x40014200 bored softclock 30424 104605 0 0 3 0x40014200 idle0 1 503896 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 65715 (syz-fuzzer) thread 0xffff800020e3f9d0 (261343) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9578 6588K 7059K 78643K 16181 0 pcb 13 8K 8K 78643K 413 0 rtable 98 15K 16K 78643K 1305 0 ifaddr 130 26K 27K 78643K 602 0 counters 43 33K 34K 78643K 203 0 ioctlops 0 0K 4K 78643K 1784 0 iov 0 0K 36K 78643K 296 0 mount 1 1K 1K 78643K 1 0 vnodes 1227 77K 77K 78643K 2936 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 0K 78643K 371 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 4122 0 sigio 0 0K 0K 78643K 15 0 proc 63 63K 83K 78643K 654 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 468 0 in_multi 134 5K 5K 78643K 610 0 ether_multi 1 0K 0K 78643K 116 0 mrt 1 0K 0K 78643K 38 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 410 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 133 88K 97K 78643K 10833 0 UVM aobj 23 2K 2K 78643K 31 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 1K 78643K 447 0 NDP 18 0K 0K 78643K 125 0 temp 161 3873K 3957K 78643K 29924 0 kqueue 3 4K 16K 78643K 221 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 7 0 2 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 218 0 216 1 0 1 1 0 8 0 rtentry 112 118 0 90 2 0 2 2 0 8 0 unpcb 120 1055 0 1044 1 0 1 1 0 8 0 syncache 264 58 0 58 9 8 1 1 0 8 1 sackhl 24 2 0 2 1 1 0 1 0 8 0 tcpqe 32 606 0 606 3 2 1 1 0 8 1 tcpcb 544 1158 0 1151 2 1 1 2 0 8 0 inpcb 296 2881 0 2871 11 9 2 3 0 8 0 rttmr 72 4 0 4 1 1 0 1 0 8 0 nd6 48 37 0 34 1 0 1 1 0 8 0 pkpcb 40 33 0 33 6 5 1 1 0 8 1 ppxss 1128 27 0 27 4 4 0 1 0 8 0 pfstscr 40 35 0 35 3 2 1 1 0 8 1 pffrag 232 15 0 15 4 3 1 1 0 482 1 pffrnode 88 15 0 15 4 3 1 1 0 8 1 pffrent 40 675 0 675 4 3 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 139 0 132 1 0 1 1 0 8 0 pftag 88 6 0 5 1 0 1 1 0 8 0 pfstitem 24 72 0 66 1 0 1 1 0 8 0 pfstkey 112 108 0 102 2 1 1 2 0 8 0 pfstate 328 88 0 82 5 4 1 4 0 8 0 pfrule 1360 84 0 57 7 4 3 3 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 869 0 689 19 7 12 14 0 8 0 art_table 32 870 0 689 2 0 2 2 0 8 0 art_node 16 117 0 93 1 0 1 1 0 8 0 sysvmsgpl 40 45 0 17 1 0 1 1 0 8 0 semupl 112 10 0 10 1 1 0 1 0 8 0 semapl 112 353 0 343 1 0 1 1 0 8 0 shmpl 112 28 0 8 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 6803 0 5402 90 2 88 89 0 8 0 ffsino 272 6803 0 5402 95 0 95 95 0 8 0 nchpl 144 11668 0 10064 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 30309 0 30309 3 2 1 1 0 8 1 percpumem 16 112 0 80 1 0 1 1 0 8 0 vcpupl 1984 10 0 0 2 0 2 2 0 8 0 vmpool 560 21 0 11 2 1 1 1 0 8 0 pfiaddrpl 120 48 0 38 4 3 1 1 0 8 0 scsiplug 64 8 0 8 1 1 0 1 0 8 0 scxspl 192 36367 0 36366 11 8 3 6 0 8 2 plimitpl 152 270 0 262 1 0 1 1 0 8 0 sigapl 424 4360 0 4308 7 0 7 7 0 8 1 futexpl 56 30517 0 30517 3 2 1 1 0 8 1 knotepl 112 289 0 270 1 0 1 1 0 8 0 kqueuepl 144 373 0 371 1 0 1 1 0 8 0 pipepl 304 302 0 292 4 3 1 2 0 8 0 fdescpl 496 4323 0 4307 3 0 3 3 0 8 0 filepl 152 15848 0 15758 10 5 5 7 0 8 1 lockfpl 104 746 0 745 1 0 1 1 0 8 0 lockfspl 48 231 0 230 1 0 1 1 0 8 0 sessionpl 112 19 0 8 1 0 1 1 0 8 0 pgrppl 48 37 0 26 1 0 1 1 0 8 0 ucredpl 96 2498 0 2489 1 0 1 1 0 8 0 zombiepl 144 4309 0 4308 2 1 1 1 0 8 0 processpl 992 4360 0 4308 7 0 7 7 0 8 0 procpl 624 9936 0 9875 8 2 6 6 0 8 0 sosppl 128 31 0 31 6 6 0 1 0 8 0 sockpl 400 4201 0 4178 11 7 4 5 0 8 1 mcl64k 65536 25 0 0 3 0 3 3 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 4 0 0 1 0 1 1 0 8 0 mcl9k 9216 15 0 0 2 0 2 2 0 8 0 mcl8k 8192 9 0 0 2 0 2 2 0 8 0 mcl4k 4096 15 0 0 2 0 2 2 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 266 0 0 21 0 21 21 0 8 0 mtagpl 96 292 0 0 6 0 6 6 0 8 0 mbufpl 256 1113 0 0 62 0 62 62 0 8 0 bufpl 280 10075 0 3840 446 0 446 446 0 8 0 anonpl 16 329473 0 315725 103 42 61 83 0 124 3 amapchunkpl 152 18570 0 18445 30 22 8 19 0 158 2 amappl16 192 20837 0 20091 72 33 39 59 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 2044 0 2038 1 0 1 1 0 8 0 amappl13 168 29 0 26 1 0 1 1 0 8 0 amappl12 160 10 0 8 2 1 1 1 0 8 0 amappl11 152 2069 0 2053 1 0 1 1 0 8 0 amappl10 144 23 0 17 1 0 1 1 0 8 0 amappl9 136 385 0 384 1 0 1 1 0 8 0 amappl8 128 351 0 319 2 0 2 2 0 8 0 amappl7 120 124 0 113 1 0 1 1 0 8 0 amappl6 112 32 0 26 2 1 1 1 0 8 0 amappl5 104 2218 0 2201 1 0 1 1 0 8 0 amappl4 96 2530 0 2497 1 0 1 1 0 8 0 amappl3 88 2165 0 2158 1 0 1 1 0 8 0 amappl2 80 33930 0 33863 2 0 2 2 0 8 0 amappl1 72 83390 0 82951 23 13 10 18 0 8 0 amappl 80 10209 0 10165 3 1 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 30 0 8 1 0 1 1 0 8 0 uaddrrnd 24 4344 0 4318 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4344 0 4318 1 0 1 1 0 8 0 vmmpekpl 168 27947 0 27903 5 2 3 3 0 8 0 vmmpepl 168 501249 0 499320 147 55 92 109 0 357 1 vmsppl 368 4343 0 4318 3 0 3 3 0 8 0 pdppl 4096 8695 0 8646 7 0 7 7 0 8 0 pvpl 32 1101259 0 1086300 260 120 140 181 0 265 15 pmappl 232 4343 0 4318 4 2 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 342 0 27 10 0 10 10 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff8270eff0) 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(ffffffff829011d8) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff829011d8) at __mp_lock+0x127 sys/kern/kern_lock.c:147 intr_handler(ffff800020e62570,ffff80000004a400) at intr_handler+0x5e sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge17_untramp() at Xintr_ioapic_edge17_untramp+0x19f __mp_lock(ffffffff829011d8) at __mp_lock+0x12e __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff829011d8) at __mp_lock+0x12e sys/kern/kern_lock.c:147 pipeselwakeup(fffffd806f7738d0) at pipeselwakeup+0x4b sys/kern/sys_pipe.c:365 pipe_write(fffffd8067dedb60,ffff800020e627f8,0) at pipe_write+0x74e sys/kern/sys_pipe.c:658 dofilewritev(ffff800020e3f9d0,12,ffff800020e627f8,0,ffff800020e628e0) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020e3f9d0,ffff800020e62890,ffff800020e628e0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020e62960) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e62960) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc0003f78a8, count: -13 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(ffff800023106188) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800023106188) at ml_purge+0x50 sys/kern/uipc_mbuf.c:1628 ifq_purge(ffff800000aa7a78) at ifq_purge+0x9a sys/net/ifq.c:529 tun_dev_close(5d01,7) at tun_dev_close+0xc8 sys/net/if_tun.c:460 spec_close(ffff8000231062b0) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806e350688,7,fffffd807f7bf960,ffff800020e0ad58) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd8067dedac8,ffff800020e0ad58) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd8067dedac8,ffff800020e0ad58) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd8067dedac8,ffff800020e0ad58) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd8067dedac8,ffff800020e0ad58) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020e0ad58) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020e0ad58,0,19,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff800020e0ad58,19) at postsig+0x4ed sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff800020e0ad58,19) at postsig+0x4ed sys/kern/kern_sig.c:1415 userret(ffff800020e0ad58) at userret+0x199 sys/kern/kern_sig.c:1872 syscall(ffff800023106730) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff800023106730) at syscall+0x55f sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff87a0, count: -15