kernel: double fault trap, code=0 Stopped at restore_saved+0x6c: movq $0x8,%rcx ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic the kernel did not panic ddb> trace restore_saved() at restore_saved+0x6c preempt() at preempt+0x45 sys/kern/sched_bsd.c:310 ast(ffff800027f35c60) at ast+0xeb mi_ast sys/sys/syscall_mi.h:184 [inline] ast(ffff800027f35c60) at ast+0xeb sys/arch/amd64/amd64/trap.c:508 intr_user_exit() at intr_user_exit+0x3c end of kernel end trace frame: 0x7f7ffffd4b30, count: -4 ddb> show registers rdi 0xc592000 __kernel_phys_end+0x9992000 rsi 0xffff8000215f8000 rbp 0xffff800027f35bf0 rbx 0xfffffd806a908bd8 rdx 0 rcx 0xfffffd806a908518 rax 0x794f8001 r8 0x2 r9 0 r10 0x48381b9d43860853 r11 0x7a79bdcd14acfa94 r12 0xffff8000215f8000 r13 0xffff800027f30000 r14 0xffff8000ffff8d28 r15 0xffff8000215f8000 rip 0xffffffff8126e21e restore_saved+0x6c cs 0x8 rflags 0x10046 __ALIGN_SIZE+0xf046 rsp 0xffff800027f35b78 ss 0x10 restore_saved+0x6c: movq $0x8,%rcx ddb> show proc PROC (syz-executor.6) pid=48386 stat=onproc flags process=0 proc=0 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000215f97a0,0xffff8000ffff82b8 process=0xffff800021674410 user=0xffff800027f30000, vmspace=0xfffffd80668e6448 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 97975 271532 91641 0 3 0x80 nanoslp syz-executor.3 97975 49289 91641 0 3 0x4000080 fsleep syz-executor.3 94547 409523 89057 0 2 0 syz-executor.0 94547 108569 89057 0 3 0x4000080 fsleep syz-executor.0 43892 362887 15988 0 2 0 syz-executor.5 43892 316489 15988 0 3 0x4000080 netio syz-executor.5 *17365 48386 77257 0 7 0 syz-executor.6 17365 518054 77257 0 3 0x4000080 fsleep syz-executor.6 17365 382094 77257 0 3 0x4000080 fsleep syz-executor.6 91641 130878 32020 0 3 0x82 nanoslp syz-executor.3 15988 215911 32020 0 3 0x82 nanoslp syz-executor.5 21335 5114 0 0 3 0x14280 nfsidl nfsio 39018 268668 0 0 3 0x14280 nfsidl nfsio 45857 54500 0 0 3 0x14280 nfsidl nfsio 57319 8398 0 0 3 0x14280 nfsidl nfsio 30858 335709 0 0 3 0x14280 nfsidl nfsio 29246 359362 0 0 3 0x14280 nfsidl nfsio 86038 76423 0 0 3 0x14280 nfsidl nfsio 17021 369877 0 0 3 0x14280 nfsidl nfsio 27685 406053 0 0 3 0x14280 nfsidl nfsio 64945 364386 0 0 3 0x14280 nfsidl nfsio 68010 401000 0 0 3 0x14280 nfsidl nfsio 67459 337350 0 0 3 0x14280 nfsidl nfsio 70539 289648 0 0 3 0x14280 nfsidl nfsio 65442 296333 0 0 3 0x14280 nfsidl nfsio 83838 144752 0 0 3 0x14280 nfsidl nfsio 56043 454400 0 0 3 0x14280 nfsidl nfsio 14748 392446 0 0 3 0x14280 nfsidl nfsio 37867 389397 0 0 3 0x14280 nfsidl nfsio 281 435605 0 0 3 0x14280 nfsidl nfsio 18572 416368 0 0 3 0x14280 nfsidl nfsio 10879 99570 0 0 3 0x14200 bored sosplice 77257 10879 32020 0 3 0x82 nanoslp syz-executor.6 75093 309368 32020 0 3 0x82 nanoslp syz-executor.7 46229 239819 32020 0 3 0x82 nanoslp syz-executor.4 89057 56398 32020 0 3 0x82 nanoslp syz-executor.0 91712 194180 32020 0 3 0x82 nanoslp syz-executor.2 59518 94812 32020 0 3 0x82 nanoslp syz-executor.1 32020 250351 436 0 3 0x82 thrsleep syz-fuzzer 32020 83047 436 0 3 0x4000082 thrsleep syz-fuzzer 32020 270543 436 0 3 0x4000082 thrsleep syz-fuzzer 32020 266999 436 0 3 0x4000082 thrsleep syz-fuzzer 32020 276305 436 0 3 0x4000082 kqread syz-fuzzer 32020 202767 436 0 3 0x4000082 thrsleep syz-fuzzer 32020 154572 436 0 3 0x4000082 thrsleep syz-fuzzer 32020 165608 436 0 3 0x4000082 thrsleep syz-fuzzer 32020 360450 436 0 3 0x4000082 thrsleep syz-fuzzer 436 421497 86116 0 3 0x10008a sigsusp ksh 86116 337878 61071 0 3 0x9a kqread sshd 38045 409582 1 0 3 0x100083 ttyin getty 61071 213947 1 0 3 0x88 kqread sshd 74472 108066 76580 73 3 0x1100090 kqread syslogd 76580 296431 1 0 3 0x100082 netio syslogd 29905 2448 1 0 3 0x100080 kqread resolvd 63 502952 64289 77 3 0x100092 kqread dhcpleased 60242 236728 64289 77 3 0x100092 kqread dhcpleased 64289 507960 1 0 3 0x80 kqread dhcpleased 58050 213628 0 0 3 0x14200 bored smr 59045 123479 0 0 2 0x14200 zerothread 71807 329278 0 0 3 0x14200 aiodoned aiodoned 45996 209804 0 0 3 0x14200 syncer update 12449 467350 0 0 3 0x14200 cleaner cleaner 84636 455748 0 0 3 0x14200 reaper reaper 92517 467439 0 0 3 0x14200 pgdaemon pagedaemon 58987 143630 0 0 3 0x14200 bored viomb 77293 348395 0 0 3 0x40014200 acpi0 acpi0 15341 171241 0 0 3 0x14200 bored softnet 80290 105689 0 0 3 0x14200 bored systqmp 19348 445912 0 0 3 0x14200 bored systq 91766 56326 0 0 3 0x40014200 bored softclock 28384 172221 0 0 3 0x40014200 idle0 1 181353 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 devbuf 10167 6463K 6910K 78643K 13117 0 pcb 13 16K 21K 78643K 449 0 rtable 243 18K 18K 78643K 716 0 ifaddr 80 17K 18K 78643K 236 0 sysctl 2 0K 0K 78643K 2 0 counters 26 17K 17K 78643K 35 0 ioctlops 0 0K 4K 78643K 464 0 iov 1 0K 32K 78643K 417 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1298 81K 81K 78643K 1906 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 17 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 1K 78643K 366 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 14 49K 73K 78643K 1517 0 sigio 0 0K 0K 78643K 22 0 proc 57 55K 79K 78643K 589 0 subproc 104 6K 6K 78643K 130 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 20 0 in_multi 88 5K 7K 78643K 161 0 ether_multi 1 0K 0K 78643K 22 0 mrt 0 0K 0K 78643K 15 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 73 334K 334K 78643K 73 0 exec 0 0K 2K 78643K 953 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 7 26K 26K 78643K 7 0 UVM amap 301 114K 132K 78643K 19955 0 UVM aobj 77 6K 6K 78643K 80 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 56 0 NDP 10 0K 2K 78643K 39 0 temp 126 4709K 4775K 78643K 12931 0 kqueue 12 18K 24K 78643K 107 0 SYN cache 2 16K 16K 78643K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 78 0 75 1 0 1 1 0 8 0 rtentry 112 146 0 43 4 0 4 4 0 8 0 unpcb 136 813 0 800 9 7 2 8 0 8 1 syncache 296 10 0 10 2 2 0 1 0 8 0 tcpqe 32 40 0 40 1 1 0 1 0 8 0 tcpcb 736 282 0 276 10 5 5 5 0 8 3 arp 88 23 0 7 1 0 1 1 0 8 0 ipq 40 3 0 3 1 1 0 1 0 8 0 ipqe 40 9 0 9 1 1 0 1 0 8 0 inpcb 304 2717 0 2709 29 20 9 16 0 8 8 rttmr 72 4 0 4 1 1 0 1 0 8 0 nd6 48 33 0 9 1 0 1 1 0 8 0 kcovpl 48 10 0 2 1 0 1 1 0 8 0 ppxss 1152 3 0 3 1 1 0 1 0 8 0 pfstscr 40 4 0 3 1 0 1 1 0 8 0 pfrktable 1344 72 0 66 2 1 1 1 0 8 0 pftag 88 13 0 9 2 1 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 112 8 0 6 1 0 1 1 0 8 0 pfstate 320 4 0 3 1 0 1 1 0 8 0 pfrule 1360 143 0 59 7 0 7 7 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 568 0 151 32 3 29 29 0 8 2 art_table 32 569 0 151 4 0 4 4 0 8 0 art_node 16 145 0 52 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 3 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 362 0 352 1 0 1 1 0 8 0 shmpl 112 77 0 3 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 3406 0 1978 90 0 90 90 0 8 0 ffsino 240 3406 0 1978 85 0 85 85 0 8 0 nchpl 144 5654 0 4023 62 0 62 62 0 8 0 uvmvnodes 80 3941 0 0 81 0 81 81 0 8 0 vnodes 224 3941 0 0 232 0 232 232 0 8 0 namei 1024 24708 0 24708 2 1 1 2 0 8 1 vcpupl 1984 3 0 1 1 0 1 1 0 8 0 vmpool 528 15 0 13 1 0 1 1 0 8 0 pfiaddrpl 120 23 0 17 4 3 1 1 0 8 0 scxspl 216 16254 0 16254 10 9 1 8 0 8 1 plimitpl 152 192 0 178 1 0 1 1 0 8 0 sigapl 424 1822 0 1759 9 1 8 8 0 8 0 futexpl 64 14573 0 14569 1 0 1 1 0 8 0 knotepl 120 20237 0 20157 4 1 3 4 0 8 0 kqueuepl 184 285 0 277 2 1 1 2 0 8 0 pipepl 304 443 0 415 8 5 3 8 0 8 0 fdescpl 432 1787 0 1762 4 0 4 4 0 8 0 filepl 120 12137 0 11900 23 9 14 15 0 8 6 lockfpl 104 565 0 563 4 2 2 2 0 8 1 lockfspl 48 85 0 83 1 0 1 1 0 8 0 sessionpl 144 25 0 9 1 0 1 1 0 8 0 pgrppl 48 25 0 9 1 0 1 1 0 8 0 ucredpl 96 1044 0 1034 1 0 1 1 0 8 0 zombiepl 144 1763 0 1759 1 0 1 1 0 8 0 processpl 1000 1822 0 1759 9 1 8 9 0 8 0 procpl 672 4006 0 3930 11 3 8 8 0 8 1 sosppl 168 8 0 8 2 1 1 1 0 8 1 sockpl 448 3608 0 3584 64 53 11 25 0 8 8 mcl64k 65536 48 0 48 4 4 0 1 0 8 0 mcl16k 16384 23 0 23 5 4 1 1 0 8 1 mcl12k 12288 29 0 29 3 3 0 1 0 8 0 mcl9k 9216 19 0 19 2 2 0 1 0 8 0 mcl8k 8192 74 0 74 4 3 1 1 0 8 1 mcl4k 4096 157 0 157 3 2 1 1 0 8 1 mcl2k2 2112 17 0 17 4 3 1 1 0 8 1 mcl2k 2048 78660 0 78608 16 8 8 12 0 8 1 mtagpl 96 230 0 113 6 1 5 5 0 8 0 mbufpl 256 135222 0 134927 34 8 26 26 0 8 1 bufpl 288 5806 0 158 404 0 404 404 0 8 0 anonpl 24 474373 0 456240 146 26 120 143 0 188 0 amapchunkpl 152 48901 0 48166 56 13 43 43 0 158 11 amappl16 200 5589 0 4940 60 25 35 48 0 8 0 amappl15 192 633 0 626 1 0 1 1 0 8 0 amappl14 184 669 0 662 1 0 1 1 0 8 0 amappl13 176 258 0 254 1 0 1 1 0 8 0 amappl12 168 204 0 198 1 0 1 1 0 8 0 amappl11 160 49 0 37 1 0 1 1 0 8 0 amappl10 152 194 0 192 1 0 1 1 0 8 0 amappl9 144 458 0 456 1 0 1 1 0 8 0 amappl8 136 761 0 707 2 0 2 2 0 8 0 amappl7 128 282 0 271 1 0 1 1 0 8 0 amappl6 120 198 0 180 2 1 1 2 0 8 0 amappl5 112 962 0 948 1 0 1 1 0 8 0 amappl4 104 1329 0 1298 2 1 1 2 0 8 0 amappl3 96 570 0 557 1 0 1 1 0 8 0 amappl2 88 930 0 883 3 1 2 3 0 8 0 amappl1 80 35040 0 34511 18 5 13 18 0 8 0 amappl 88 19434 0 19220 7 1 6 7 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 79 0 3 2 0 2 2 0 8 0 uaddrrnd 24 1802 0 1775 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1802 0 1775 1 0 1 1 0 8 0 vmmpekpl 168 16813 0 16759 3 0 3 3 0 8 0 vmmpepl 168 166986 0 164632 148 30 118 137 0 357 2 vmsppl 272 1801 0 1775 5 2 3 3 0 8 0 rwobjpl 24 45334 0 39769 34 0 34 34 0 8 0 pdppl 4096 3610 0 3552 155 89 66 69 0 8 8 pvpl 32 885697 0 863452 259 63 196 259 0 265 0 pmappl 216 1801 0 1775 2 0 2 2 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 927 0 184 22 0 22 22 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace restore_saved() at restore_saved+0x6c preempt() at preempt+0x45 sys/kern/sched_bsd.c:310 ast(ffff800027f35c60) at ast+0xeb mi_ast sys/sys/syscall_mi.h:184 [inline] ast(ffff800027f35c60) at ast+0xeb sys/arch/amd64/amd64/trap.c:508 intr_user_exit() at intr_user_exit+0x3c end of kernel end trace frame: 0x7f7ffffd4b30, count: -4 ddb> machine ddbcpu 1 No such command ddb> trace restore_saved() at restore_saved+0x6c preempt() at preempt+0x45 sys/kern/sched_bsd.c:310 ast(ffff800027f35c60) at ast+0xeb mi_ast sys/sys/syscall_mi.h:184 [inline] ast(ffff800027f35c60) at ast+0xeb sys/arch/amd64/amd64/trap.c:508 intr_user_exit() at intr_user_exit+0x3c end of kernel end trace frame: 0x7f7ffffd4b30, count: -4