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: 0xffff800020edd440, count: 0 ddb{1}> trace m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 ml_purge(ffff800020edd458) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800020edd458) 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(ffff800020edd580) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806ed92008,7,fffffd807f7bfa80,ffff800020ddc278) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd8066a0c998,ffff800020ddc278) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd8066a0c998,ffff800020ddc278) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd8066a0c998,ffff800020ddc278) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd8066a0c998,ffff800020ddc278) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020ddc278) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020ddc278,0,19,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff800020ddc278,19) at postsig+0x4ed sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff800020ddc278,19) at postsig+0x4ed sys/kern/kern_sig.c:1415 userret(ffff800020ddc278) at userret+0x199 sys/kern/kern_sig.c:1872 syscall(ffff800020edda00) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff800020edda00) at syscall+0x55f sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdd5a0, count: -15 ddb{1}> show registers rdi 0 rsi 0x378bb acpi_pdirpa+0x23723 rbp 0xffff800020edd400 rbx 0 rdx 0x378ba acpi_pdirpa+0x23722 rcx 0xffff800000676d80 rax 0 r8 0xffffffff8206ed57 witness_assert+0x207 r9 0x5 r10 0xa87f97d0de767dee r11 0x78de6232346a6956 r12 0xfffffd806f26c500 r13 0x2000 __ALIGN_SIZE+0x1000 r14 0xfffffd0000000000 r15 0xfffffd0000000000 rip 0xffffffff815aa3c8 m_free+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800020edd3c0 ss 0x10 m_free+0x58: movswq 0x1c(%r14),%rsi ddb{1}> show proc PROC (syz-executor.0) pid=500276 stat=onproc flags process=a proc=2000 pri=17, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020dddd48,0xffff800020e233a8 process=0xffff800020df07c0 user=0xffff800020ed8000, vmspace=0xfffffd807efff5c0 estcpu=36, cpticks=19, pctcpu=0.44 user=0, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 74363 297009 7426 0 2 0 syz-executor.1 74363 291229 7426 0 3 0x4000080 msgwait syz-executor.1 67753 271394 0 0 3 0x14200 bored sosplice 7426 338513 20656 0 2 0x482 syz-executor.1 20656 126540 97299 0 2 0x82 syz-fuzzer 20656 462158 97299 0 7 0x4000482 syz-fuzzer 20656 156730 97299 0 3 0x4000082 thrsleep syz-fuzzer 20656 384853 97299 0 3 0x4000082 thrsleep syz-fuzzer 20656 348523 97299 0 3 0x4000082 thrsleep syz-fuzzer 20656 25557 97299 0 3 0x4000082 thrsleep syz-fuzzer 20656 381049 97299 0 3 0x4000082 thrsleep syz-fuzzer 20656 274178 97299 0 3 0x4000082 thrsleep syz-fuzzer 20656 123186 97299 0 3 0x4000082 thrsleep syz-fuzzer 20656 53021 97299 0 3 0x4000082 thrsleep syz-fuzzer 97299 44346 81356 0 3 0x10008a pause ksh 81356 441539 89172 0 3 0x92 select sshd 46768 327809 1 0 3 0x100083 ttyin getty 89172 11251 1 0 3 0x80 select sshd 21349 342973 87988 74 3 0x100092 bpf pflogd 87988 462274 1 0 3 0x80 netio pflogd 37249 509869 37294 73 3 0x100090 kqread syslogd 37294 198589 1 0 3 0x100082 netio syslogd 94574 405864 1 77 3 0x100090 poll dhclient 94557 94247 1 0 3 0x80 poll dhclient 72512 95567 0 0 3 0x14200 bored smr 62343 271649 0 0 2 0x14200 zerothread 37384 346568 0 0 3 0x14200 aiodoned aiodoned 38974 443759 0 0 3 0x14200 syncer update 8758 124190 0 0 3 0x14200 cleaner cleaner 6919 489131 0 0 3 0x14200 reaper reaper 38569 255210 0 0 3 0x14200 pgdaemon pagedaemon 26706 85254 0 0 3 0x14200 bored crynlk 73957 292443 0 0 3 0x14200 bored crypto 32663 266329 0 0 3 0x40014200 acpi0 acpi0 7434 374733 0 0 3 0x40014200 idle1 46613 197486 0 0 3 0x14200 bored softnet 42644 446754 0 0 3 0x14200 bored systqmp 30294 288401 0 0 3 0x14200 bored systq 30578 481326 0 0 3 0x40014200 bored softclock 88200 515949 0 0 3 0x40014200 idle0 1 30318 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 9519 6432K 7126K 78643K 11359 0 pcb 13 8K 8K 78643K 59 0 rtable 109 7K 8K 78643K 353 0 ifaddr 72 14K 16K 78643K 128 0 counters 43 33K 34K 78643K 57 0 ioctlops 0 0K 4K 78643K 1513 0 iov 0 0K 12K 78643K 26 0 mount 1 1K 1K 78643K 1 0 vnodes 1221 77K 77K 78643K 1407 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 6 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 62 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 366 0 sigio 0 0K 0K 78643K 2 0 proc 61 63K 95K 78643K 471 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 14 0 in_multi 49 2K 3K 78643K 85 0 ether_multi 1 0K 0K 78643K 6 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 228 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 120 55K 55K 78643K 2015 0 UVM aobj 8 2K 2K 78643K 9 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 15 0 NDP 12 0K 0K 78643K 26 0 temp 105 3861K 4105K 78643K 8409 0 kqueue 3 4K 8K 78643K 9 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 103 0 101 1 0 1 1 0 8 0 rtentry 112 53 0 18 2 0 2 2 0 8 0 unpcb 120 186 0 175 1 0 1 1 0 8 0 syncache 264 6 0 6 2 2 0 1 0 8 0 tcpqe 32 95 0 95 1 1 0 1 0 8 0 tcpcb 544 286 0 282 1 0 1 1 0 8 0 inpcb 296 504 0 497 2 1 1 2 0 8 0 nd6 48 11 0 8 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 pffrag 232 1 0 1 1 1 0 1 0 482 0 pffrnode 88 1 0 1 1 1 0 1 0 8 0 pffrent 40 4 0 4 1 1 0 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 22 0 15 1 0 1 1 0 8 0 pfstitem 24 22 0 3 1 0 1 1 0 8 0 pfstkey 112 22 0 3 1 0 1 1 0 8 0 pfstate 328 22 0 3 2 0 2 2 0 8 0 pfrule 1360 28 0 20 2 1 1 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 226 0 74 14 1 13 14 0 8 0 art_table 32 228 0 74 2 0 2 2 0 8 0 art_node 16 52 0 20 1 0 1 1 0 8 0 sysvmsgpl 40 24 0 14 1 0 1 1 0 8 0 semapl 112 60 0 50 1 0 1 1 0 8 0 shmpl 112 7 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1847 0 443 89 0 89 89 0 8 0 ffsino 272 1847 0 443 94 0 94 94 0 8 0 nchpl 144 2495 0 883 60 0 60 60 0 8 0 uvmvnodes 72 2048 0 0 38 0 38 38 0 8 0 vnodes 208 2048 0 0 108 0 108 108 0 8 0 namei 1024 6684 0 6684 2 1 1 1 0 8 1 percpumem 16 39 0 7 1 0 1 1 0 8 0 vcpupl 1984 3 0 0 1 0 1 1 0 8 0 vmpool 560 3 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 7 0 4 1 0 1 1 0 8 0 scxspl 192 7479 0 7479 8 3 5 7 0 8 5 plimitpl 152 38 0 30 1 0 1 1 0 8 0 sigapl 424 582 0 550 4 0 4 4 0 8 0 futexpl 56 4326 0 4326 2 1 1 1 0 8 1 knotepl 112 70 0 51 1 0 1 1 0 8 0 kqueuepl 144 31 0 29 1 0 1 1 0 8 0 pipelkpl 48 120 0 110 1 0 1 1 0 8 0 pipepl 120 240 0 222 2 1 1 2 0 8 0 fdescpl 496 566 0 550 3 0 3 3 0 8 0 filepl 152 2964 0 2874 7 2 5 7 0 8 1 lockfpl 104 256 0 255 1 0 1 1 0 8 0 lockfspl 48 122 0 121 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 38 0 27 1 0 1 1 0 8 0 ucredpl 96 211 0 202 1 0 1 1 0 8 0 zombiepl 144 551 0 550 1 0 1 1 0 8 0 processpl 984 582 0 550 5 0 5 5 0 8 0 procpl 624 1241 0 1199 4 0 4 4 0 8 0 srpgc 64 2 0 2 1 1 0 1 0 8 0 sosppl 128 2 0 2 1 1 0 1 0 8 0 sockpl 400 795 0 775 4 1 3 4 0 8 0 mcl64k 65536 260 0 0 33 0 33 33 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 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 158 0 0 19 0 19 19 0 8 0 mtagpl 96 102 0 0 3 0 3 3 0 8 0 mbufpl 256 677 0 0 42 0 42 42 0 8 0 bufpl 280 3923 0 132 271 0 271 271 0 8 0 anonpl 16 62909 0 47135 81 1 80 80 0 124 16 amapchunkpl 152 2714 0 2573 8 1 7 8 0 158 0 amappl16 192 2466 0 1614 55 0 55 55 0 8 12 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 27 0 21 1 0 1 1 0 8 0 amappl13 168 385 0 380 1 0 1 1 0 8 0 amappl12 160 17 0 13 1 0 1 1 0 8 0 amappl11 152 209 0 192 1 0 1 1 0 8 0 amappl10 144 28 0 21 1 0 1 1 0 8 0 amappl9 136 386 0 385 1 0 1 1 0 8 0 amappl8 128 341 0 313 1 0 1 1 0 8 0 amappl7 120 118 0 105 1 0 1 1 0 8 0 amappl6 112 180 0 175 1 0 1 1 0 8 0 amappl5 104 288 0 273 1 0 1 1 0 8 0 amappl4 96 663 0 635 1 0 1 1 0 8 0 amappl3 88 294 0 287 1 0 1 1 0 8 0 amappl2 80 3588 0 3515 2 0 2 2 0 8 0 amappl1 72 21605 0 21167 23 12 11 18 0 8 0 amappl 80 1494 0 1449 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 8 0 1 1 0 1 1 0 8 0 uaddrrnd 24 569 0 550 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 569 0 550 1 0 1 1 0 8 0 vmmpekpl 168 7985 0 7949 2 0 2 2 0 8 0 vmmpepl 168 74425 0 72412 116 8 108 113 0 357 18 vmsppl 368 568 0 550 2 0 2 2 0 8 0 pdppl 4096 1145 0 1103 6 0 6 6 0 8 0 pvpl 32 202379 0 183734 188 0 188 188 0 265 36 pmappl 232 568 0 550 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 322 0 6 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(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+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828ac5d8) at __mp_lock+0x127 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff828ac5d8,1) at __mp_acquire_count+0x51 sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x392 sys/kern/sched_bsd.c:435 sleep_finish(ffff800020e83a20,1) at sleep_finish+0x113 sys/kern/kern_synch.c:418 sleep_finish_all(ffff800020e83a20,1) at sleep_finish_all+0x32 sleep_finish_timeout sys/kern/kern_synch.c:447 [inline] sleep_finish_all(ffff800020e83a20,1) at sleep_finish_all+0x32 sys/kern/kern_synch.c:393 tsleep(ffffffff827adcc0,120,ffffffff823eaed3,2) at tsleep+0x1cc sys/kern/kern_synch.c:155 sys_nanosleep(ffff800020e409d0,ffff800020e83b50,ffff800020e83ba0) at sys_nanosleep+0x205 sys/kern/kern_time.c:297 syscall(ffff800020e83c20) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e83c20) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc000051f38, count: -12 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(ffff800020edd458) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800020edd458) 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(ffff800020edd580) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806ed92008,7,fffffd807f7bfa80,ffff800020ddc278) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd8066a0c998,ffff800020ddc278) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd8066a0c998,ffff800020ddc278) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd8066a0c998,ffff800020ddc278) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd8066a0c998,ffff800020ddc278) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020ddc278) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020ddc278,0,19,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff800020ddc278,19) at postsig+0x4ed sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff800020ddc278,19) at postsig+0x4ed sys/kern/kern_sig.c:1415 userret(ffff800020ddc278) at userret+0x199 sys/kern/kern_sig.c:1872 syscall(ffff800020edda00) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff800020edda00) at syscall+0x55f sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdd5a0, count: -15