uvm_fault(0xffffffff827b7058, 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(0xffffffff827b7058, 0xfffffd000000001c, 0, 1) -> e m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 end trace frame: 0xffff800023103b00, count: 0 ddb{1}> trace m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 ml_purge(ffff800023103b18) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800023103b18) at ml_purge+0x50 sys/kern/uipc_mbuf.c:1628 ifq_purge(ffff800000af5278) 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(ffff800023103c40) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806e802008,7,fffffd807f7bf720,ffff800020e04608) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd80677f1bf8,ffff800020e04608) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80677f1bf8,ffff800020e04608) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd80677f1bf8,ffff800020e04608) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd80677f1bf8,ffff800020e04608) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020e04608) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020e04608,0,19,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff800020e04608,19) at postsig+0x4ed sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff800020e04608,19) at postsig+0x4ed sys/kern/kern_sig.c:1415 userret(ffff800020e04608) at userret+0x199 sys/kern/kern_sig.c:1872 syscall(ffff8000231040c0) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff8000231040c0) at syscall+0x55f sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd9ee0, count: -15 ddb{1}> show registers rdi 0 rsi 0x42bcf acpi_pdirpa+0x2ea37 rbp 0xffff800023103ac0 rbx 0 rdx 0x42bce acpi_pdirpa+0x2ea36 rcx 0xffff800000676d80 rax 0 r8 0xffffffff8234c897 witness_assert+0x207 r9 0x5 r10 0x1ee6002eda1ea9f3 r11 0xc40a86aac2da1647 r12 0xfffffd806593f700 r13 0x2000 __ALIGN_SIZE+0x1000 r14 0xfffffd0000000000 r15 0xfffffd0000000000 rip 0xffffffff81e9d778 m_free+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800023103a80 ss 0x10 m_free+0x58: movswq 0x1c(%r14),%rsi ddb{1}> show proc PROC (syz-executor.1) pid=219751 stat=onproc flags process=a proc=2000 pri=17, usrpri=71, nice=20 forw=0xffffffffffffffff, list=0xffff800020ddc278,0xffff800020e04138 process=0xffff800020df1370 user=0xffff8000230ff000, vmspace=0xfffffd807efff5c0 estcpu=36, cpticks=2, pctcpu=0.38 user=0, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 55743 259828 1 0 3 0x100083 ttyin getty 88467 163341 0 0 3 0x14200 bored sosplice 46193 36613 72195 0 3 0x82 nanosleep syz-executor.0 72195 192643 10110 0 3 0x82 thrsleep syz-fuzzer 72195 281290 10110 0 3 0x4000082 nanosleep syz-fuzzer 72195 41318 10110 0 3 0x4000082 thrsleep syz-fuzzer 72195 225245 10110 0 3 0x4000082 thrsleep syz-fuzzer 72195 144785 10110 0 3 0x4000082 thrsleep syz-fuzzer 72195 327755 10110 0 3 0x4000082 thrsleep syz-fuzzer 72195 149784 10110 0 3 0x4000082 thrsleep syz-fuzzer 72195 26599 10110 0 3 0x4000082 thrsleep syz-fuzzer 72195 253917 10110 0 7 0x4000002 syz-fuzzer 72195 294501 10110 0 3 0x4000082 thrsleep syz-fuzzer 10110 175046 68387 0 3 0x10008a pause ksh 68387 414389 21610 0 3 0x92 select sshd 21610 313482 1 0 3 0x80 select sshd 76760 352262 29884 74 3 0x100092 bpf pflogd 29884 83606 1 0 3 0x80 netio pflogd 17049 158021 71426 73 3 0x100090 kqread syslogd 71426 62354 1 0 3 0x100082 netio syslogd 34247 259743 1 77 3 0x100090 poll dhclient 48711 289140 1 0 3 0x80 poll dhclient 74143 198698 0 0 3 0x14200 bored smr 18076 26352 0 0 2 0x14200 zerothread 38571 154315 0 0 3 0x14200 aiodoned aiodoned 65475 309776 0 0 3 0x14200 syncer update 90187 144604 0 0 3 0x14200 cleaner cleaner 41511 395518 0 0 3 0x14200 reaper reaper 99069 88762 0 0 3 0x14200 pgdaemon pagedaemon 52826 340022 0 0 3 0x14200 bored crynlk 97776 291063 0 0 3 0x14200 bored crypto 15364 328332 0 0 3 0x40014200 acpi0 acpi0 48274 253773 0 0 3 0x40014200 idle1 28378 475883 0 0 3 0x14200 bored softnet 76595 381752 0 0 3 0x14200 bored systqmp 12052 133228 0 0 3 0x14200 bored systq 60183 219163 0 0 3 0x40014200 bored softclock 82931 134052 0 0 3 0x40014200 idle0 1 512045 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 9513 6429K 6986K 78643K 12368 0 pcb 13 8K 8K 78643K 114 0 rtable 103 14K 15K 78643K 510 0 ifaddr 77 16K 17K 78643K 259 0 sysctl 2 0K 0K 78643K 2 0 counters 43 33K 34K 78643K 99 0 ioctlops 0 0K 4K 78643K 1538 0 iov 0 0K 16K 78643K 86 0 mount 1 1K 1K 78643K 1 0 vnodes 1222 77K 77K 78643K 1805 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 10 0 VM map 2 1K 1K 78643K 2 0 sem 11 1K 1K 78643K 17 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 4 9K 25K 78643K 1046 0 sigio 0 0K 0K 78643K 4 0 proc 64 63K 95K 78643K 523 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 105 0 in_multi 62 3K 3K 78643K 217 0 ether_multi 1 0K 0K 78643K 22 0 mrt 0 0K 0K 78643K 4 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 43 201K 201K 78643K 43 0 exec 0 0K 1K 78643K 259 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 127 55K 57K 78643K 3816 0 UVM aobj 22 2K 2K 78643K 22 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 117 0 NDP 11 0K 0K 78643K 54 0 temp 110 3863K 3939K 78643K 34007 0 kqueue 3 4K 12K 78643K 55 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 6 0 2 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 72 0 70 1 0 1 1 0 8 0 rtentry 112 74 0 40 2 0 2 2 0 8 0 unpcb 120 303 0 292 1 0 1 1 0 8 0 syncache 264 17 0 17 3 3 0 1 0 8 0 tcpqe 32 378 0 378 3 3 0 1 0 8 0 tcpcb 544 317 0 311 1 0 1 1 0 8 0 inpcb 296 979 0 968 3 1 2 2 0 8 1 nd6 48 27 0 25 1 0 1 1 0 8 0 pkpcb 40 11 0 11 2 2 0 1 0 8 0 ppxss 1136 6 0 6 2 2 0 1 0 8 0 pfstscr 40 5 0 5 1 1 0 1 0 8 0 pffrag 232 6 0 3 3 2 1 1 0 482 0 pffrnode 88 5 0 3 3 2 1 1 0 8 0 pffrent 40 60 0 57 4 3 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 17 0 13 1 0 1 1 0 8 0 pfstitem 24 14 0 7 1 0 1 1 0 8 0 pfstkey 112 18 0 11 1 0 1 1 0 8 0 pfstate 328 15 0 8 2 1 1 2 0 8 0 pfsrctr 152 72 0 72 1 1 0 1 0 8 0 pfrule 1360 33 0 21 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 236 0 84 12 1 11 12 0 8 0 art_table 32 237 0 84 2 0 2 2 0 8 0 art_node 16 73 0 41 1 0 1 1 0 8 0 sysvmsgpl 40 19 0 13 2 1 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 9 0 0 1 0 1 1 0 8 0 shmpl 112 19 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2852 0 1455 89 0 89 89 0 8 0 ffsino 272 2852 0 1455 95 0 95 95 0 8 0 nchpl 144 4246 0 2632 60 0 60 60 0 8 0 uvmvnodes 72 3290 0 0 60 0 60 60 0 8 0 vnodes 208 3290 0 0 174 0 174 174 0 8 0 namei 1024 11762 0 11762 1 0 1 1 0 8 1 percpumem 16 60 0 28 1 0 1 1 0 8 0 vcpupl 1984 4 0 0 1 0 1 1 0 8 0 vmpool 560 8 0 4 1 0 1 1 0 8 0 pfiaddrpl 120 6 0 4 1 0 1 1 0 8 0 scsiplug 64 1 0 1 1 1 0 1 0 8 0 scxspl 192 13520 0 13520 9 8 1 6 0 8 1 plimitpl 152 107 0 99 1 0 1 1 0 8 0 sigapl 424 1264 0 1233 4 0 4 4 0 8 0 futexpl 56 8699 0 8699 1 0 1 1 0 8 1 knotepl 112 120 0 101 1 0 1 1 0 8 0 kqueuepl 144 108 0 106 1 0 1 1 0 8 0 pipepl 304 98 0 88 2 1 1 2 0 8 0 fdescpl 496 1248 0 1233 3 0 3 3 0 8 0 filepl 152 5633 0 5543 6 1 5 6 0 8 1 lockfpl 104 187 0 186 1 0 1 1 0 8 0 lockfspl 48 70 0 69 1 0 1 1 0 8 0 sessionpl 112 20 0 9 1 0 1 1 0 8 0 pgrppl 48 26 0 15 1 0 1 1 0 8 0 ucredpl 96 926 0 917 1 0 1 1 0 8 0 zombiepl 144 1234 0 1232 1 0 1 1 0 8 0 processpl 992 1264 0 1232 5 0 5 5 0 8 0 procpl 624 2993 0 2952 4 0 4 4 0 8 0 sosppl 128 15 0 15 2 2 0 1 0 8 0 sockpl 400 1365 0 1341 8 5 3 6 0 8 0 mcl64k 65536 15 0 0 2 0 2 2 0 8 0 mcl12k 12288 4 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 7 0 0 1 0 1 1 0 8 0 mcl2k 2048 194 0 0 24 0 24 24 0 8 0 mtagpl 96 161 0 0 4 0 4 4 0 8 0 mbufpl 256 486 0 0 29 0 29 29 0 8 0 bufpl 280 5689 0 132 397 0 397 397 0 8 0 anonpl 16 119565 0 105329 74 15 59 73 0 124 0 amapchunkpl 152 6539 0 6403 23 16 7 19 0 158 0 amappl16 192 6102 0 5335 53 14 39 50 0 8 0 amappl15 184 4 0 2 1 0 1 1 0 8 0 amappl14 176 26 0 21 1 0 1 1 0 8 0 amappl13 168 28 0 25 1 0 1 1 0 8 0 amappl12 160 529 0 525 2 1 1 1 0 8 0 amappl11 152 60 0 44 1 0 1 1 0 8 0 amappl10 144 22 0 16 1 0 1 1 0 8 0 amappl9 136 390 0 388 1 0 1 1 0 8 0 amappl8 128 355 0 325 2 0 2 2 0 8 0 amappl7 120 127 0 115 1 0 1 1 0 8 0 amappl6 112 31 0 23 1 0 1 1 0 8 0 amappl5 104 1665 0 1649 1 0 1 1 0 8 0 amappl4 96 500 0 468 1 0 1 1 0 8 0 amappl3 88 110 0 105 1 0 1 1 0 8 0 amappl2 80 9036 0 8972 2 0 2 2 0 8 0 amappl1 72 42567 0 42142 23 13 10 18 0 8 0 amappl 80 3259 0 3214 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 21 0 0 1 0 1 1 0 8 0 uaddrrnd 24 1256 0 1237 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1256 0 1237 1 0 1 1 0 8 0 vmmpekpl 168 12670 0 12630 2 0 2 2 0 8 0 vmmpepl 168 162408 0 160573 116 24 92 108 0 357 3 vmsppl 368 1255 0 1237 2 0 2 2 0 8 0 pdppl 4096 2519 0 2478 6 0 6 6 0 8 0 pvpl 32 413012 0 395699 176 26 150 176 0 265 6 pmappl 232 1255 0 1237 3 1 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 283 0 9 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(ffffffff8274cff0) 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(ffffffff82922230) at __mp_lock+0x12e __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82922230) 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(ffffffff82922230) at __mp_lock+0x12e __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82922230) at __mp_lock+0x12e sys/kern/kern_lock.c:147 syscall(ffff800020e920f0) at syscall+0x400 mi_syscall sys/sys/syscall_mi.h:93 [inline] syscall(ffff800020e920f0) at syscall+0x400 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc0000f9e98, 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(ffff800023103b18) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800023103b18) at ml_purge+0x50 sys/kern/uipc_mbuf.c:1628 ifq_purge(ffff800000af5278) 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(ffff800023103c40) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806e802008,7,fffffd807f7bf720,ffff800020e04608) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd80677f1bf8,ffff800020e04608) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80677f1bf8,ffff800020e04608) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd80677f1bf8,ffff800020e04608) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd80677f1bf8,ffff800020e04608) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020e04608) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020e04608,0,19,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff800020e04608,19) at postsig+0x4ed sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff800020e04608,19) at postsig+0x4ed sys/kern/kern_sig.c:1415 userret(ffff800020e04608) at userret+0x199 sys/kern/kern_sig.c:1872 syscall(ffff8000231040c0) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff8000231040c0) at syscall+0x55f sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd9ee0, count: -15