uvm_fault(0xffffffff827d8a30, 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(0xffffffff827d8a30, 0xfffffd000000001c, 0, 1) -> e m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 end trace frame: 0xffff800020edd150, count: 0 ddb{1}> trace m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 ml_purge(ffff800020edd168) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800020edd168) 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(ffff800020edd290) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806e2954e8,7,fffffd807f7bf780,ffff800020dddad8) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd80679f7900,ffff800020dddad8) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80679f7900,ffff800020dddad8) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd80679f7900,ffff800020dddad8) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd80679f7900,ffff800020dddad8) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020dddad8) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020dddad8,0,19,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff800020dddad8,19) at postsig+0x4ed sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff800020dddad8,19) at postsig+0x4ed sys/kern/kern_sig.c:1415 userret(ffff800020dddad8) at userret+0x199 sys/kern/kern_sig.c:1872 syscall(ffff800020edd710) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff800020edd710) at syscall+0x55f sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcf4f0, count: -15 ddb{1}> show registers rdi 0 rsi 0x3760d acpi_pdirpa+0x23475 rbp 0xffff800020edd110 rbx 0 rdx 0x3760c acpi_pdirpa+0x23474 rcx 0xffff800000676d80 rax 0 r8 0xffffffff8206ed57 witness_assert+0x207 r9 0x5 r10 0xb68a66d443d90ca5 r11 0xd6a1b6564ff93c r12 0xfffffd806f230900 r13 0x2000 __ALIGN_SIZE+0x1000 r14 0xfffffd0000000000 r15 0xfffffd0000000000 rip 0xffffffff815aa3c8 m_free+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800020edd0d0 ss 0x10 m_free+0x58: movswq 0x1c(%r14),%rsi ddb{1}> show proc PROC (syz-executor.0) pid=57979 stat=onproc flags process=a proc=2000 pri=17, usrpri=56, nice=20 forw=0xffffffffffffffff, list=0xffff800020ddc758,0xffff800020e23af8 process=0xffff800020df07c0 user=0xffff800020ed8000, vmspace=0xfffffd807efffa10 estcpu=36, cpticks=5, pctcpu=0.2 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 69853 279768 18605 0 3 0x82 nanosleep syz-executor.1 18605 321719 5986 0 3 0x82 thrsleep syz-fuzzer 18605 329545 5986 0 3 0x4000082 nanosleep syz-fuzzer 18605 119151 5986 0 3 0x4000082 thrsleep syz-fuzzer 18605 334980 5986 0 7 0x4000002 syz-fuzzer 18605 331945 5986 0 3 0x4000082 thrsleep syz-fuzzer 18605 78086 5986 0 3 0x4000082 thrsleep syz-fuzzer 18605 112037 5986 0 3 0x4000082 thrsleep syz-fuzzer 18605 174402 5986 0 3 0x4000082 thrsleep syz-fuzzer 18605 357171 5986 0 3 0x4000082 thrsleep syz-fuzzer 18605 180258 5986 0 3 0x4000082 thrsleep syz-fuzzer 5986 294389 16276 0 3 0x10008a pause ksh 16276 227727 17885 0 3 0x92 select sshd 48796 56264 1 0 3 0x100083 ttyin getty 17885 483044 1 0 3 0x80 select sshd 56980 492923 54356 74 3 0x100092 bpf pflogd 54356 333999 1 0 3 0x80 netio pflogd 96354 262003 29542 73 3 0x100090 kqread syslogd 29542 266089 1 0 3 0x100082 netio syslogd 5544 84227 1 77 3 0x100090 poll dhclient 45223 152816 1 0 3 0x80 poll dhclient 94795 125929 0 0 3 0x14200 bored smr 40262 105272 0 0 2 0x14200 zerothread 19467 381261 0 0 3 0x14200 aiodoned aiodoned 68479 254265 0 0 3 0x14200 syncer update 50352 441234 0 0 3 0x14200 cleaner cleaner 10206 19375 0 0 3 0x14200 reaper reaper 87428 348694 0 0 3 0x14200 pgdaemon pagedaemon 45439 287481 0 0 3 0x14200 bored crynlk 24380 385515 0 0 3 0x14200 bored crypto 34601 109154 0 0 3 0x40014200 acpi0 acpi0 25058 880 0 0 3 0x40014200 idle1 71540 100583 0 0 3 0x14200 bored softnet 34513 425549 0 0 3 0x14200 bored systqmp 79862 423303 0 0 3 0x14200 bored systq 37762 189787 0 0 3 0x40014200 bored softclock 24258 126105 0 0 3 0x40014200 idle0 1 86456 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9496 6408K 6922K 78643K 10805 0 pcb 13 8K 8K 78643K 40 0 rtable 103 4K 8K 78643K 350 0 ifaddr 58 12K 12K 78643K 99 0 counters 43 33K 34K 78643K 51 0 ioctlops 0 0K 4K 78643K 1479 0 iov 0 0K 16K 78643K 16 0 mount 1 1K 1K 78643K 1 0 vnodes 1223 77K 77K 78643K 1307 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 4 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 20 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 4 9K 25K 78643K 136 0 proc 62 63K 95K 78643K 463 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 6 0 in_multi 33 2K 2K 78643K 46 0 ether_multi 1 0K 0K 78643K 2 0 mrt 0 0K 0K 78643K 3 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 31 148K 148K 78643K 31 0 exec 0 0K 1K 78643K 219 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 113 38K 38K 78643K 1354 0 UVM aobj 5 2K 2K 78643K 8 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 8 0 NDP 9 0K 0K 78643K 18 0 temp 91 3858K 3925K 78643K 4005 0 kqueue 3 4K 8K 78643K 5 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 9 0 3 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 25 0 23 1 0 1 1 0 8 0 rtentry 112 59 0 18 2 0 2 2 0 8 0 unpcb 120 109 0 99 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 415 0 415 1 0 1 1 0 8 1 tcpcb 544 64 0 60 1 0 1 1 0 8 0 inpcb 296 183 0 176 2 0 2 2 0 8 1 rttmr 72 1 0 1 1 0 1 1 0 8 1 nd6 48 7 0 3 1 0 1 1 0 8 0 ppxss 1128 1 0 1 1 0 1 1 0 8 1 pffrag 232 2 0 2 1 0 1 1 0 482 1 pffrnode 88 2 0 2 1 0 1 1 0 8 1 pffrent 40 8 0 8 1 0 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 pfrke_plain 160 14 0 14 1 0 1 1 0 8 1 pfrktable 1344 34 0 34 1 0 1 1 0 8 1 pfstitem 24 19 0 0 1 0 1 1 0 8 0 pfstkey 112 19 0 0 1 0 1 1 0 8 0 pfstate 328 19 0 0 2 0 2 2 0 8 0 pfrule 1360 25 0 20 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 246 0 64 13 0 13 13 0 8 1 art_table 32 247 0 64 2 0 2 2 0 8 0 art_node 16 58 0 20 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 3 1 0 1 1 0 8 1 semupl 112 3 0 3 1 0 1 1 0 8 1 semapl 112 14 0 4 1 0 1 1 0 8 0 shmpl 112 6 0 3 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1569 0 163 89 0 89 89 0 8 0 ffsino 272 1569 0 163 94 0 94 94 0 8 0 nchpl 144 1951 0 342 60 0 60 60 0 8 0 rtmask 32 16 0 16 1 0 1 1 0 8 1 uvmvnodes 72 1681 0 0 31 0 31 31 0 8 0 vnodes 208 1681 0 0 89 0 89 89 0 8 0 namei 1024 5214 0 5214 1 0 1 1 0 8 1 percpumem 16 36 0 4 1 0 1 1 0 8 0 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 560 2 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 10 0 10 1 0 1 1 0 8 1 scxspl 192 5881 0 5881 8 1 7 7 0 8 7 plimitpl 152 23 0 15 1 0 1 1 0 8 0 sigapl 424 351 0 321 4 0 4 4 0 8 0 futexpl 56 1637 0 1637 1 0 1 1 0 8 1 knotepl 112 63 0 44 1 0 1 1 0 8 0 kqueuepl 144 14 0 10 1 0 1 1 0 8 0 pipelkpl 48 95 0 85 1 0 1 1 0 8 0 pipepl 120 190 0 172 1 0 1 1 0 8 0 fdescpl 496 336 0 321 3 0 3 3 0 8 0 filepl 152 1841 0 1751 5 0 5 5 0 8 1 lockfpl 104 31 0 30 1 0 1 1 0 8 0 lockfspl 48 12 0 11 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 32 0 21 1 0 1 1 0 8 0 ucredpl 96 153 0 143 1 0 1 1 0 8 0 zombiepl 144 322 0 320 1 0 1 1 0 8 0 processpl 984 351 0 320 5 0 5 5 0 8 0 procpl 624 586 0 546 4 0 4 4 0 8 0 sockpl 400 320 0 301 4 0 4 4 0 8 2 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 5 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 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 193 0 0 24 0 24 24 0 8 0 mtagpl 96 11 0 0 1 0 1 1 0 8 0 mbufpl 256 212 0 0 13 0 13 13 0 8 0 bufpl 280 3609 0 133 249 0 249 249 0 8 0 anonpl 16 45753 0 29675 68 1 67 67 0 124 0 amapchunkpl 152 2280 0 2125 20 0 20 20 0 158 13 amappl16 192 1403 0 548 45 0 45 45 0 8 1 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 34 0 27 1 0 1 1 0 8 0 amappl13 168 81 0 76 1 0 1 1 0 8 0 amappl12 160 6 0 5 1 0 1 1 0 8 0 amappl11 152 57 0 42 1 0 1 1 0 8 0 amappl10 144 25 0 19 1 0 1 1 0 8 0 amappl9 136 442 0 440 1 0 1 1 0 8 0 amappl8 128 391 0 363 2 0 2 2 0 8 0 amappl7 120 119 0 107 1 0 1 1 0 8 0 amappl6 112 25 0 22 1 0 1 1 0 8 0 amappl5 104 232 0 216 1 0 1 1 0 8 0 amappl4 96 534 0 506 1 0 1 1 0 8 0 amappl3 88 111 0 105 1 0 1 1 0 8 0 amappl2 80 1735 0 1672 2 0 2 2 0 8 0 amappl1 72 17435 0 17002 23 10 13 18 0 8 3 amappl 80 843 0 798 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 7 0 3 1 0 1 1 0 8 0 uaddrrnd 24 338 0 321 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 338 0 321 1 0 1 1 0 8 0 vmmpekpl 168 6665 0 6628 2 0 2 2 0 8 0 vmmpepl 168 47706 0 45790 115 3 112 112 0 357 21 vmsppl 368 337 0 321 2 0 2 2 0 8 0 pdppl 4096 683 0 644 6 0 6 6 0 8 0 pvpl 32 158206 0 139350 166 0 166 166 0 265 11 pmappl 232 337 0 321 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 262 0 3 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff826f8ff0) 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(ffffffff828ac5d8) at __mp_lock+0x12e __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828ac5d8) at __mp_lock+0x12e sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:89 Xsoftclock() at Xsoftclock+0x1f __mp_lock(ffffffff828ac5d8) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828ac5d8) at __mp_lock+0x127 sys/kern/kern_lock.c:147 syscall(ffff800020e8f650) at syscall+0x400 mi_syscall sys/sys/syscall_mi.h:93 [inline] syscall(ffff800020e8f650) at syscall+0x400 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc00004de98, count: -9 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(ffff800020edd168) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800020edd168) 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(ffff800020edd290) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806e2954e8,7,fffffd807f7bf780,ffff800020dddad8) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd80679f7900,ffff800020dddad8) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80679f7900,ffff800020dddad8) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd80679f7900,ffff800020dddad8) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd80679f7900,ffff800020dddad8) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020dddad8) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020dddad8,0,19,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff800020dddad8,19) at postsig+0x4ed sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff800020dddad8,19) at postsig+0x4ed sys/kern/kern_sig.c:1415 userret(ffff800020dddad8) at userret+0x199 sys/kern/kern_sig.c:1872 syscall(ffff800020edd710) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff800020edd710) at syscall+0x55f sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcf4f0, count: -15