uvm_fault(0xffffffff828a5880, 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(0xffffffff828a5880, 0xfffffd000000001c, 0, 1) -> e m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 end trace frame: 0xffff800023fa3270, count: 0 ddb{0}> trace m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 ml_purge(ffff800023fa3288) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800023fa3288) 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(ffff800023fa33b0) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806e29a688,7,fffffd807f7bfae0,ffff800020ecd618) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd8066c894d8,ffff800020ecd618) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd8066c894d8,ffff800020ecd618) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd8066c894d8,ffff800020ecd618) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd8066c894d8,ffff800020ecd618) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020ecd618) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020ecd618,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff800020ecd618,ffff800023fa3640,ffff800023fa3690) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff800023fa3710) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800023fa3710) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc1fc0, count: -14 ddb{0}> show registers rdi 0 rsi 0x55567 acpi_pdirpa+0x413cf rbp 0xffff800023fa3230 rbx 0 rdx 0x55566 acpi_pdirpa+0x413ce rcx 0xffffffff82794f00 mbstat_boot_boot_cpumem rax 0 r8 0xffffffff81677e87 witness_assert+0x207 r9 0x5 r10 0xb1335a4adf7b6754 r11 0xe0196117c7483ed9 r12 0xfffffd806a667100 r13 0x2000 __ALIGN_SIZE+0x1000 r14 0xfffffd0000000000 r15 0xfffffd0000000000 rip 0xffffffff820d9c28 m_free+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800023fa31f0 ss 0x10 m_free+0x58: movswq 0x1c(%r14),%rsi ddb{0}> show proc PROC (syz-executor.0) pid=407362 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020ecdaf8,0xffff800020ecced8 process=0xffff800023f83740 user=0xffff800023f9e000, vmspace=0xfffffd807f0008a0 estcpu=36, cpticks=7, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 76805 361554 67345 0 2 0 syz-executor.1 76805 343447 67345 0 3 0x4000080 ttyout syz-executor.1 76805 23528 67345 0 3 0x4000080 ttyout syz-executor.1 75530 212667 0 0 3 0x14280 nfsidl nfsio 31680 423940 0 0 3 0x14280 nfsidl nfsio 4994 352054 0 0 3 0x14280 nfsidl nfsio 61508 259459 0 0 3 0x14280 nfsidl nfsio 38736 111260 0 0 3 0x14280 nfsidl nfsio 36734 324566 0 0 3 0x14280 nfsidl nfsio 65194 336631 0 0 3 0x14280 nfsidl nfsio 27003 470513 0 0 3 0x14280 nfsidl nfsio 56986 365315 0 0 3 0x14280 nfsidl nfsio 42790 210735 0 0 3 0x14280 nfsidl nfsio 56247 191435 0 0 3 0x14280 nfsidl nfsio 13219 388192 0 0 3 0x14280 nfsidl nfsio 92438 130278 0 0 3 0x14280 nfsidl nfsio 57928 155720 0 0 3 0x14280 nfsidl nfsio 35495 461342 0 0 3 0x14280 nfsidl nfsio 22560 506956 0 0 3 0x14280 nfsidl nfsio 26373 382374 0 0 3 0x14280 nfsidl nfsio 82369 4572 0 0 3 0x14280 nfsidl nfsio 35137 111408 0 0 3 0x14280 nfsidl nfsio 55557 478489 0 0 3 0x14280 nfsidl nfsio 90770 380112 0 0 3 0x14200 bored sosplice 67345 118175 96456 0 3 0x82 nanosleep syz-executor.1 96456 95081 54481 0 3 0x82 thrsleep syz-fuzzer 96456 508504 54481 0 2 0x4000082 syz-fuzzer 96456 206171 54481 0 3 0x4000082 thrsleep syz-fuzzer 96456 22398 54481 0 3 0x4000082 thrsleep syz-fuzzer 96456 314138 54481 0 3 0x4000082 thrsleep syz-fuzzer 96456 126555 54481 0 2 0x4000082 syz-fuzzer 96456 522049 54481 0 3 0x4000082 thrsleep syz-fuzzer 96456 26026 54481 0 2 0x4000082 syz-fuzzer 96456 264928 54481 0 3 0x4000082 thrsleep syz-fuzzer 96456 358793 54481 0 3 0x4000082 thrsleep syz-fuzzer 54481 200595 63370 0 3 0x10008a pause ksh 63370 406948 72765 0 3 0x92 select sshd 8627 295040 1 0 3 0x100083 ttyin getty 72765 197662 1 0 3 0x80 select sshd 38588 362740 48764 74 3 0x100092 bpf pflogd 48764 384945 1 0 3 0x80 netio pflogd 48368 40657 95668 73 3 0x100090 kqread syslogd 95668 476698 1 0 3 0x100082 netio syslogd 50982 86498 1 77 3 0x100090 poll dhclient 10440 236789 1 0 3 0x80 poll dhclient 56653 18255 0 0 3 0x14200 bored smr 2038 367010 0 0 2 0x14200 zerothread 29635 434440 0 0 3 0x14200 aiodoned aiodoned 16538 15206 0 0 3 0x14200 syncer update 93920 456394 0 0 3 0x14200 cleaner cleaner 46528 496414 0 0 7 0x14200 reaper 36000 501537 0 0 3 0x14200 pgdaemon pagedaemon 65847 65885 0 0 3 0x14200 bored crynlk 55983 514751 0 0 3 0x14200 bored crypto 48387 251325 0 0 3 0x40014200 acpi0 acpi0 17686 277084 0 0 3 0x40014200 idle1 54640 508954 0 0 3 0x14200 bored softnet 8749 462392 0 0 3 0x14200 bored systqmp 70335 470120 0 0 2 0x14200 systq 76310 216848 0 0 3 0x40014200 bored softclock 2750 497949 0 0 3 0x40014200 idle0 1 420737 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9528 6679K 7117K 78643K 11709 0 pcb 13 8K 8K 78643K 68 0 rtable 91 3K 6K 78643K 510 0 ifaddr 68 14K 14K 78643K 221 0 sysctl 2 0K 0K 78643K 2 0 counters 43 33K 34K 78643K 77 0 ioctlops 0 0K 4K 78643K 1530 0 iov 0 0K 16K 78643K 25 0 mount 1 1K 1K 78643K 1 0 vnodes 1223 77K 77K 78643K 1558 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 3 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 52 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 565 0 sigio 0 0K 0K 78643K 10 0 proc 65 63K 83K 78643K 502 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 53 0 in_multi 62 3K 3K 78643K 113 0 ether_multi 1 0K 0K 78643K 8 0 mrt 0 0K 0K 78643K 5 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 247 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 39K 44K 78643K 2434 0 UVM aobj 8 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 56 0 NDP 10 0K 0K 78643K 39 0 temp 94 3860K 3928K 78643K 7793 0 kqueue 3 4K 16K 78643K 34 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 8 0 2 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 33 0 31 1 0 1 1 0 8 0 rtentry 112 66 0 30 2 0 2 2 0 8 0 unpcb 120 227 0 216 1 0 1 1 0 8 0 syncache 264 11 0 11 3 2 1 1 0 8 1 tcpqe 32 386 0 386 1 1 0 1 0 8 0 tcpcb 544 148 0 144 1 0 1 1 0 8 0 inpcb 296 426 0 419 3 1 2 2 0 8 1 rttmr 72 2 0 2 1 1 0 1 0 8 0 nd6 48 15 0 9 1 0 1 1 0 8 0 pffrag 232 6 0 4 1 0 1 1 0 482 0 pffrnode 88 6 0 4 1 0 1 1 0 8 0 pffrent 40 13 0 11 1 0 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 60 0 60 2 1 1 1 0 8 1 pfstitem 24 24 0 2 1 0 1 1 0 8 0 pfstkey 112 24 0 2 1 0 1 1 0 8 0 pfstate 328 24 0 2 2 0 2 2 0 8 0 pfrule 1360 35 0 26 2 1 1 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 242 0 85 12 2 10 12 0 8 0 art_table 32 244 0 85 2 0 2 2 0 8 0 art_node 16 65 0 35 1 0 1 1 0 8 0 sysvmsgpl 40 18 0 6 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 50 0 40 1 0 1 1 0 8 0 shmpl 112 6 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2137 0 734 89 0 89 89 0 8 0 ffsino 272 2137 0 734 95 0 95 95 0 8 0 nchpl 144 2961 0 1365 60 0 60 60 0 8 0 uvmvnodes 72 2440 0 0 45 0 45 45 0 8 0 vnodes 208 2440 0 0 129 0 129 129 0 8 0 namei 1024 8197 0 8197 2 1 1 1 0 8 1 percpumem 16 49 0 17 1 0 1 1 0 8 0 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 560 4 0 2 2 1 1 1 0 8 0 pfiaddrpl 120 15 0 15 2 1 1 1 0 8 1 scxspl 192 9293 0 9293 9 8 1 7 0 8 1 plimitpl 152 63 0 54 1 0 1 1 0 8 0 sigapl 424 798 0 746 6 0 6 6 0 8 0 futexpl 56 4489 0 4489 2 1 1 1 0 8 1 knotepl 112 112 0 93 1 0 1 1 0 8 0 kqueuepl 144 55 0 53 1 0 1 1 0 8 0 pipelkpl 48 101 0 91 1 0 1 1 0 8 0 pipepl 120 202 0 186 1 0 1 1 0 8 0 fdescpl 496 762 0 746 3 0 3 3 0 8 0 filepl 152 3434 0 3343 7 1 6 6 0 8 2 lockfpl 104 101 0 100 1 0 1 1 0 8 0 lockfspl 48 30 0 29 1 0 1 1 0 8 0 sessionpl 112 19 0 8 1 0 1 1 0 8 0 pgrppl 48 19 0 8 1 0 1 1 0 8 0 ucredpl 96 512 0 503 1 0 1 1 0 8 0 zombiepl 144 747 0 745 2 1 1 1 0 8 0 processpl 984 798 0 745 7 0 7 7 0 8 0 procpl 624 1623 0 1557 6 0 6 6 0 8 0 sosppl 128 3 0 3 1 1 0 1 0 8 0 sockpl 400 686 0 661 6 0 6 6 0 8 3 mcl64k 65536 9 0 0 2 0 2 2 0 8 0 mcl12k 12288 4 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 6 0 0 1 0 1 1 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 179 0 0 22 0 22 22 0 8 0 mtagpl 96 63 0 0 2 0 2 2 0 8 0 mbufpl 256 273 0 0 17 0 17 17 0 8 0 bufpl 280 4539 0 135 315 0 315 315 0 8 0 anonpl 16 75332 0 63202 71 15 56 70 0 124 0 amapchunkpl 152 3572 0 3434 16 5 11 11 0 158 4 amappl16 192 3205 0 2489 49 12 37 48 0 8 1 amappl15 184 111 0 110 1 0 1 1 0 8 0 amappl14 176 32 0 28 1 0 1 1 0 8 0 amappl13 168 37 0 33 1 0 1 1 0 8 0 amappl12 160 273 0 268 1 0 1 1 0 8 0 amappl11 152 175 0 159 1 0 1 1 0 8 0 amappl10 144 17 0 11 1 0 1 1 0 8 0 amappl9 136 539 0 536 1 0 1 1 0 8 0 amappl8 128 503 0 473 2 1 1 2 0 8 0 amappl7 120 125 0 112 1 0 1 1 0 8 0 amappl6 112 133 0 129 1 0 1 1 0 8 0 amappl5 104 804 0 784 1 0 1 1 0 8 0 amappl4 96 611 0 582 1 0 1 1 0 8 0 amappl3 88 113 0 108 1 0 1 1 0 8 0 amappl2 80 5064 0 4985 2 0 2 2 0 8 0 amappl1 72 24547 0 24078 23 13 10 18 0 8 0 amappl 80 1876 0 1828 2 0 2 2 0 84 1 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 0 1 0 1 1 0 8 0 uaddrrnd 24 766 0 748 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 766 0 748 1 0 1 1 0 8 0 vmmpekpl 168 9118 0 9081 2 0 2 2 0 8 0 vmmpepl 168 96048 0 94068 117 30 87 110 0 357 0 vmsppl 368 765 0 747 2 0 2 2 0 8 0 pdppl 4096 1539 0 1496 7 1 6 6 0 8 0 pvpl 32 251993 0 236620 171 35 136 171 0 265 0 pmappl 232 765 0 747 4 2 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 272 0 7 8 0 8 8 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(ffff800023fa3288) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800023fa3288) 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(ffff800023fa33b0) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806e29a688,7,fffffd807f7bfae0,ffff800020ecd618) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd8066c894d8,ffff800020ecd618) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd8066c894d8,ffff800020ecd618) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd8066c894d8,ffff800020ecd618) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd8066c894d8,ffff800020ecd618) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020ecd618) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020ecd618,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff800020ecd618,ffff800023fa3640,ffff800023fa3690) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff800023fa3710) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800023fa3710) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc1fc0, count: -14 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020d70ff0) 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 __sanitizer_cov_trace_cmp4(a27a2,a27a3) at __sanitizer_cov_trace_cmp4+0x5d kd_curproc sys/dev/kcov.c:416 [inline] __sanitizer_cov_trace_cmp4(a27a2,a27a3) at __sanitizer_cov_trace_cmp4+0x5d trace_cmp sys/dev/kcov.c:104 [inline] __sanitizer_cov_trace_cmp4(a27a2,a27a3) at __sanitizer_cov_trace_cmp4+0x5d sys/dev/kcov.c:135 __mp_lock(ffffffff828adbe0) at __mp_lock+0x139 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828adbe0) at __mp_lock+0x139 sys/kern/kern_lock.c:147 uvm_unmap_detach(ffff800020dcf670,1) at uvm_unmap_detach+0xe7 sys/uvm/uvm_map.c:1581 uvm_map_teardown(fffffd807f000b80) at uvm_map_teardown+0x25c sys/uvm/uvm_map.c:2757 uvmspace_free(fffffd807f000b80) at uvmspace_free+0x86 sys/uvm/uvm_map.c:3646 uvm_exit(ffff800020df0b98) at uvm_exit+0x29 sys/uvm/uvm_glue.c:297 reaper(ffff800020d895f0) at reaper+0x189 sys/kern/kern_exit.c:456 end trace frame: 0x0, count: -10