kernel: double fault trap, code=0 Stopped at restore_saved+0x35: xorq 0x30(%rsp),%r11 ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic the kernel did not panic ddb{0}> trace end trace frame: 0x0, count: -1 ddb{0}> show registers rdi 0xffffffff82f1c000 end+0x31c000 rsi 0xffff800026c25268 rbp 0 rbx 0 rdx 0 rcx 0xfffffd806e46a008 rax 0x23 r8 0x2 r9 0 r10 0x76809138f539390b r11 0x21257046f6cb4604 r12 0xffff800026c25268 r13 0xffff80002ba53000 r14 0xffff8000212f5cf0 r15 0 rip 0xffffffff81b2b1e1 restore_saved+0x35 cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0 ss 0x10 restore_saved+0x35: xorq 0x30(%rsp),%r11 ddb{0}> show proc PROC (syz-executor.5) pid=479793 stat=onproc flags process=2 proc=480 pri=32, usrpri=79, nice=20 forw=0xffffffffffffffff, list=0xffff8000fffeaa90,0xffff8000fffeb7c0 process=0xffff8000fffec870 user=0xffff80002ba53000, vmspace=0xfffffd8067746a40 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 22965 385449 10659 0 2 0 syz-executor.1 22965 524003 10659 0 3 0x4000080 fsleep syz-executor.1 13782 466935 419 0 2 0 syz-executor.7 13782 242329 419 0 2 0x4000000 syz-executor.7 13782 289810 419 0 2 0x4000000 syz-executor.7 13782 272029 419 0 3 0x4000080 fsleep syz-executor.7 13782 196533 419 0 2 0x4000000 syz-executor.7 88333 424300 68056 0 2 0 syz-executor.4 58715 63539 86579 0 2 0 syz-executor.2 3812 178063 55438 0 2 0 syz-executor.3 54882 44899 62151 0 2 0 syz-executor.6 63957 273231 0 0 3 0x14200 acct acct *36592 479793 54102 0 7 0x482 syz-executor.5 419 313744 54102 0 2 0x482 syz-executor.7 62151 397399 54102 0 3 0x82 nanoslp syz-executor.6 70499 434448 54102 0 3 0x82 nanoslp syz-executor.0 94246 518225 1 0 3 0x100083 ttyin getty 10659 39241 54102 0 2 0x482 syz-executor.1 59917 62957 0 0 3 0x14200 bored sosplice 86579 251315 54102 0 3 0x82 nanoslp syz-executor.2 68056 441482 54102 0 3 0x82 nanoslp syz-executor.4 55438 297163 54102 0 2 0x482 syz-executor.3 54102 480118 71382 0 3 0x82 wait syz-fuzzer 54102 109599 71382 0 3 0x4000082 thrsleep syz-fuzzer 54102 88440 71382 0 3 0x4000082 thrsleep syz-fuzzer 54102 454386 71382 0 3 0x4000082 wait syz-fuzzer 54102 492010 71382 0 3 0x4000082 thrsleep syz-fuzzer 54102 468703 71382 0 3 0x4000082 wait syz-fuzzer 54102 412855 71382 0 3 0x4000082 wait syz-fuzzer 54102 75216 71382 0 3 0x4000082 thrsleep syz-fuzzer 54102 26158 71382 0 3 0x4000082 thrsleep syz-fuzzer 54102 10996 71382 0 3 0x4000082 kqread syz-fuzzer 54102 403825 71382 0 3 0x4000082 wait syz-fuzzer 54102 156869 71382 0 3 0x4000082 wait syz-fuzzer 54102 93026 71382 0 3 0x4000082 wait syz-fuzzer 54102 108621 71382 0 3 0x4000082 wait syz-fuzzer 54102 336699 71382 0 3 0x4000082 thrsleep syz-fuzzer 54102 99701 71382 0 3 0x4000082 thrsleep syz-fuzzer 71382 332257 36762 0 3 0x10008a sigsusp ksh 36762 392600 40906 0 3 0x9a kqread sshd 40906 474138 1 0 3 0x88 kqread sshd 93221 207948 62031 74 3 0x1100092 bpf pflogd 62031 208170 1 0 3 0x80 netio pflogd 2361 227041 21698 73 3 0x1100090 kqread syslogd 21698 257781 1 0 3 0x100082 netio syslogd 206 229151 1 0 3 0x100080 kqread resolvd 26532 346892 43812 77 3 0x100092 kqread dhcpleased 19676 209885 43812 77 3 0x100092 kqread dhcpleased 43812 277692 1 0 3 0x80 kqread dhcpleased 86246 398576 0 0 3 0x14200 bored smr 35712 374951 0 0 2 0x14200 zerothread 37158 59939 0 0 3 0x14200 aiodoned aiodoned 4524 154883 0 0 3 0x14200 syncer update 92624 499098 0 0 3 0x14200 cleaner cleaner 92137 305547 0 0 7 0x14200 reaper 79008 435050 0 0 3 0x14200 pgdaemon pagedaemon 57906 52409 0 0 3 0x14200 bored viomb 58004 410293 0 0 3 0x40014200 acpi0 acpi0 63224 76276 0 0 3 0x40014200 idle1 31723 270573 0 0 3 0x14200 bored softnet 8814 305735 0 0 3 0x14200 bored softnet 18392 496889 0 0 3 0x14200 bored softnet 98010 221705 0 0 3 0x14200 bored softnet 16151 274878 0 0 3 0x14200 bored systqmp 57778 159663 0 0 3 0x14200 bored systq 27617 354755 0 0 3 0x40014200 bored softclock 27646 221202 0 0 3 0x40014200 idle0 1 191131 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 0: exclusive sched_lock &sched_lock r = 0 (0xffffffff82b5d7d8) #0 witness_lock+0x44d #1 sleep_setup+0xc4 sys/kern/kern_synch.c:362 #2 tsleep+0x11f sys/kern/kern_synch.c:155 #3 sys_nanosleep+0x1f5 sys/kern/kern_time.c:298 #4 syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] #4 syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 #5 Xsyscall+0x128 CPU 1: exclusive mutex &uvm.fpageqlock r = 0 (0xffffffff829f8698) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 uvm_pmr_freepages+0x10c sys/uvm/uvm_pmemrange.c:1289 #4 pmap_do_remove+0x666 sys/arch/amd64/amd64/pmap.c:1883 #5 uvm_unmap_kill_entry_withlock+0x1af sys/uvm/uvm_map.c:1900 #6 uvm_map_teardown+0x197 uvm_map_addr_RBT_LEFT sys/uvm/uvm_map.h:176 [inline] #6 uvm_map_teardown+0x197 sys/uvm/uvm_map.c:2546 #7 uvmspace_free+0xa6 sys/uvm/uvm_map.c:3464 #8 reaper+0x19a sys/kern/kern_exit.c:448 #9 proc_trampoline+0x1c ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10240 6507K 7064K 78643K 16683 0 pcb 13 18K 28K 78643K 9808 0 rtable 213 17K 20K 78643K 2216 0 ifaddr 125 28K 28K 78643K 833 0 sysctl 3 1K 1K 78643K 3 0 counters 54 35K 36K 78643K 240 0 ioctlops 0 0K 4K 78643K 9334 0 iov 0 0K 24K 78643K 791 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1338 84K 84K 78643K 10957 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 247 0 VM map 2 1K 1K 78643K 2 0 sem 10 1K 1K 78643K 15 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 16 57K 81K 78643K 15603 0 sigio 1 0K 0K 78643K 50 0 proc 71 91K 115K 78643K 874 0 subproc 104 6K 6K 78643K 208 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 199 0 in_multi 92 6K 7K 78643K 310 0 ether_multi 1 0K 0K 78643K 45 0 mrt 1 0K 0K 78643K 25 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 289 1288K 1288K 78643K 289 0 exec 0 0K 2K 78643K 2996 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 8 62K 64K 78643K 10 0 UVM amap 389 320K 347K 78643K 84079 0 UVM aobj 131 6K 6K 78643K 139 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 243 0 NDP 13 0K 2K 78643K 115 0 temp 133 4734K 5758K 78643K 56386 0 kqueue 12 18K 28K 78643K 1627 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 plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 169 0 166 3 2 1 3 0 8 0 rtentry 112 229 0 139 4 0 4 4 0 8 0 unpcb 144 4575 0 4560 42 41 1 6 0 8 0 syncache 296 12 0 12 6 6 0 1 0 8 0 tcpqe 32 85 0 85 5 5 0 1 0 8 0 tcpcb 768 532 0 528 14 13 1 3 0 8 0 arp 120 34 0 18 1 0 1 1 0 8 0 inpcb 368 11121 0 11114 172 171 1 19 0 8 0 nd6 48 51 0 30 1 0 1 1 0 8 0 pkpcb 40 2 0 2 2 2 0 1 0 8 0 kcovpl 48 16 0 8 1 0 1 1 0 8 0 ppxss 1256 70 0 70 9 9 0 1 0 8 0 pppxif 1704 3 0 3 3 3 0 1 0 8 0 pfstscr 40 28 0 28 5 4 1 1 0 8 1 pffrag 232 9 0 9 2 2 0 1 0 482 0 pffrnode 88 9 0 9 2 2 0 1 0 8 0 pffrent 40 15 0 15 2 2 0 1 0 8 0 pfosfp 40 1432 0 1431 6 5 1 5 0 8 0 pfosfpen 112 1432 0 1428 22 21 1 21 0 8 0 pfrktable 1344 715 0 712 2 1 1 1 0 8 0 pfanchor 1280 161 0 101 7 1 6 7 0 8 0 pftag 88 76 0 74 1 0 1 1 0 8 0 pfqueue 264 1 0 1 1 1 0 1 0 8 0 pfstitem 24 81 0 78 1 0 1 1 0 8 0 pfstkey 120 128 0 125 2 1 1 2 0 8 0 pfstate 336 107 0 104 6 5 1 5 0 8 0 pfrule 1360 139 0 134 4 3 1 3 0 8 0 rttmr 136 6 0 6 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1268 0 863 38 9 29 29 0 8 0 art_table 32 1269 0 863 4 0 4 4 0 8 0 art_node 16 228 0 150 1 0 1 1 0 8 0 sysvmsgpl 40 35 0 24 1 0 1 1 0 8 0 semupl 112 6 0 6 1 1 0 1 0 8 0 semapl 112 8 0 0 1 0 1 1 0 8 0 shmpl 112 136 0 8 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 26195 0 24757 91 0 91 91 0 8 0 ffsino 272 26195 0 24757 97 0 97 97 0 8 0 nchpl 144 43997 0 42352 63 0 63 63 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 155889 0 155889 3 2 1 2 0 8 1 percpumem 16 132 0 93 1 0 1 1 0 8 0 vcpupl 2048 21 0 6 3 0 3 3 0 8 0 vmpool 568 22 0 7 2 0 2 2 0 8 0 pfiaddrpl 120 219 0 216 4 3 1 1 0 8 0 kstatmem 264 160 0 134 4 2 2 3 0 8 0 scxspl 216 109347 0 109347 13 12 1 8 0 8 1 plimitpl 152 374 0 358 1 0 1 1 0 8 0 sigapl 424 15918 0 15868 9 3 6 8 0 8 0 futexpl 64 102626 0 102624 5 4 1 1 0 8 0 knotepl 120 634 0 0 11 0 11 11 0 8 0 kqueuepl 216 1894 0 1886 1 0 1 1 0 8 0 pipepl 320 1167 0 1139 32 29 3 8 0 8 0 fdescpl 496 15879 0 15850 5 1 4 5 0 8 0 filepl 152 100452 0 100213 145 133 12 19 0 8 2 lockfpl 104 1465 0 1463 4 3 1 2 0 8 0 lockfspl 48 512 0 510 1 0 1 1 0 8 0 sessionpl 144 34 0 17 1 0 1 1 0 8 0 pgrppl 48 105 0 88 1 0 1 1 0 8 0 ucredpl 104 43748 0 43736 1 0 1 1 0 8 0 zombiepl 144 15870 0 15868 1 0 1 1 0 8 0 processpl 1064 15918 0 15868 5 0 5 5 0 8 0 procpl 672 38660 0 38590 11 2 9 9 0 8 0 srpgc 96 10 0 10 4 4 0 1 0 8 0 sosppl 168 14 0 14 5 5 0 1 0 8 0 sockpl 488 15896 0 15871 340 336 4 28 0 8 0 mcl64k 65536 23 0 0 3 1 2 3 0 8 0 mcl16k 16384 20 0 0 3 1 2 3 0 8 0 mcl12k 12288 33 0 0 2 0 2 2 0 8 0 mcl9k 9216 32 0 0 3 1 2 2 0 8 0 mcl8k 8192 33 0 0 4 1 3 3 0 8 0 mcl4k 4096 41 0 0 6 3 3 3 0 8 0 mcl2k2 2112 6 0 0 1 0 1 1 0 8 0 mcl2k 2048 680 0 0 21 0 21 21 0 8 0 mtagpl 96 287 0 0 6 0 6 6 0 8 0 mbufpl 256 1384 0 0 77 0 77 77 0 8 0 bufpl 288 22249 0 15920 453 0 453 453 0 8 0 anonpl 24 2669724 0 2657025 139 57 82 115 0 186 0 amapchunkpl 152 241580 0 240961 53 26 27 44 0 158 1 amappl16 200 32158 0 31783 41 21 20 21 0 8 0 amappl15 192 4195 0 4182 2 1 1 2 0 8 0 amappl14 184 20 0 13 1 0 1 1 0 8 0 amappl13 176 4223 0 4220 1 0 1 1 0 8 0 amappl12 168 2143 0 2137 2 1 1 1 0 8 0 amappl11 160 1829 0 1808 1 0 1 1 0 8 0 amappl10 152 291 0 278 1 0 1 1 0 8 0 amappl9 144 2240 0 2232 1 0 1 1 0 8 0 amappl8 136 2882 0 2730 7 1 6 6 0 8 0 amappl7 128 2031 0 2007 1 0 1 1 0 8 0 amappl6 120 1639 0 1607 6 4 2 2 0 8 0 amappl5 112 11792 0 11775 1 0 1 1 0 8 0 amappl4 104 2897 0 2861 2 1 1 2 0 8 0 amappl3 96 48670 0 48616 2 0 2 2 0 8 0 amappl2 88 22417 0 22341 3 1 2 3 0 8 0 amappl1 80 361671 0 360916 22 4 18 22 0 8 0 amappl 88 83234 0 83041 6 1 5 5 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 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 72 138 0 8 3 0 3 3 0 8 0 uaddrrnd 24 15902 0 15858 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 15902 0 15858 1 0 1 1 0 8 0 vmmpekpl 168 95525 0 95466 4 0 4 4 0 8 0 vmmpepl 168 1480648 0 1477905 255 125 130 132 0 357 6 vmsppl 368 15901 0 15857 7 2 5 5 0 8 0 rwobjpl 56 341194 0 333505 115 5 110 110 0 8 0 pdppl 4096 31811 0 31729 555 470 85 87 0 8 3 pvpl 32 5681710 0 5663152 399 240 159 275 0 265 2 pmappl 248 15901 0 15857 6 3 3 4 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1559 0 679 26 0 26 26 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace end trace frame: 0x0, count: -1 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020dd8ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff82b5d5d0) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82b5d5d0) at __mp_lock+0x122 sys/kern/kern_lock.c:147 wakeup_n(ffffffff829f84f0,ffffffff) at wakeup_n+0x37 uvm_pmr_freepages(fffffd800726cd60,1) at uvm_pmr_freepages+0x2ce sys/uvm/uvm_pmemrange.c:1303 pmap_do_remove(fffffd806e46a7c8,c0b9de3d000,c0b9de5d000,0) at pmap_do_remove+0x666 sys/arch/amd64/amd64/pmap.c:1883 uvm_unmap_kill_entry_withlock(fffffd807b9828c0,fffffd807455d258,0) at uvm_unmap_kill_entry_withlock+0x1af sys/uvm/uvm_map.c:1900 uvm_map_teardown(fffffd807b9828c0) at uvm_map_teardown+0x197 uvm_map_addr_RBT_LEFT sys/uvm/uvm_map.h:176 [inline] uvm_map_teardown(fffffd807b9828c0) at uvm_map_teardown+0x197 sys/uvm/uvm_map.c:2546 uvmspace_free(fffffd807b9828c0) at uvmspace_free+0xa6 sys/uvm/uvm_map.c:3464 reaper(ffff8000212337a8) at reaper+0x19a sys/kern/kern_exit.c:448 end trace frame: 0x0, count: -11