uvm_fault(0xffffffff8285b1b8, 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(0xffffffff8285b1b8, 0xfffffd000000001c, 0, 1) -> e m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 end trace frame: 0xffff800020edafc0, count: 0 ddb{1}> trace m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 ml_purge(ffff800020edafd8) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800020edafd8) 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(ffff800020edb100) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd8070f520d8,7,fffffd807f7bf780,ffff800020ddc008) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd80677f91e0,ffff800020ddc008) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80677f91e0,ffff800020ddc008) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd80677f91e0,ffff800020ddc008) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd80677f91e0,ffff800020ddc008) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020ddc008) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020ddc008,0,19,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff800020ddc008,19) at postsig+0x4ed sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff800020ddc008,19) at postsig+0x4ed sys/kern/kern_sig.c:1415 userret(ffff800020ddc008) at userret+0x199 sys/kern/kern_sig.c:1872 syscall(ffff800020edb580) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff800020edb580) at syscall+0x55f sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcc980, count: -15 ddb{1}> show registers rdi 0 rsi 0x34a0f acpi_pdirpa+0x20877 rbp 0xffff800020edaf80 rbx 0 rdx 0x34a0e acpi_pdirpa+0x20876 rcx 0xffff800000676d80 rax 0 r8 0xffffffff8117b027 witness_assert+0x207 r9 0x5 r10 0xd9c3a3d4bb68cfe4 r11 0x92a3608d70331353 r12 0xfffffd806d471600 r13 0x2000 __ALIGN_SIZE+0x1000 r14 0xfffffd0000000000 r15 0xfffffd0000000000 rip 0xffffffff810c9cc8 m_free+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800020edaf40 ss 0x10 m_free+0x58: movswq 0x1c(%r14),%rsi ddb{1}> show proc PROC (syz-executor.0) pid=85876 stat=onproc flags process=a proc=2000 pri=17, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020ddc9c8,0xffff800020e47d68 process=0xffff800020df03e8 user=0xffff800020ed6000, vmspace=0xfffffd807f000b80 estcpu=36, cpticks=5, pctcpu=0.14 user=0, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 93683 392121 1 0 3 0x100083 ttyin getty 52329 213856 0 0 3 0x14200 bored sosplice 28462 455115 0 0 3 0x14280 nfsidl nfsio 74150 16994 0 0 3 0x14280 nfsidl nfsio 44023 28344 0 0 3 0x14280 nfsidl nfsio 66017 256936 0 0 3 0x14280 nfsidl nfsio 38405 211091 0 0 3 0x14280 nfsidl nfsio 46148 426829 0 0 3 0x14280 nfsidl nfsio 99361 286237 0 0 3 0x14280 nfsidl nfsio 68018 55100 0 0 3 0x14280 nfsidl nfsio 6224 157720 0 0 3 0x14280 nfsidl nfsio 70802 69926 0 0 3 0x14280 nfsidl nfsio 15576 275892 0 0 3 0x14280 nfsidl nfsio 35392 481311 0 0 3 0x14280 nfsidl nfsio 15271 459737 0 0 3 0x14280 nfsidl nfsio 265 204379 0 0 3 0x14280 nfsidl nfsio 32714 349623 0 0 3 0x14280 nfsidl nfsio 61464 89036 0 0 3 0x14280 nfsidl nfsio 88695 386100 0 0 3 0x14280 nfsidl nfsio 82472 177395 0 0 3 0x14280 nfsidl nfsio 42502 382636 0 0 3 0x14280 nfsidl nfsio 91636 22371 0 0 3 0x14280 nfsidl nfsio 22352 32451 19867 0 3 0x82 nanosleep syz-executor.1 19867 199047 23564 0 3 0x82 thrsleep syz-fuzzer 19867 217858 23564 0 3 0x4000082 nanosleep syz-fuzzer 19867 470797 23564 0 3 0x4000082 thrsleep syz-fuzzer 19867 40942 23564 0 3 0x4000082 thrsleep syz-fuzzer 19867 253783 23564 0 3 0x4000082 thrsleep syz-fuzzer 19867 221476 23564 0 7 0x4000002 syz-fuzzer 19867 49227 23564 0 3 0x4000082 thrsleep syz-fuzzer 19867 457901 23564 0 3 0x4000082 nanosleep syz-fuzzer 19867 87723 23564 0 3 0x4000082 thrsleep syz-fuzzer 19867 303356 23564 0 3 0x4000082 thrsleep syz-fuzzer 23564 172302 67831 0 3 0x10008a pause ksh 67831 142662 28947 0 3 0x92 select sshd 28947 523426 1 0 3 0x80 select sshd 46314 242879 37508 74 3 0x100092 bpf pflogd 37508 208287 1 0 3 0x80 netio pflogd 43342 161322 99798 73 3 0x100090 kqread syslogd 99798 444868 1 0 3 0x100082 netio syslogd 46886 512964 1 77 3 0x100090 poll dhclient 34798 106478 1 0 3 0x80 poll dhclient 91332 385802 0 0 3 0x14200 bored smr 57605 349186 0 0 2 0x14200 zerothread 35777 398513 0 0 3 0x14200 aiodoned aiodoned 70797 52554 0 0 3 0x14200 syncer update 64961 78435 0 0 3 0x14200 cleaner cleaner 20758 368216 0 0 3 0x14200 reaper reaper 11482 82590 0 0 3 0x14200 pgdaemon pagedaemon 70842 340999 0 0 3 0x14200 bored crynlk 454 16031 0 0 3 0x14200 bored crypto 48218 242393 0 0 3 0x40014200 acpi0 acpi0 38028 346773 0 0 3 0x40014200 idle1 83482 288053 0 0 3 0x14200 bored softnet 58262 272396 0 0 3 0x14200 bored systqmp 5261 269359 0 0 3 0x14200 bored systq 90597 374834 0 0 3 0x40014200 bored softclock 93076 317116 0 0 3 0x40014200 idle0 1 465545 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 9507 6419K 6930K 78643K 11202 0 pcb 13 8K 8K 78643K 66 0 rtable 113 7K 8K 78643K 341 0 ifaddr 73 15K 15K 78643K 107 0 counters 43 33K 34K 78643K 47 0 ioctlops 0 0K 4K 78643K 1531 0 iov 0 0K 16K 78643K 22 0 mount 1 1K 1K 78643K 1 0 vnodes 1219 77K 77K 78643K 1354 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 8 0 VM map 2 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 26 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 4 9K 25K 78643K 293 0 sigio 0 0K 0K 78643K 7 0 proc 61 63K 83K 78643K 474 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 30 0 in_multi 69 3K 3K 78643K 98 0 ether_multi 1 0K 0K 78643K 9 0 mrt 0 0K 0K 78643K 16 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 49 228K 228K 78643K 49 0 exec 0 0K 1K 78643K 234 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 55K 78643K 1915 0 UVM aobj 14 2K 2K 78643K 19 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 36 0 NDP 10 0K 0K 78643K 17 0 temp 98 3861K 3929K 78643K 18233 0 kqueue 3 4K 10K 78643K 13 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 31 0 29 1 0 1 1 0 8 0 rtentry 112 59 0 20 2 0 2 2 0 8 0 unpcb 120 203 0 193 1 0 1 1 0 8 0 syncache 264 6 0 6 2 1 1 1 0 8 1 tcpqe 32 31 0 31 1 1 0 1 0 8 0 tcpcb 544 90 0 86 1 0 1 1 0 8 0 inpcb 296 510 0 503 2 0 2 2 0 8 1 rttmr 72 8 0 8 2 1 1 1 0 8 1 nd6 48 8 0 3 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 ppxss 1128 1 0 1 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 38 0 31 1 0 1 1 0 8 0 pfstitem 24 17 0 7 1 0 1 1 0 8 0 pfstkey 112 17 0 7 1 0 1 1 0 8 0 pfstate 328 17 0 7 2 0 2 2 0 8 0 pfrule 1360 39 0 25 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 248 0 44 13 0 13 13 0 8 0 art_table 32 249 0 44 2 0 2 2 0 8 0 art_node 16 58 0 22 1 0 1 1 0 8 0 sysvmsgpl 40 12 0 6 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 18 0 8 1 0 1 1 0 8 0 shmpl 112 17 0 6 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1801 0 395 90 1 89 89 0 8 0 ffsino 272 1801 0 395 94 0 94 94 0 8 0 nchpl 144 2413 0 815 62 1 61 61 0 8 0 uvmvnodes 72 1944 0 0 36 0 36 36 0 8 0 vnodes 208 1944 0 0 103 0 103 103 0 8 0 namei 1024 6811 0 6811 1 0 1 1 0 8 1 percpumem 16 34 0 2 1 0 1 1 0 8 0 vcpupl 1984 3 0 0 1 0 1 1 0 8 0 vmpool 560 8 0 5 1 0 1 1 0 8 0 pfiaddrpl 120 19 0 14 1 0 1 1 0 8 0 scxspl 192 7312 0 7312 8 7 1 7 0 8 1 plimitpl 152 41 0 33 1 0 1 1 0 8 0 sigapl 424 530 0 479 6 0 6 6 0 8 0 futexpl 56 4513 0 4513 1 0 1 1 0 8 1 knotepl 112 71 0 52 1 0 1 1 0 8 0 kqueuepl 144 39 0 37 1 0 1 1 0 8 0 pipelkpl 48 117 0 107 1 0 1 1 0 8 0 pipepl 120 234 0 216 1 0 1 1 0 8 0 fdescpl 496 494 0 479 3 0 3 3 0 8 0 filepl 152 3070 0 2980 5 0 5 5 0 8 1 lockfpl 104 84 0 83 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 21 0 10 1 0 1 1 0 8 0 ucredpl 96 275 0 266 1 0 1 1 0 8 0 zombiepl 144 480 0 478 1 0 1 1 0 8 0 processpl 984 530 0 478 7 0 7 7 0 8 0 procpl 624 1150 0 1089 6 0 6 6 0 8 0 sosppl 128 3 0 3 1 1 0 1 0 8 0 sockpl 400 752 0 733 4 0 4 4 0 8 2 mcl64k 65536 7 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 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 7 0 0 1 0 1 1 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 183 0 0 22 0 22 22 0 8 0 mtagpl 96 29 0 0 1 0 1 1 0 8 0 mbufpl 256 193 0 0 12 0 12 12 0 8 0 bufpl 280 3914 0 135 270 0 270 270 0 8 0 anonpl 16 55757 0 39435 68 1 67 67 0 124 0 amapchunkpl 152 2596 0 2454 8 1 7 8 0 158 0 amappl16 192 2259 0 1371 46 0 46 46 0 8 1 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 25 0 22 1 0 1 1 0 8 0 amappl13 168 38 0 33 1 0 1 1 0 8 0 amappl12 160 7 0 6 2 1 1 1 0 8 0 amappl11 152 53 0 38 1 0 1 1 0 8 0 amappl10 144 146 0 141 1 0 1 1 0 8 0 amappl9 136 388 0 387 1 0 1 1 0 8 0 amappl8 128 340 0 308 2 0 2 2 0 8 0 amappl7 120 255 0 243 1 0 1 1 0 8 0 amappl6 112 23 0 19 1 0 1 1 0 8 0 amappl5 104 388 0 371 1 0 1 1 0 8 0 amappl4 96 495 0 462 1 0 1 1 0 8 0 amappl3 88 117 0 112 1 0 1 1 0 8 0 amappl2 80 3020 0 2959 2 0 2 2 0 8 0 amappl1 72 20844 0 20409 23 13 10 18 0 8 0 amappl 80 1381 0 1337 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 18 0 5 1 0 1 1 0 8 0 uaddrrnd 24 502 0 484 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 502 0 484 1 0 1 1 0 8 0 vmmpekpl 168 8168 0 8126 2 0 2 2 0 8 0 vmmpepl 168 66867 0 64920 116 17 99 112 0 357 7 vmsppl 368 501 0 484 2 0 2 2 0 8 0 pdppl 4096 1011 0 971 6 0 6 6 0 8 0 pvpl 32 192854 0 173375 168 0 168 168 0 265 7 pmappl 232 501 0 484 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(ffffffff826f0ff0) 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(ffffffff82927e48) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82927e48) 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(ffffffff82927e48) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82927e48) at __mp_lock+0x127 sys/kern/kern_lock.c:147 syscall(ffff800020eab9a0) at syscall+0x400 mi_syscall sys/sys/syscall_mi.h:93 [inline] syscall(ffff800020eab9a0) at syscall+0x400 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc00016be98, 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(ffff800020edafd8) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800020edafd8) 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(ffff800020edb100) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd8070f520d8,7,fffffd807f7bf780,ffff800020ddc008) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd80677f91e0,ffff800020ddc008) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80677f91e0,ffff800020ddc008) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd80677f91e0,ffff800020ddc008) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd80677f91e0,ffff800020ddc008) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020ddc008) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020ddc008,0,19,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff800020ddc008,19) at postsig+0x4ed sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff800020ddc008,19) at postsig+0x4ed sys/kern/kern_sig.c:1415 userret(ffff800020ddc008) at userret+0x199 sys/kern/kern_sig.c:1872 syscall(ffff800020edb580) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff800020edb580) at syscall+0x55f sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcc980, count: -15