uvm_fault(0xffffffff827d5520, 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(0xffffffff827d5520, 0xfffffd000000001c, 0, 1) -> e m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 end trace frame: 0xffff8000230ffd00, count: 0 ddb{0}> trace m_free(fffffd0000000000) at m_free+0x58 sys/sys/percpu.h:125 ml_purge(ffff8000230ffd18) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff8000230ffd18) at ml_purge+0x50 sys/kern/uipc_mbuf.c:1628 ifq_purge(ffff800000af6278) at ifq_purge+0x9a sys/net/ifq.c:529 tun_dev_close(5d01,7) at tun_dev_close+0xc8 sys/net/if_tun.c:460 spec_close(ffff8000230ffe40) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd807a84b418,7,fffffd807f7bf960,ffff800020ddd868) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd80671e9d28,ffff800020ddd868) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80671e9d28,ffff800020ddd868) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd80671e9d28,ffff800020ddd868) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd80671e9d28,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(ffff8000231002c0) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff8000231002c0) at syscall+0x55f sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc1020, count: -15 ddb{0}> show registers rdi 0 rsi 0x7a65d acpi_pdirpa+0x664c5 rbp 0xffff8000230ffcc0 rbx 0 rdx 0x7a65c acpi_pdirpa+0x664c4 rcx 0xffffffff82713680 mbstat_boot_boot_cpumem rax 0 r8 0xffffffff81a1f187 witness_assert+0x207 r9 0x5 r10 0xc31116f954871ab0 r11 0x5f99c0c820b8bf6f r12 0xfffffd8064025600 r13 0x2000 __ALIGN_SIZE+0x1000 r14 0xfffffd0000000000 r15 0xfffffd0000000000 rip 0xffffffff8149ad68 m_free+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000230ffc80 ss 0x10 m_free+0x58: movswq 0x1c(%r14),%rsi ddb{0}> show proc PROC (syz-executor.1) pid=165798 stat=onproc flags process=a proc=2000 pri=17, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020ddc008,0xffff800020e09298 process=0xffff800020df1b30 user=0xffff8000230fb000, vmspace=0xfffffd807f000a10 estcpu=36, cpticks=2, pctcpu=0.23 user=0, sys=2, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 7245 58713 37374 0 2 0x480 syz-executor.0 7245 148248 37374 0 3 0x4000080 poll syz-executor.0 7245 8623 37374 0 3 0x4000080 fsleep syz-executor.0 11449 390872 0 0 3 0x14280 nfsidl nfsio 9347 455822 0 0 3 0x14280 nfsidl nfsio 14115 201121 0 0 3 0x14280 nfsidl nfsio 24921 23541 0 0 3 0x14280 nfsidl nfsio 86928 277724 0 0 3 0x14280 nfsidl nfsio 96583 32852 0 0 3 0x14280 nfsidl nfsio 69792 369822 0 0 3 0x14280 nfsidl nfsio 4971 183677 0 0 3 0x14280 nfsidl nfsio 47206 115225 0 0 3 0x14280 nfsidl nfsio 18174 171673 0 0 3 0x14280 nfsidl nfsio 45455 308284 0 0 3 0x14280 nfsidl nfsio 70682 471613 0 0 3 0x14280 nfsidl nfsio 62452 341479 0 0 3 0x14280 nfsidl nfsio 32865 137029 0 0 3 0x14280 nfsidl nfsio 55093 509475 0 0 3 0x14280 nfsidl nfsio 62332 395610 0 0 3 0x14280 nfsidl nfsio 13169 211576 0 0 3 0x14280 nfsidl nfsio 90866 170211 0 0 3 0x14280 nfsidl nfsio 96013 319151 0 0 3 0x14280 nfsidl nfsio 9098 329350 0 0 3 0x14280 nfsidl nfsio 87340 190802 1 0 3 0x100083 ttyin getty 93450 386268 0 0 3 0x14200 bored sosplice 37374 243812 49409 0 7 0x482 syz-executor.0 49409 487488 67703 0 3 0x82 thrsleep syz-fuzzer 49409 332392 67703 0 3 0x4000082 nanosleep syz-fuzzer 49409 262991 67703 0 3 0x4000082 thrsleep syz-fuzzer 49409 389876 67703 0 3 0x4000082 nanosleep syz-fuzzer 49409 319733 67703 0 3 0x4000082 thrsleep syz-fuzzer 49409 142739 67703 0 3 0x4000082 thrsleep syz-fuzzer 49409 20242 67703 0 3 0x4000082 thrsleep syz-fuzzer 49409 219545 67703 0 3 0x4000082 thrsleep syz-fuzzer 49409 181079 67703 0 2 0x4000082 syz-fuzzer 49409 42181 67703 0 3 0x4000082 thrsleep syz-fuzzer 67703 286144 55686 0 3 0x10008a pause ksh 55686 215117 57914 0 3 0x92 select sshd 57914 514157 1 0 3 0x80 select sshd 37632 368717 86877 74 3 0x100092 bpf pflogd 86877 434461 1 0 3 0x80 netio pflogd 15419 456212 95078 73 2 0x100010 syslogd 95078 474999 1 0 3 0x100082 netio syslogd 57377 460455 1 77 3 0x100090 poll dhclient 396 9136 1 0 3 0x80 poll dhclient 87077 166442 0 0 3 0x14200 bored smr 68506 142494 0 0 2 0x14200 zerothread 16695 505127 0 0 3 0x14200 aiodoned aiodoned 49824 517286 0 0 3 0x14200 syncer update 62586 277116 0 0 3 0x14200 cleaner cleaner 54524 56280 0 0 3 0x14200 reaper reaper 44521 211035 0 0 3 0x14200 pgdaemon pagedaemon 50207 491076 0 0 3 0x14200 bored crynlk 86426 17155 0 0 3 0x14200 bored crypto 63978 15593 0 0 3 0x40014200 acpi0 acpi0 57874 192206 0 0 3 0x40014200 idle1 95658 519948 0 0 3 0x14200 bored softnet 18601 288529 0 0 3 0x14200 bored systqmp 70963 202097 0 0 3 0x14200 bored systq 23023 400839 0 0 3 0x40014200 bored softclock 18419 501092 0 0 3 0x40014200 idle0 1 340025 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 9546 6492K 7647K 78643K 18919 0 pcb 13 8K 8K 78643K 190 0 rtable 106 18K 18K 78643K 510 0 ifaddr 92 17K 18K 78643K 228 0 counters 43 33K 34K 78643K 77 0 ioctlops 0 0K 4K 78643K 2026 0 iov 0 0K 16K 78643K 103 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 3203 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 15 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 488 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 1859 0 sigio 0 0K 0K 78643K 24 0 proc 63 63K 95K 78643K 584 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 87 0 in_multi 53 2K 3K 78643K 213 0 ether_multi 1 0K 0K 78643K 30 0 mrt 0 0K 0K 78643K 19 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 282 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 151 105K 105K 78643K 6683 0 UVM aobj 56 2K 2K 78643K 60 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 132 0 NDP 15 0K 0K 78643K 53 0 temp 146 3871K 3939K 78643K 19353 0 kqueue 3 4K 16K 78643K 52 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 7 0 3 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 96 0 94 1 0 1 1 0 8 0 rtentry 112 121 0 94 2 0 2 2 0 8 0 unpcb 120 2870 0 2716 6 0 6 6 0 8 1 syncache 264 10 0 10 3 3 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 24 0 24 1 1 0 1 0 8 0 tcpcb 544 302 0 298 2 1 1 2 0 8 0 inpcb 296 1550 0 1542 5 3 2 3 0 8 0 rttmr 72 7 0 7 3 2 1 1 0 8 1 nd6 48 25 0 23 1 0 1 1 0 8 0 pkpcb 40 6 0 6 2 1 1 1 0 8 1 ppxss 1128 1 0 1 1 1 0 1 0 8 0 pffrag 232 11 0 10 1 0 1 1 0 482 0 pffrnode 88 11 0 10 1 0 1 1 0 8 0 pffrent 40 110 0 109 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 40 0 26 3 1 2 2 0 8 0 pfstitem 24 18 0 15 1 0 1 1 0 8 0 pfstkey 112 18 0 15 1 0 1 1 0 8 0 pfstate 328 18 0 15 2 0 2 2 0 8 0 pfrule 1360 35 0 21 3 1 2 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 604 0 450 16 4 12 12 0 8 0 art_table 32 606 0 450 2 0 2 2 0 8 0 art_node 16 120 0 97 1 0 1 1 0 8 0 sysvmsgpl 40 7 0 2 1 0 1 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 112 475 0 465 1 0 1 1 0 8 0 shmpl 112 57 0 4 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 3761 0 2362 89 0 89 89 0 8 0 ffsino 272 3761 0 2362 94 0 94 94 0 8 0 nchpl 144 7249 0 5637 60 0 60 60 0 8 0 uvmvnodes 72 5657 0 0 103 0 103 103 0 8 0 vnodes 208 5657 0 0 298 0 298 298 0 8 0 namei 1024 20785 0 20785 1 0 1 1 0 8 1 percpumem 16 49 0 17 1 0 1 1 0 8 0 vcpupl 1984 8 0 0 1 0 1 1 0 8 0 vmpool 560 8 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 20 0 4 1 0 1 1 0 8 0 scxspl 192 18641 0 18641 12 11 1 7 0 8 1 plimitpl 152 103 0 95 1 0 1 1 0 8 0 sigapl 424 2097 0 2045 7 1 6 7 0 8 0 futexpl 56 27556 0 27555 1 0 1 1 0 8 0 knotepl 112 123 0 104 1 0 1 1 0 8 0 kqueuepl 144 170 0 165 1 0 1 1 0 8 0 pipepl 304 267 0 257 5 4 1 2 0 8 0 fdescpl 496 2060 0 2044 3 0 3 3 0 8 0 filepl 152 13958 0 13864 6 1 5 6 0 8 0 lockfpl 104 307 0 306 1 0 1 1 0 8 0 lockfspl 48 108 0 107 1 0 1 1 0 8 0 sessionpl 112 19 0 8 1 0 1 1 0 8 0 pgrppl 48 41 0 30 1 0 1 1 0 8 0 ucredpl 96 755 0 746 1 0 1 1 0 8 0 zombiepl 144 2046 0 2045 1 0 1 1 0 8 0 processpl 992 2097 0 2045 7 0 7 7 0 8 0 procpl 624 5865 0 5802 6 0 6 6 0 8 0 sosppl 128 12 0 12 6 5 1 1 0 8 1 sockpl 400 4524 0 4360 22 4 18 19 0 8 0 mcl64k 65536 8 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 9 0 0 1 0 1 1 0 8 0 mcl8k 8192 7 0 0 1 0 1 1 0 8 0 mcl4k 4096 12 0 0 2 0 2 2 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 171 0 0 21 0 21 21 0 8 0 mtagpl 96 510 0 0 13 0 13 13 0 8 0 mbufpl 256 1291 0 0 79 0 79 79 0 8 0 bufpl 280 7059 0 824 446 0 446 446 0 8 0 anonpl 16 183025 0 165888 93 16 77 86 0 124 5 amapchunkpl 152 11017 0 10850 24 15 9 21 0 158 0 amappl16 192 8299 0 7370 65 18 47 59 0 8 0 amappl15 184 9 0 7 1 0 1 1 0 8 0 amappl14 176 956 0 949 1 0 1 1 0 8 0 amappl13 168 28 0 25 1 0 1 1 0 8 0 amappl12 160 12 0 10 1 0 1 1 0 8 0 amappl11 152 984 0 967 1 0 1 1 0 8 0 amappl10 144 21 0 15 1 0 1 1 0 8 0 amappl9 136 1284 0 1282 1 0 1 1 0 8 0 amappl8 128 1262 0 1226 2 0 2 2 0 8 0 amappl7 120 119 0 107 1 0 1 1 0 8 0 amappl6 112 957 0 949 1 0 1 1 0 8 0 amappl5 104 1046 0 1030 1 0 1 1 0 8 0 amappl4 96 1429 0 1397 1 0 1 1 0 8 0 amappl3 88 162 0 156 1 0 1 1 0 8 0 amappl2 80 15561 0 15492 2 0 2 2 0 8 0 amappl1 72 69996 0 69537 23 13 10 18 0 8 0 amappl 80 6107 0 6053 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 59 0 4 1 0 1 1 0 8 0 uaddrrnd 24 2068 0 2044 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2068 0 2044 1 0 1 1 0 8 0 vmmpekpl 168 19282 0 19237 3 0 3 3 0 8 0 vmmpepl 168 267996 0 265855 134 34 100 119 0 357 1 vmsppl 368 2067 0 2044 3 0 3 3 0 8 0 pdppl 4096 4143 0 4096 7 0 7 7 0 8 0 pvpl 32 576471 0 556039 232 37 195 204 0 265 26 pmappl 232 2067 0 2044 3 1 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 355 0 12 10 0 10 10 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(ffff8000230ffd18) at ml_purge+0x50 m_freem sys/kern/uipc_mbuf.c:538 [inline] ml_purge(ffff8000230ffd18) at ml_purge+0x50 sys/kern/uipc_mbuf.c:1628 ifq_purge(ffff800000af6278) at ifq_purge+0x9a sys/net/ifq.c:529 tun_dev_close(5d01,7) at tun_dev_close+0xc8 sys/net/if_tun.c:460 spec_close(ffff8000230ffe40) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd807a84b418,7,fffffd807f7bf960,ffff800020ddd868) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd80671e9d28,ffff800020ddd868) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80671e9d28,ffff800020ddd868) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd80671e9d28,ffff800020ddd868) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd80671e9d28,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(ffff8000231002c0) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff8000231002c0) at syscall+0x55f sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc1020, count: -15 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_pc() at __sanitizer_cov_trace_pc __mp_acquire_count(ffffffff82925f10,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(ffff800020ee1eb0,1) at sleep_finish+0x113 sys/kern/kern_synch.c:418 sleep_finish_all(ffff800020ee1eb0,1) at sleep_finish_all+0x32 sleep_finish_timeout sys/kern/kern_synch.c:447 [inline] sleep_finish_all(ffff800020ee1eb0,1) at sleep_finish_all+0x32 sys/kern/kern_synch.c:393 tsleep(ffffffff827ff934,120,ffffffff823f26c9,2) at tsleep+0x1cc sys/kern/kern_synch.c:155 sys_nanosleep(ffff800020ddc008,ffff800020ee1fe0,ffff800020ee2030) at sys_nanosleep+0x205 sys/kern/kern_time.c:297 syscall(ffff800020ee20b0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020ee20b0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd0580, count: -12