uvm_fault(0xffffffff822031f8, 0x7f835916e898, 0, 2) -> e kernel: page fault trap, code=0 Stopped at pmap_page_remove+0x30d: xchgq %rax,0(%r12,%rcx,1) ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic kernel page fault uvm_fault(0xffffffff822031f8, 0x7f835916e898, 0, 2) -> e pmap_page_remove(fffffd8003ad7580) at pmap_page_remove+0x30d _atomic_swap_64 sys/arch/amd64/compile/SYZKALLER/obj/machine/atomic.h:117 [inline] pmap_page_remove(fffffd8003ad7580) at pmap_page_remove+0x30d sys/arch/amd64/amd64/pmap.c:1881 end trace frame: 0xffff800014912940, count: 0 ddb> trace pmap_page_remove(fffffd8003ad7580) at pmap_page_remove+0x30d _atomic_swap_64 sys/arch/amd64/compile/SYZKALLER/obj/machine/atomic.h:117 [inline] pmap_page_remove(fffffd8003ad7580) at pmap_page_remove+0x30d sys/arch/amd64/amd64/pmap.c:1881 uvm_anfree(fffffd802a13c990) at uvm_anfree+0x51 sys/uvm/uvm_anon.c:104 amap_wiperange(fffffd803762dd80,1,20) at amap_wiperange+0x2dd amap_wiperange_chunk sys/uvm/uvm_amap.c:868 [inline] amap_wiperange(fffffd803762dd80,1,20) at amap_wiperange+0x2dd sys/uvm/uvm_amap.c:919 amap_pp_adjref(fffffd803762dd80,1,20,ffffffff) at amap_pp_adjref+0x527 sys/uvm/uvm_amap.c:829 uvm_unmap_detach(ffff800014912b40,1) at uvm_unmap_detach+0xb7 sys/uvm/uvm_map.c:1553 uvm_map_teardown(fffffd803f013108) at uvm_map_teardown+0x22c sys/uvm/uvm_map.c:2660 uvmspace_free(fffffd803f013108) at uvmspace_free+0x86 sys/uvm/uvm_map.c:3509 uvm_exit(ffff8000ffff6358) at uvm_exit+0x29 sys/uvm/uvm_glue.c:297 reaper(ffff8000fffff518) at reaper+0x143 sys/kern/kern_exit.c:431 end trace frame: 0x0, count: -9 ddb> show registers rdi 0 rsi 0 rbp 0xffff800014912900 rbx 0 rdx 0x1 rcx 0x7f8000000000 rax 0 r8 0 r9 0x7 r10 0x1a0453405cf3d2ea r11 0x494346baf7ab7ba6 r12 0x35916e898 r13 0xfffffd8035239970 r14 0x7fbfc0000000 r15 0x800000003f7be000 rip 0xffffffff8159747d pmap_page_remove+0x30d cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800014912870 ss 0x10 pmap_page_remove+0x30d: xchgq %rax,0(%r12,%rcx,1) ddb> show proc PROC (reaper) pid=175272 stat=onproc flags process=14000 proc=200 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000fffff2c0,0xffff8000fffff9d8 process=0xffff8000ffffad28 user=0xffff80001490d000, vmspace=0xffffffff822031f8 estcpu=36, cpticks=32, pctcpu=19.70 user=0, sys=2, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 47484 327715 56834 0 3 0x82 thrsleep syz-fuzzer 47484 23725 56834 0 3 0x4000082 nanosleep syz-fuzzer 47484 429596 56834 0 3 0x4000082 wait syz-fuzzer 47484 396234 56834 0 3 0x4000082 thrsleep syz-fuzzer 47484 245634 56834 0 3 0x4000082 thrsleep syz-fuzzer 47484 100742 56834 0 3 0x4000082 thrsleep syz-fuzzer 47484 167887 56834 0 3 0x4000082 thrsleep syz-fuzzer 56834 89738 15216 0 3 0x10008a pause ksh 15216 473568 89484 0 3 0x92 select sshd 17110 440005 1 0 3 0x100083 ttyin getty 89484 412419 1 0 3 0x80 select sshd 80194 387910 60591 73 2 0x100010 syslogd 60591 303260 1 0 3 0x100082 netio syslogd 95998 70689 1 77 3 0x100090 poll dhclient 83803 168427 1 0 3 0x80 poll dhclient 86981 432064 0 0 2 0x14200 zerothread 60825 74973 0 0 3 0x14200 aiodoned aiodoned 69561 2086 0 0 3 0x14200 syncer update 13356 276946 0 0 3 0x14200 cleaner cleaner *32009 175272 0 0 7 0x14200 reaper 23551 1448 0 0 3 0x14200 pgdaemon pagedaemon 35304 209749 0 0 3 0x14200 bored crynlk 48195 278386 0 0 3 0x14200 bored crypto 94010 109834 0 0 3 0x40014200 acpi0 acpi0 37275 6185 0 0 3 0x14200 bored softnet 62232 301825 0 0 3 0x14200 bored systqmp 81583 201263 0 0 3 0x14200 bored systq 40495 154001 0 0 3 0x40014200 bored softclock 14968 280882 0 0 3 0x40014200 idle0 28673 114391 0 0 3 0x14200 bored smr 1 339585 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9448 6320K 6454K 78643K 10639 0 0 pcb 23 9K 10K 78643K 95 0 0 rtable 64 2K 3K 78643K 210 0 0 ifaddr 30 8K 11K 78643K 58 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 19 0 0 iov 0 0K 8K 78643K 4 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1198 75K 75K 78643K 1255 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 5K 78643K 3 0 0 VM map 2 0K 0K 78643K 2 0 0 sem 4 0K 0K 78643K 4 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12537 0 0 file desc 2 1K 25K 78643K 93 0 0 sigio 0 0K 0K 78643K 2 0 0 proc 40 30K 46K 78643K 254 0 0 subproc 0 0K 67586K 78643K 68 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 ip_moptions 0 0K 0K 78643K 6 0 0 in_multi 11 0K 2K 78643K 33 0 0 ether_multi 1 0K 0K 78643K 1 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 54 238K 238K 78643K 54 0 0 exec 0 0K 1K 78643K 173 0 0 pagedep 1 8K 8K 78643K 1 0 0 inodedep 1 32K 32K 78643K 1 0 0 newblk 1 0K 0K 78643K 1 0 0 VM swap 7 26K 26K 78643K 7 0 0 UVM amap 70 12K 22K 78643K 977 0 0 UVM aobj 2 2K 2K 78643K 2 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 NDP 5 0K 0K 78643K 15 0 0 temp 66 2343K 2423K 78643K 3111 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 4 0 2 1 0 1 1 0 8 0 inpcbpl 280 64 0 57 1 0 1 1 0 8 0 plimitpl 152 18 0 11 1 0 1 1 0 8 0 rtentry 112 41 0 19 2 1 1 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpcb 544 22 0 18 1 0 1 1 0 8 0 nd6 48 4 0 4 1 0 1 1 0 8 1 ppxss 1128 2 0 2 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 186 0 89 12 2 10 12 0 8 3 art_table 32 187 0 89 2 0 2 2 0 8 1 art_node 16 40 0 20 1 0 1 1 0 8 0 semapl 112 2 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1571 0 162 46 0 46 46 0 8 0 ffsino 240 1571 0 162 84 1 83 84 0 8 0 nchpl 144 1897 0 272 61 0 61 61 0 8 0 uvmvnodes 72 1624 0 0 30 0 30 30 0 8 0 vnodes 200 1624 0 0 86 0 86 86 0 8 0 namei 1024 4774 0 4774 2 2 0 1 0 8 0 scxspl 192 4719 0 4719 8 7 1 6 0 8 1 sigapl 432 263 0 253 2 0 2 2 0 8 0 futexpl 56 1315 0 1315 1 1 0 1 0 8 0 knotepl 112 66 0 51 1 0 1 1 0 8 0 kqueuepl 104 20 0 18 1 0 1 1 0 8 0 pipepl 112 206 0 195 3 2 1 2 0 8 0 fdescpl 424 264 0 253 2 0 2 2 0 8 0 filepl 120 1456 0 1404 4 1 3 4 0 8 1 lockfpl 104 31 0 31 2 2 0 1 0 8 0 lockfspl 32 34 0 34 2 2 0 1 0 8 0 sessionpl 112 17 0 8 1 0 1 1 0 8 0 pgrppl 48 21 0 12 1 0 1 1 0 8 0 ucredpl 96 218 0 211 1 0 1 1 0 8 0 zombiepl 144 253 0 251 2 1 1 1 0 8 0 processpl 840 278 0 251 4 0 4 4 0 8 0 procpl 600 399 0 366 4 1 3 4 0 8 0 sockpl 384 130 0 113 3 1 2 3 0 8 0 mcl64k 65536 3 0 3 1 1 0 1 0 8 0 mcl12k 12288 1 0 1 1 1 0 1 0 8 0 mcl9k 9216 2 0 2 1 1 0 1 0 8 0 mcl8k 8192 2 0 2 1 1 0 1 0 8 0 mcl4k 4096 10 0 10 2 2 0 1 0 8 0 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 50808 0 50773 13 8 5 11 0 8 0 mtagpl 80 2 0 2 1 1 0 1 0 8 0 mbufpl 256 83535 0 83494 11 5 6 7 0 8 1 bufpl 256 6843 0 1306 347 0 347 347 0 8 0 anonpl 16 42133 0 32733 58 2 56 56 0 62 15 amapchunkpl 152 1316 0 1206 15 0 15 15 0 158 8 amappl16 192 1196 0 718 36 11 25 36 0 8 0 amappl14 176 63 0 61 2 1 1 1 0 8 0 amappl13 168 6 0 6 1 1 0 1 0 8 0 amappl12 160 12 0 9 1 0 1 1 0 8 0 amappl11 152 77 0 62 1 0 1 1 0 8 0 amappl10 144 57 0 57 3 2 1 1 0 8 1 amappl9 136 532 0 530 1 0 1 1 0 8 0 amappl8 128 117 0 103 1 0 1 1 0 8 0 amappl7 120 25 0 22 1 0 1 1 0 8 0 amappl6 112 90 0 82 1 0 1 1 0 8 0 amappl5 104 134 0 123 1 0 1 1 0 8 0 amappl4 96 462 0 436 2 1 1 2 0 8 0 amappl3 88 118 0 113 1 0 1 1 0 8 0 amappl2 80 1299 0 1258 2 0 2 2 0 8 0 amappl1 72 13938 0 13532 25 15 10 19 0 8 0 amappl 72 612 0 578 1 0 1 1 0 75 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 dma64 64 259 0 259 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 17 0 17 1 1 0 1 0 8 0 aobjpl 64 1 0 0 1 0 1 1 0 8 0 uaddrrnd 24 264 0 252 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 264 0 252 1 0 1 1 0 8 0 vmmpekpl 168 6154 0 6133 2 0 2 2 0 8 0 vmmpepl 168 34904 0 33609 114 38 76 96 0 357 13 vmsppl 264 263 0 251 2 1 1 2 0 8 0 pdppl 4096 534 0 502 6 1 5 6 0 8 0 pvpl 32 163485 0 151647 248 19 229 244 0 265 129 pmappl 200 263 0 251 1 0 1 1 0 8 0 extentpl 40 39 0 25 1 0 1 1 0 8 0 phpool 112 486 0 25 14 0 14 14 0 8 0