kernel: double fault trap, code=0 Stopped at restore_saved+0x32: 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 0xffff8000ffffecd0 rsi 0xffff80003295e7e8 rbp 0 rbx 0 rdx 0 rcx 0 rax 0x7 r8 0 r9 0 r10 0x473e0ebdf5b5490c r11 0x45ee13a2ac406d10 r12 0xffff80003295e7e8 r13 0xffff80002f0ca000 r14 0 r15 0xffff8000ffffecd0 rip 0xffffffff811ab1dc restore_saved+0x32 cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0 ss 0x10 restore_saved+0x32: xorq 0x30(%rsp),%r11 ddb{0}> show proc PROC (syz-executor.2) tid=450648 pid=53881 tcnt=0 stat=onproc flags process=8001008 proc=2400 runpri=26, usrpri=84, slppri=26, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003295e7e8 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a24acf8,0xffff80003295f9e8 process=0xffff8000373aa858 user=0xffff80002f0ca000, vmspace=0xfffffd807eff2898 estcpu=34, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 65232 60964 71851 0 2 0x8000000 syz-executor.0 61608 1427 51788 60928 2 0x8000490 syz-executor.5 61608 242374 51788 60928 3 0xc000090 kqread syz-executor.5 61608 511510 51788 60928 3 0xc000090 fsleep syz-executor.5 61523 157236 99401 0 2 0x8000480 syz-executor.1 61523 408282 99401 0 2 0xc000080 syz-executor.1 61523 433561 99401 0 2 0xc000080 syz-executor.1 61523 360993 99401 0 3 0xc000080 fsleep syz-executor.1 74856 85975 32612 0 2 0x8000480 syz-executor.6 74856 312511 32612 0 3 0xc000080 sbwait syz-executor.6 74856 403441 32612 0 2 0xc000080 syz-executor.6 62803 357752 46653 0 2 0x8000480 syz-executor.7 62803 346152 46653 0 3 0xc000080 sbwait syz-executor.7 51788 476349 26686 0 2 0x8000482 syz-executor.5 32612 408301 26686 0 2 0x8000482 syz-executor.6 46653 108515 26686 0 2 0x8000482 syz-executor.7 71851 459042 26686 0 2 0x8000482 syz-executor.0 74826 116221 26686 0 3 0x8000082 wait syz-executor.3 65671 360834 26686 0 2 0x8000482 syz-executor.4 25478 174708 26686 0 2 0x8000482 syz-executor.2 99401 155713 26686 0 2 0x8000482 syz-executor.1 68199 394293 1 0 3 0x18100083 ttyin getty 7143 352520 0 0 3 0x14200 bored sosplice 26686 22888 45687 0 3 0x1a000082 wait syz-fuzzer 26686 135014 45687 0 2 0x1e000482 syz-fuzzer 26686 519656 45687 0 3 0x1e000082 thrsleep syz-fuzzer 26686 164730 45687 0 3 0x1e000082 thrsleep syz-fuzzer 26686 129670 45687 0 3 0x1e000082 thrsleep syz-fuzzer 26686 169710 45687 0 3 0x1e000082 wait syz-fuzzer 26686 364874 45687 0 3 0x1e000082 thrsleep syz-fuzzer 26686 86242 45687 0 2 0x1e000482 syz-fuzzer 26686 364646 45687 0 3 0x1e000082 wait syz-fuzzer 26686 483247 45687 0 3 0x1e000082 wait syz-fuzzer 26686 453322 45687 0 3 0x1e000082 wait syz-fuzzer 26686 243370 45687 0 3 0x1e000082 thrsleep syz-fuzzer 26686 430113 45687 0 3 0x1e000082 wait syz-fuzzer 26686 58674 45687 0 3 0x1e000082 wait syz-fuzzer 26686 247322 45687 0 3 0x1e000082 wait syz-fuzzer 26686 272417 45687 0 3 0x1e000082 thrsleep syz-fuzzer 45687 355636 49373 0 3 0x810008a sigsusp ksh 49373 1020 45174 0 3 0x1800009a kqread sshd 45174 19126 1 0 3 0x18000088 kqread sshd 573 443821 87527 73 2 0x19100010 syslogd 87527 155254 1 0 3 0x18100082 sbwait syslogd 44190 324148 1 0 3 0x18100080 kqread resolvd 76063 144192 41667 77 3 0x18100092 kqread dhcpleased 6437 240008 41667 77 3 0x18100092 kqread dhcpleased 41667 399106 1 0 3 0x18000080 kqread dhcpleased 99980 209081 0 0 3 0x14200 bored smr 80529 130127 0 0 3 0x14200 pgzero zerothread 11693 261304 0 0 3 0x14200 aiodoned aiodoned 36777 400510 0 0 2 0x14600 update 70155 393156 0 0 3 0x14200 cleaner cleaner 72644 360557 0 0 7 0x14200 reaper 74729 283631 0 0 3 0x14200 pgdaemon pagedaemon 2556 29759 0 0 3 0x14200 bored viomb 22239 241094 0 0 3 0x40014200 acpi0 acpi0 7940 436024 0 0 3 0x40014200 idle1 1358 75840 0 0 3 0x14200 bored softnet3 47270 499715 0 0 3 0x14200 bored softnet2 33039 519402 0 0 3 0x14200 bored softnet1 66211 63375 0 0 2 0x14200 softnet0 40028 447532 0 0 2 0x14200 systqmp 21922 259577 0 0 3 0x14200 bored systq 59155 169504 0 0 2 0x14200 softclockmp 59656 131244 0 0 3 0x40014200 tmoslp softclock 58933 312652 0 0 3 0x40014200 idle0 1 493383 0 0 3 0x8080082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 0: exclusive sched_lock &sched_lock r = 0 (0xffffffff82e99880) #0 witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x446 sys/kern/subr_witness.c:1157 #1 sleep_finish+0x145 sys/kern/kern_synch.c:401 #2 msleep+0xeb sys/kern/kern_synch.c:249 #3 softclock_thread+0xcf sys/kern/kern_timeout.c:810 #4 proc_trampoline+0x10 Process 573 (syslogd) thread 0xffff8000ffffd720 (443821) exclusive rrwlock inode r = 0 (0xfffffd806e74a3d0) #0 witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x446 sys/kern/subr_witness.c:1157 #1 rw_enter+0x32d sys/kern/kern_rwlock.c:309 #2 rrw_enter+0x91 sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0x8b sys/kern/vfs_vops.c:524 #4 vn_lock+0x85 sys/kern/vfs_vnops.c:564 #5 sys_fsync+0xf1 sys/kern/vfs_syscalls.c:2931 #6 syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline] #6 syscall+0x854 sys/arch/amd64/amd64/trap.c:577 #7 Xsyscall+0x128 Process 72644 (reaper) thread 0xffff80002a1491f8 (360557) exclusive rwlock vmmaplk r = 0 (0xfffffd806b8d3b58) #0 witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x446 sys/kern/subr_witness.c:1157 #1 rw_enter+0x32d sys/kern/kern_rwlock.c:309 #2 vm_map_lock_ln+0xfa sys/uvm/uvm_map.c:5291 #3 uvm_map_teardown+0xb3 sys/uvm/uvm_map.c:2502 #4 uvmspace_free+0xa6 sys/uvm/uvm_map.c:3461 #5 reaper+0x197 sys/kern/kern_exit.c:475 #6 proc_trampoline+0x10 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10219 6754K 6994K 166960K 15360 0 pcb 18 14K 16K 166960K 475 0 rtable 207 8K 9K 166960K 1659 0 pf 38 10K 11K 166960K 227 0 ifaddr 44 15K 16K 166960K 268 0 ifgroup 73 3K 3K 166960K 397 0 sysctl 4 1K 2K 166960K 7 0 counters 70 37K 37K 166960K 246 0 ioctlops 0 0K 4K 166960K 1624 0 iov 0 0K 16K 166960K 129 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1423 89K 90K 166960K 3778 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 16K 20K 166960K 49 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 186 0 dirhash 12 2K 2K 166960K 27 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 17 61K 85K 166960K 2622 0 sigio 0 0K 0K 166960K 62 0 proc 58 79K 128K 166960K 1651 0 subproc 104 6K 8K 166960K 612 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 293 0 in_multi 86 6K 7K 166960K 585 0 ether_multi 1 0K 0K 166960K 24 0 mrt 1 0K 0K 166960K 8 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 109 493K 493K 166960K 109 0 exec 0 0K 1K 166960K 1094 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 303 102K 112K 166960K 23904 0 UVM aobj 66 9K 9K 166960K 72 0 pinsyscall 37 74K 100K 166960K 4791 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 1 0K 0K 166960K 176 0 NDP 14 0K 2K 166960K 192 0 temp 74 6808K 14744K 166960K 91555 0 kqueue 13 20K 28K 166960K 359 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 24 0 0 1 0 1 1 0 8 0 rtpcb 120 326 0 322 1 0 1 1 0 8 0 rtentry 112 567 0 477 4 0 4 4 0 8 0 unpcb 144 1945 0 1927 12 8 4 4 0 8 2 syncache 336 6 0 6 3 3 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 808 692 0 685 15 13 2 2 0 8 1 arp 120 105 0 86 1 0 1 1 0 8 0 inpcb 384 2706 0 2690 26 23 3 8 0 8 1 nd6 136 149 0 126 1 0 1 1 0 8 0 pkpcb 40 9 0 9 6 6 0 1 0 8 0 kcovpl 48 47 0 39 1 0 1 1 0 8 0 ppxss 1168 19 0 19 8 8 0 1 0 8 0 pffrag 232 17 0 14 3 2 1 1 0 482 0 pffrnode 88 17 0 14 3 2 1 1 0 8 0 pffrent 40 155 0 152 3 2 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 216 0 173 1 0 1 1 0 8 0 pfstkey 128 216 0 173 2 0 2 2 0 8 0 pfstate 376 216 0 173 7 2 5 5 0 8 0 pfrule 1344 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 2200 0 1816 43 18 25 29 0 8 1 art_table 32 2201 0 1816 4 0 4 4 0 8 0 art_node 16 560 0 479 1 0 1 1 0 8 0 sysvmsgpl 40 24 0 15 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 183 0 173 1 0 1 1 0 8 0 shmpl 112 69 0 6 2 0 2 2 0 8 0 dirhash 1024 27 0 10 3 0 3 3 0 8 0 dino2pl 256 5396 0 3867 96 0 96 96 0 8 0 ffsino 272 5396 0 3867 103 0 103 103 0 8 0 nchpl 144 9145 0 8540 67 39 28 67 0 8 0 uvmvnodes 80 7242 0 0 148 0 148 148 0 8 0 vnodes 216 7242 0 0 403 0 403 403 0 8 0 namei 1024 33908 0 33908 8 7 1 2 0 8 1 percpumem 16 137 0 88 1 0 1 1 0 8 0 vcpupl 3904 10 0 1 2 0 2 2 0 8 0 vmpool 696 26 0 17 5 4 1 1 0 8 0 kstatmem 264 204 0 176 4 1 3 3 0 8 0 scsiplug 72 8 0 8 6 6 0 1 0 8 0 scxspl 216 60814 0 60814 19 18 1 8 1 8 1 plimitpl 152 438 0 420 1 0 1 1 0 8 0 sigapl 424 2883 0 2835 9 3 6 9 0 8 0 futexpl 64 38920 0 38917 10 9 1 1 0 8 0 knotepl 120 567 0 0 11 0 11 11 0 8 0 kqueuepl 216 780 0 770 1 0 1 1 0 8 0 pipepl 320 535 0 506 3 0 3 3 0 8 0 fdescpl 496 2842 0 2814 6 1 5 5 0 8 0 filepl 152 18684 0 18420 17 3 14 14 0 8 0 lockfpl 104 987 0 983 2 1 1 2 0 8 0 lockfspl 48 382 0 378 1 0 1 1 0 8 0 sessionpl 144 61 0 45 1 0 1 1 0 8 0 pgrppl 48 91 0 75 1 0 1 1 0 8 0 ucredpl 104 2893 0 2882 1 0 1 1 0 8 0 zombiepl 144 2838 0 2835 2 1 1 1 0 8 0 processpl 1144 2883 0 2835 6 0 6 6 0 8 0 procpl 656 5360 0 5289 9 1 8 9 0 8 0 srpgc 96 20 0 20 7 7 0 1 0 8 0 sosppl 168 8 0 8 6 5 1 1 0 8 1 sockpl 664 5003 0 4966 37 27 10 10 0 8 6 mcl64k 65536 11 0 0 2 0 2 2 0 8 0 mcl16k 16384 3 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 12 0 0 2 0 2 2 0 8 0 mcl4k 4096 6 0 0 1 0 1 1 0 8 0 mcl2k 2048 425 0 0 53 1 52 53 0 8 0 mtagpl 96 26 0 0 1 0 1 1 0 8 0 mbufpl 256 624 0 0 28 0 28 28 0 8 0 bufpl 280 14522 0 4970 683 0 683 683 0 8 0 anonpl 24 544703 0 533340 153 66 87 117 0 186 14 amapchunkpl 152 80620 0 79626 86 45 41 59 0 158 1 amappl16 200 10908 0 10757 59 45 14 33 0 8 0 amappl15 192 12 0 12 1 1 0 1 0 8 0 amappl14 184 301 0 289 2 1 1 2 0 8 0 amappl13 176 21 0 21 1 1 0 1 0 8 0 amappl12 168 4043 0 4013 2 0 2 2 0 8 0 amappl11 160 143 0 125 1 0 1 1 0 8 0 amappl10 152 88 0 86 1 0 1 1 0 8 0 amappl9 144 214 0 213 1 0 1 1 0 8 0 amappl8 136 387 0 352 2 0 2 2 0 8 0 amappl7 128 70 0 56 1 0 1 1 0 8 0 amappl6 120 796 0 781 2 1 1 2 0 8 0 amappl5 112 321 0 309 1 0 1 1 0 8 0 amappl4 104 946 0 906 2 0 2 2 0 8 0 amappl3 96 14654 0 14564 3 0 3 3 0 8 0 amappl2 88 3407 0 3331 5 3 2 5 0 8 0 amappl1 80 19761 0 19263 22 10 12 22 0 8 0 amappl 88 22863 0 22653 7 1 6 6 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 71 0 6 2 0 2 2 0 8 0 uaddrrnd 24 2868 0 2831 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2868 0 2831 1 0 1 1 0 8 0 vmmpekpl 168 23587 0 23512 4 0 4 4 0 8 0 vmmpepl 168 197868 0 195883 168 68 100 115 0 357 0 vmsppl 440 2867 0 2830 5 0 5 5 0 8 0 rwobjpl 56 58200 0 49773 122 3 119 119 0 8 0 pdppl 4096 5743 0 5669 201 125 76 80 0 8 2 pvpl 32 46898 0 0 380 1 379 379 0 265 0 pmappl 248 2867 0 2830 5 2 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 571 0 177 12 0 12 12 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+0x1e: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800029cebff0) at x86_ipi_db+0x1e 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+0x27 __mp_lock(ffffffff82e99678) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82e99678) at __mp_lock+0x122 sys/kern/kern_lock.c:147 yield() at yield+0x3a sys/kern/sched_bsd.c:321 uvm_map_teardown(fffffd806b8d3a68) at uvm_map_teardown+0x1ba uvm_unmap_kill_entry sys/uvm/uvm_map.c:1958 [inline] uvm_map_teardown(fffffd806b8d3a68) at uvm_map_teardown+0x1ba sys/uvm/uvm_map.c:2533 uvmspace_free(fffffd806b8d3a68) at uvmspace_free+0xa6 sys/uvm/uvm_map.c:3461 reaper(ffff80002a1491f8) at reaper+0x197 sys/kern/kern_exit.c:475 end trace frame: 0x0, count: -8