uvm_fault(0xffffffff828b8cf0, 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(0xffffffff828b8cf0, 0xfffffd000000001c, 0, 1) -> e m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 end trace frame: 0xffff800020eddbd0, count: 0 ddb{1}> trace m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 ml_purge(ffff800020eddbe8) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800020eddbe8) at ml_purge+0x50 sys/kern/uipc_mbuf.c:1628 ifq_purge(ffff800000ac4278) at ifq_purge+0x9a sys/net/ifq.c:529 tun_dev_close(5d00,7) at tun_dev_close+0xc8 sys/net/if_tun.c:457 spec_close(ffff800020eddd10) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd807e5f41a8,7,fffffd807f7bfba0,ffff800020ddd868) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd80666bb6a0,ffff800020ddd868) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80666bb6a0,ffff800020ddd868) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd80666bb6a0,ffff800020ddd868) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd80666bb6a0,ffff800020ddd868) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020ddd868) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020ddd868,0,19,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff800020ddd868,19) at postsig+0x4ed sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff800020ddd868,19) at postsig+0x4ed sys/kern/kern_sig.c:1415 userret(ffff800020ddd868) at userret+0x199 sys/kern/kern_sig.c:1872 syscall(ffff800020ede190) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff800020ede190) at syscall+0x55f sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe99c0, count: -15 ddb{1}> show registers rdi 0 rsi 0x42965 acpi_pdirpa+0x2e7cd rbp 0xffff800020eddb90 rbx 0 rdx 0x42964 acpi_pdirpa+0x2e7cc rcx 0xffff800000677d80 rax 0 r8 0xffffffff8163d5a7 witness_assert+0x207 r9 0x5 r10 0x6dccedcd31512af4 r11 0x69dca350d64f08a5 r12 0xfffffd806a4a2c00 r13 0x2000 __ALIGN_SIZE+0x1000 r14 0xfffffd0000000000 r15 0xfffffd0000000000 rip 0xffffffff815cf668 m_free+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800020eddb50 ss 0x10 m_free+0x58: movswq 0x1c(%r14),%rsi ddb{1}> show proc PROC (syz-executor.0) pid=270084 stat=onproc flags process=a proc=2000 pri=17, usrpri=53, nice=20 forw=0xffffffffffffffff, list=0xffff800020ddc278,0xffff800020ddd398 process=0xffff800020df0f90 user=0xffff800020ed9000, vmspace=0xfffffd807efffcf0 estcpu=6, cpticks=1, pctcpu=0.8 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 28976 275112 83989 0 2 0x3000 syz-executor.1 28976 221962 83989 0 7 0x4081000 syz-executor.1 83989 45956 37491 0 3 0x82 nanosleep syz-executor.1 90391 306124 0 0 3 0x14200 bored sosplice 37491 431453 34946 0 3 0x82 thrsleep syz-fuzzer 37491 434444 34946 0 3 0x4000082 nanosleep syz-fuzzer 37491 288775 34946 0 3 0x4000082 thrsleep syz-fuzzer 37491 167122 34946 0 3 0x4000082 thrsleep syz-fuzzer 37491 256907 34946 0 3 0x4000082 thrsleep syz-fuzzer 37491 303654 34946 0 2 0x4000082 syz-fuzzer 37491 17345 34946 0 3 0x4000082 thrsleep syz-fuzzer 37491 18202 34946 0 3 0x4000082 nanosleep syz-fuzzer 37491 326252 34946 0 3 0x4000082 thrsleep syz-fuzzer 37491 86827 34946 0 3 0x4000082 thrsleep syz-fuzzer 37491 86278 34946 0 3 0x4000082 thrsleep syz-fuzzer 34946 257867 98246 0 3 0x10008a pause ksh 98246 418401 63533 0 3 0x92 select sshd 37412 156905 1 0 3 0x100083 ttyin getty 63533 13538 1 0 3 0x80 select sshd 5573 364409 1768 74 3 0x100092 bpf pflogd 1768 473281 1 0 3 0x80 netio pflogd 70697 36086 70321 73 3 0x100090 kqread syslogd 70321 43601 1 0 3 0x100082 netio syslogd 18291 135159 1 77 3 0x100090 poll dhclient 98897 177808 1 0 3 0x80 poll dhclient 69922 479687 0 0 3 0x14200 bored smr 48824 220991 0 0 2 0x14200 zerothread 83354 444007 0 0 3 0x14200 aiodoned aiodoned 49240 202886 0 0 3 0x14200 syncer update 74265 43803 0 0 3 0x14200 cleaner cleaner 57627 194086 0 0 3 0x14200 reaper reaper 80381 192925 0 0 3 0x14200 pgdaemon pagedaemon 78853 408539 0 0 3 0x14200 bored crynlk 38151 116235 0 0 3 0x14200 bored crypto 30460 330361 0 0 3 0x40014200 acpi0 acpi0 77972 427246 0 0 3 0x40014200 idle1 51143 299812 0 0 3 0x14200 bored softnet 63596 228264 0 0 3 0x14200 bored systqmp 85100 477795 0 0 3 0x14200 bored systq 34364 401830 0 0 3 0x40014200 bored softclock 89156 322330 0 0 3 0x40014200 idle0 1 245612 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 9486 6403K 7181K 78643K 11446 0 pcb 13 8K 8K 78643K 38 0 rtable 134 10K 11K 78643K 478 0 ifaddr 62 14K 14K 78643K 197 0 counters 43 33K 34K 78643K 57 0 ioctlops 0 0K 4K 78643K 1624 0 iov 0 0K 16K 78643K 248 0 mount 1 1K 1K 78643K 1 0 vnodes 1227 77K 77K 78643K 1448 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 5 13K 25K 78643K 325 0 sigio 0 0K 0K 78643K 2 0 proc 60 63K 95K 78643K 494 0 subproc 23 1K 2K 78643K 51 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 18 0 in_multi 42 2K 2K 78643K 70 0 ether_multi 1 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 236 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 122 22K 23K 78643K 1881 0 UVM aobj 11 2K 2K 78643K 11 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 14 0 NDP 8 0K 0K 78643K 22 0 temp 87 3858K 3926K 78643K 7685 0 kqueue 3 4K 8K 78643K 10 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 8 0 2 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 29 0 27 1 0 1 1 0 8 0 rtentry 112 60 0 16 2 0 2 2 0 8 0 unpcb 120 151 0 141 1 0 1 1 0 8 0 syncache 264 6 0 6 2 1 1 1 0 8 1 tcpqe 32 81 0 81 2 1 1 1 0 8 1 tcpcb 544 55 0 46 2 0 2 2 0 8 1 inpcb 296 256 0 247 3 1 2 2 0 8 1 nd6 48 12 0 6 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 ppxss 1136 1 0 1 1 1 0 1 0 8 0 pffrag 232 5 0 4 2 1 1 1 0 482 0 pffrnode 88 5 0 4 2 1 1 1 0 8 0 pffrent 40 96 0 95 2 1 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 93 0 80 2 0 2 2 0 8 0 pfstitem 24 36 0 8 1 0 1 1 0 8 0 pfstkey 112 36 0 8 1 0 1 1 0 8 0 pfstate 328 36 0 8 3 0 3 3 0 8 0 pfrule 1360 88 0 78 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 233 0 44 12 0 12 12 0 8 0 art_table 32 234 0 44 2 0 2 2 0 8 0 art_node 16 59 0 19 1 0 1 1 0 8 0 semapl 112 18 0 8 1 0 1 1 0 8 0 shmpl 112 8 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1761 0 357 89 1 88 89 0 8 0 ffsino 272 1761 0 357 94 0 94 94 0 8 0 nchpl 144 2686 0 1086 60 0 60 60 0 8 0 uvmvnodes 72 2013 0 0 37 0 37 37 0 8 0 vnodes 208 2013 0 0 106 0 106 106 0 8 0 namei 1024 7275 0 7275 2 1 1 1 0 8 1 percpumem 16 39 0 7 1 0 1 1 0 8 0 vcpupl 1984 1 0 0 1 0 1 1 0 8 0 vmpool 560 3 0 2 1 0 1 1 0 8 0 pfiaddrpl 120 179 0 168 1 0 1 1 0 8 0 scxspl 192 7188 0 7188 10 7 3 7 0 8 3 plimitpl 152 28 0 20 1 0 1 1 0 8 0 sigapl 424 538 0 506 4 0 4 4 0 8 0 futexpl 56 4250 0 4250 2 1 1 1 0 8 1 knotepl 112 82 0 63 1 0 1 1 0 8 0 kqueuepl 144 37 0 34 1 0 1 1 0 8 0 pipepl 304 85 0 75 1 0 1 1 0 8 0 fdescpl 496 522 0 506 3 0 3 3 0 8 0 filepl 152 3121 0 3026 5 0 5 5 0 8 0 lockfpl 104 50 0 49 1 0 1 1 0 8 0 lockfspl 48 23 0 22 1 0 1 1 0 8 0 sessionpl 112 19 0 8 1 0 1 1 0 8 0 pgrppl 48 25 0 14 1 0 1 1 0 8 0 ucredpl 96 432 0 423 1 0 1 1 0 8 0 zombiepl 144 507 0 506 1 0 1 1 0 8 0 processpl 992 538 0 506 5 0 5 5 0 8 0 procpl 624 1066 0 1023 5 1 4 5 0 8 0 sosppl 128 5 0 5 2 1 1 1 0 8 1 sockpl 400 440 0 419 5 2 3 4 0 8 0 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 13 0 0 2 0 2 2 0 8 0 mcl4k 4096 6 0 0 1 0 1 1 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 208 0 0 25 0 25 25 0 8 0 mtagpl 96 19 0 0 1 0 1 1 0 8 0 mbufpl 256 281 0 0 17 0 17 17 0 8 0 bufpl 280 4018 0 143 277 0 277 277 0 8 0 anonpl 16 72633 0 56219 84 7 77 83 0 124 6 amapchunkpl 152 2625 0 2481 9 2 7 8 0 158 0 amappl16 192 2619 0 1676 69 12 57 59 0 8 8 amappl15 184 10 0 9 2 1 1 1 0 8 0 amappl14 176 103 0 98 1 0 1 1 0 8 0 amappl13 168 37 0 33 1 0 1 1 0 8 0 amappl12 160 145 0 143 2 1 1 1 0 8 0 amappl11 152 152 0 134 1 0 1 1 0 8 0 amappl10 144 21 0 13 1 0 1 1 0 8 0 amappl9 136 441 0 440 1 0 1 1 0 8 0 amappl8 128 434 0 399 2 0 2 2 0 8 0 amappl7 120 126 0 113 1 0 1 1 0 8 0 amappl6 112 24 0 20 1 0 1 1 0 8 0 amappl5 104 476 0 461 1 0 1 1 0 8 0 amappl4 96 591 0 557 1 0 1 1 0 8 0 amappl3 88 189 0 182 1 0 1 1 0 8 0 amappl2 80 3227 0 3157 2 0 2 2 0 8 0 amappl1 72 23272 0 22828 23 13 10 18 0 8 0 amappl 80 1335 0 1289 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 10 0 0 1 0 1 1 0 8 0 uaddrrnd 24 525 0 508 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 525 0 508 1 0 1 1 0 8 0 vmmpekpl 168 7652 0 7612 2 0 2 2 0 8 0 vmmpepl 168 73151 0 71032 137 12 125 132 0 357 30 vmsppl 368 524 0 508 2 0 2 2 0 8 0 pdppl 4096 1057 0 1017 7 1 6 6 0 8 0 pvpl 32 219611 0 200509 198 12 186 198 0 265 21 pmappl 232 524 0 508 4 2 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 273 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(ffffffff82722ff0) 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(ffffffff8292ee60) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff8292ee60) at __mp_lock+0x127 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(ffffffff8292ee60) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff8292ee60) at __mp_lock+0x127 sys/kern/kern_lock.c:147 single_thread_check(ffff800020e37018,0) at single_thread_check+0x13a sys/kern/kern_sig.c:1922 userret(ffff800020e37018) at userret+0x345 sys/kern/kern_sig.c:1896 Xsyscall() at Xsyscall+0x156 end of kernel end trace frame: 0x7f60700f270, count: -10 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(ffff800020eddbe8) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800020eddbe8) at ml_purge+0x50 sys/kern/uipc_mbuf.c:1628 ifq_purge(ffff800000ac4278) at ifq_purge+0x9a sys/net/ifq.c:529 tun_dev_close(5d00,7) at tun_dev_close+0xc8 sys/net/if_tun.c:457 spec_close(ffff800020eddd10) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd807e5f41a8,7,fffffd807f7bfba0,ffff800020ddd868) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd80666bb6a0,ffff800020ddd868) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80666bb6a0,ffff800020ddd868) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd80666bb6a0,ffff800020ddd868) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd80666bb6a0,ffff800020ddd868) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020ddd868) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020ddd868,0,19,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff800020ddd868,19) at postsig+0x4ed sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff800020ddd868,19) at postsig+0x4ed sys/kern/kern_sig.c:1415 userret(ffff800020ddd868) at userret+0x199 sys/kern/kern_sig.c:1872 syscall(ffff800020ede190) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff800020ede190) at syscall+0x55f sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe99c0, count: -15