login: uvm_fault(0xffffffff82851588, 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(0xffffffff82851588, 0xfffffd000000001c, 0, 1) -> e m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 end trace frame: 0xffff800020edca80, count: 0 ddb{1}> trace m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 ml_purge(ffff800020edca98) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800020edca98) 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(ffff800020edcbc0) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd807ea41278,7,fffffd807f7bf660,ffff800020dddd48) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd80685ec900,ffff800020dddd48) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80685ec900,ffff800020dddd48) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd80685ec900,ffff800020dddd48) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd80685ec900,ffff800020dddd48) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020dddd48) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020dddd48,0,19,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff800020dddd48,19) at postsig+0x4ed sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff800020dddd48,19) at postsig+0x4ed sys/kern/kern_sig.c:1415 userret(ffff800020dddd48) at userret+0x199 sys/kern/kern_sig.c:1872 Xsyscall() at Xsyscall+0x156 end of kernel end trace frame: 0x7f7ffffbf560, count: -14 ddb{1}> show registers rdi 0 rsi 0x47627 acpi_pdirpa+0x3348f rbp 0xffff800020edca40 rbx 0 rdx 0x47626 acpi_pdirpa+0x3348e rcx 0xffff800000676d80 rax 0 r8 0xffffffff81637477 witness_assert+0x207 r9 0x5 r10 0x31a480a6dabd2610 r11 0x9f97d730b3550995 r12 0xfffffd8069a34a00 r13 0x2000 __ALIGN_SIZE+0x1000 r14 0xfffffd0000000000 r15 0xfffffd0000000000 rip 0xffffffff81350268 m_free+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800020edca00 ss 0x10 m_free+0x58: movswq 0x1c(%r14),%rsi ddb{1}> show proc PROC (syz-executor.0) pid=424930 stat=onproc flags process=a proc=2000 pri=17, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020ddcc38,0xffff800020e22028 process=0xffff800020df07c0 user=0xffff800020ed8000, vmspace=0xfffffd807f000cf0 estcpu=36, cpticks=3, pctcpu=0.24 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 68886 45761 12770 0 2 0 syz-executor.1 68886 483521 12770 0 3 0x4000080 fsleep syz-executor.1 77570 148939 1 0 3 0x100083 ttyin getty 12770 313036 1688 0 3 0x82 nanosleep syz-executor.1 50691 437220 0 0 3 0x14280 nfsidl nfsio 9010 477563 0 0 3 0x14280 nfsidl nfsio 75498 142482 0 0 3 0x14280 nfsidl nfsio 70142 409319 0 0 3 0x14280 nfsidl nfsio 87145 272713 0 0 3 0x14280 nfsidl nfsio 5738 289467 0 0 3 0x14280 nfsidl nfsio 93675 383305 0 0 3 0x14280 nfsidl nfsio 51171 317891 0 0 3 0x14280 nfsidl nfsio 7892 39623 0 0 3 0x14280 nfsidl nfsio 35554 453213 0 0 3 0x14280 nfsidl nfsio 75945 76396 0 0 3 0x14280 nfsidl nfsio 65602 239582 0 0 3 0x14280 nfsidl nfsio 22483 246552 0 0 3 0x14280 nfsidl nfsio 41241 99215 0 0 3 0x14280 nfsidl nfsio 17864 169170 0 0 3 0x14280 nfsidl nfsio 43955 500803 0 0 3 0x14280 nfsidl nfsio 48356 149022 0 0 3 0x14280 nfsidl nfsio 92280 396893 0 0 3 0x14280 nfsidl nfsio 23808 261738 0 0 3 0x14280 nfsidl nfsio 76110 263151 0 0 3 0x14280 nfsidl nfsio 31909 438131 0 0 3 0x14200 bored sosplice 1688 337658 13962 0 3 0x82 nanosleep syz-fuzzer 1688 8825 13962 0 3 0x4000082 nanosleep syz-fuzzer 1688 240627 13962 0 3 0x4000082 thrsleep syz-fuzzer 1688 324379 13962 0 3 0x4000082 thrsleep syz-fuzzer 1688 274642 13962 0 3 0x4000082 thrsleep syz-fuzzer 1688 511086 13962 0 3 0x4000082 thrsleep syz-fuzzer 1688 339378 13962 0 3 0x4000082 thrsleep syz-fuzzer 1688 7912 13962 0 3 0x4000082 thrsleep syz-fuzzer 1688 256963 13962 0 3 0x4000082 thrsleep syz-fuzzer 1688 304649 13962 0 2 0x4000082 syz-fuzzer 13962 523040 55094 0 3 0x10008a pause ksh 55094 405198 50455 0 3 0x92 select sshd 50455 360647 1 0 3 0x80 select sshd 37491 169446 55294 74 3 0x100092 bpf pflogd 55294 327841 1 0 3 0x80 netio pflogd 37686 426464 76923 73 3 0x100090 kqread syslogd 76923 420654 1 0 3 0x100082 netio syslogd 87463 336978 1 77 3 0x100090 poll dhclient 31590 346027 1 0 3 0x80 poll dhclient 23326 132601 0 0 3 0x14200 bored smr 55315 285175 0 0 2 0x14200 zerothread 7643 82788 0 0 3 0x14200 aiodoned aiodoned 94386 6664 0 0 3 0x14200 syncer update 12003 390464 0 0 3 0x14200 cleaner cleaner 42126 223301 0 0 3 0x14200 reaper reaper 73757 500769 0 0 3 0x14200 pgdaemon pagedaemon 31184 437411 0 0 3 0x14200 bored crynlk 12985 306654 0 0 3 0x14200 bored crypto 87429 393400 0 0 3 0x40014200 acpi0 acpi0 86298 367121 0 0 3 0x40014200 idle1 59454 346584 0 0 7 0x14200 softnet 37025 358352 0 0 3 0x14200 bored systqmp 36814 18218 0 0 3 0x14200 bored systq 35828 98461 0 0 3 0x40014200 bored softclock 27214 410335 0 0 3 0x40014200 idle0 1 331798 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 59454 (softnet) thread 0xffff800020d88750 (346584) exclusive rwlock netlock r = 0 (0xffffffff8276eb48) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 if_input_process+0x85 sys/net/if.c:935 #2 ifiq_process+0x80 sys/net/ifq.c:646 #3 taskq_thread+0xec sys/kern/kern_task.c:437 #4 proc_trampoline+0x1c shared rwlock softnet r = 0 (0xffff80000002c070) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 taskq_thread+0xdf sys/kern/kern_task.c:436 #2 proc_trampoline+0x1c ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9566 6464K 7153K 78643K 17957 0 pcb 13 8K 8K 78643K 487 0 rtable 96 3K 7K 78643K 1637 0 ifaddr 118 26K 28K 78643K 783 0 sysctl 2 0K 0K 78643K 7 0 counters 43 33K 34K 78643K 277 0 ioctlops 0 0K 4K 78643K 1802 0 iov 0 0K 32K 78643K 339 0 mount 1 1K 1K 78643K 1 0 vnodes 1225 77K 77K 78643K 3538 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 27 0 VM map 2 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 128 0 dirhash 6 1K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 5354 0 sigio 0 0K 0K 78643K 37 0 proc 63 63K 95K 78643K 894 0 subproc 23 1K 2K 78643K 85 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 379 0 in_multi 150 6K 6K 78643K 570 0 ether_multi 1 0K 0K 78643K 120 0 mrt 0 0K 0K 78643K 111 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 85 387K 387K 78643K 85 0 exec 0 0K 1K 78643K 444 0 pfkey data 0 0K 1K 78643K 2 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 138 154K 169K 78643K 13871 0 UVM aobj 49 6K 6K 78643K 66 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 1K 78643K 458 0 NDP 17 0K 0K 78643K 162 0 temp 154 3873K 3985K 78643K 90503 0 kqueue 4 5K 17K 78643K 302 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 24 0 13 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 260 0 258 1 0 1 1 0 8 0 rtentry 112 239 0 202 2 0 2 2 0 8 0 unpcb 120 1368 0 1350 1 0 1 1 0 8 0 syncache 264 47 0 47 8 7 1 1 0 8 1 tcpqe 32 78 0 78 5 5 0 1 0 8 0 tcpcb 544 1201 0 1193 4 3 1 2 0 8 0 inpcb 296 3566 0 3540 10 7 3 3 0 8 0 rttmr 72 45 0 45 5 4 1 1 0 8 1 nd6 48 34 0 31 1 0 1 1 0 8 0 pkpcb 40 61 0 61 6 5 1 1 0 8 1 swfcl 56 8 0 0 1 0 1 1 0 8 0 ppxss 1128 36 0 36 7 6 1 1 0 8 1 pffrag 232 26 0 26 3 3 0 1 0 482 0 pffrnode 88 26 0 26 3 3 0 1 0 8 0 pffrent 40 960 0 960 4 4 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 28 0 28 1 1 0 1 0 8 0 pfstitem 24 13 0 11 1 0 1 1 0 8 0 pfstkey 112 13 0 11 1 0 1 1 0 8 0 pfstate 328 13 0 11 2 1 1 2 0 8 0 pfrule 1360 29 0 20 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 928 0 750 19 6 13 13 0 8 0 art_table 32 929 0 750 2 0 2 2 0 8 0 art_node 16 219 0 189 1 0 1 1 0 8 0 sysvmsgpl 40 17 0 0 1 0 1 1 0 8 0 semupl 112 23 0 23 1 1 0 1 0 8 0 semapl 112 99 0 89 1 0 1 1 0 8 0 shmpl 112 64 0 17 2 0 2 2 0 8 0 dirhash 1024 17 0 13 3 1 2 3 0 8 0 dino2pl 256 8685 0 7281 90 1 89 89 0 8 0 ffsino 272 8685 0 7281 95 0 95 95 0 8 0 nchpl 144 15177 0 13584 61 1 60 61 0 8 0 uvmvnodes 72 5926 0 0 108 0 108 108 0 8 0 vnodes 208 5926 0 0 312 0 312 312 0 8 0 namei 1024 39595 0 39595 2 1 1 1 0 8 1 percpumem 16 149 0 117 1 0 1 1 0 8 0 vcpupl 1984 10 0 0 2 0 2 2 0 8 0 vmpool 560 15 0 5 1 0 1 1 0 8 0 pfiaddrpl 120 8 0 8 1 1 0 1 0 8 0 scsiplug 64 4 0 4 1 1 0 1 0 8 0 scxspl 192 47374 0 47374 17 14 3 7 0 8 3 plimitpl 152 331 0 323 1 0 1 1 0 8 0 sigapl 424 5588 0 5536 6 0 6 6 0 8 0 futexpl 56 38737 0 38736 1 0 1 1 0 8 0 knotepl 112 391 0 372 1 0 1 1 0 8 0 kqueuepl 144 488 0 477 1 0 1 1 0 8 0 pipelkpl 48 253 0 243 1 0 1 1 0 8 0 pipepl 120 506 0 488 1 0 1 1 0 8 0 fdescpl 496 5547 0 5531 3 0 3 3 0 8 0 filepl 152 19971 0 19879 6 1 5 6 0 8 0 lockfpl 104 921 0 919 1 0 1 1 0 8 0 lockfspl 48 327 0 325 1 0 1 1 0 8 0 sessionpl 112 23 0 12 1 0 1 1 0 8 0 pgrppl 48 30 0 19 1 0 1 1 0 8 0 ucredpl 96 3106 0 3096 1 0 1 1 0 8 0 zombiepl 144 5537 0 5536 2 1 1 1 0 8 0 processpl 984 5588 0 5536 7 0 7 7 0 8 0 procpl 624 12733 0 12671 8 2 6 6 0 8 0 srpgc 64 4 0 4 2 2 0 1 0 8 0 sosppl 128 50 0 50 5 4 1 1 0 8 1 sockpl 400 5273 0 5228 13 7 6 6 0 8 1 mcl64k 65536 19 0 0 3 0 3 3 0 8 0 mcl12k 12288 10 0 0 1 0 1 1 0 8 0 mcl9k 9216 12 0 0 1 0 1 1 0 8 0 mcl8k 8192 12 0 0 2 0 2 2 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 271 0 0 21 1 20 21 0 8 0 mtagpl 96 353 0 0 9 0 9 9 0 8 0 mbufpl 256 1072 0 0 62 0 62 62 0 8 0 bufpl 280 13420 0 7185 446 0 446 446 0 8 0 anonpl 16 415663 0 405413 83 27 56 58 0 124 12 amapchunkpl 152 28692 0 28392 72 53 19 19 0 158 7 amappl16 192 22453 0 21922 53 20 33 40 0 8 6 amappl15 184 2691 0 2690 2 1 1 1 0 8 0 amappl14 176 32 0 28 1 0 1 1 0 8 0 amappl13 168 2071 0 2064 1 0 1 1 0 8 0 amappl12 160 27 0 23 1 0 1 1 0 8 0 amappl11 152 2756 0 2738 1 0 1 1 0 8 0 amappl10 144 32 0 25 1 0 1 1 0 8 0 amappl9 136 729 0 728 1 0 1 1 0 8 0 amappl8 128 759 0 724 2 0 2 2 0 8 0 amappl7 120 149 0 136 1 0 1 1 0 8 0 amappl6 112 2715 0 2711 1 0 1 1 0 8 0 amappl5 104 2220 0 2204 1 0 1 1 0 8 0 amappl4 96 4762 0 4726 2 1 1 2 0 8 0 amappl3 88 654 0 646 1 0 1 1 0 8 0 amappl2 80 43358 0 43287 2 0 2 2 0 8 0 amappl1 72 107441 0 106999 23 13 10 18 0 8 0 amappl 80 13096 0 13047 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 65 0 17 1 0 1 1 0 8 0 uaddrrnd 24 5562 0 5536 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 5562 0 5536 1 0 1 1 0 8 0 vmmpekpl 168 31170 0 31130 2 0 2 2 0 8 0 vmmpepl 168 634025 0 632321 140 51 89 92 0 357 8 vmsppl 368 5561 0 5536 4 1 3 3 0 8 0 pdppl 4096 11131 0 11082 8 1 7 7 0 8 0 pvpl 32 1420631 0 1406632 236 91 145 151 0 265 30 pmappl 232 5561 0 5536 3 1 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 342 0 27 10 0 10 10 0 8 1 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff826eaff0) 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(ffffffff828c2938) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828c2938) 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(ffffffff828c2938) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828c2938) at __mp_lock+0x127 sys/kern/kern_lock.c:147 selwakeup(fffffd806fba5f08) at selwakeup+0x16 sys/kern/sys_generic.c:776 sorwakeup(fffffd806fba5e20) at sorwakeup+0xcc sys/kern/uipc_socket.c:1671 tcp_input(ffff800020da9478,ffff800020da9484,6,2) at tcp_input+0x5105 sys/netinet/tcp_input.c:1044 ip_deliver(ffff800020da9478,ffff800020da9484,6,2) at ip_deliver+0x353 sys/netinet/ip_input.c:668 ip_ours(ffff800020da9478,ffff800020da9484,ffff800020d88750,0) at ip_ours+0x412 ip_input_if(ffff800020da9478,ffff800020da9484,4,0,ffff80000017b2a8) at ip_input_if+0x6ce ipv4_input(ffff80000017b2a8,fffffd8065b8dc00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017b2a8,fffffd8065b8dc00,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017b2a8,ffff800020da95a8) at if_input_process+0x10b if_ih_input sys/net/if.c:902 [inline] if_input_process(ffff80000017b2a8,ffff800020da95a8) at if_input_process+0x10b sys/net/if.c:936 ifiq_process(ffff80000017b6a0) at ifiq_process+0x80 sys/net/ifq.c:646 taskq_thread(ffff80000002c000) at taskq_thread+0xec sys/kern/kern_task.c:437 end trace frame: 0x0, count: -18 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(ffff800020edca98) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff800020edca98) 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(ffff800020edcbc0) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd807ea41278,7,fffffd807f7bf660,ffff800020dddd48) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd80685ec900,ffff800020dddd48) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80685ec900,ffff800020dddd48) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd80685ec900,ffff800020dddd48) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd80685ec900,ffff800020dddd48) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020dddd48) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020dddd48,0,19,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff800020dddd48,19) at postsig+0x4ed sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff800020dddd48,19) at postsig+0x4ed sys/kern/kern_sig.c:1415 userret(ffff800020dddd48) at userret+0x199 sys/kern/kern_sig.c:1872 Xsyscall() at Xsyscall+0x156 end of kernel end trace frame: 0x7f7ffffbf560, count: -14