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 0xffff8000fffff1f0 rsi 0xffff80002bcd87e8 rbp 0 rbx 0 rdx 0 rcx 0 rax 0x7 r8 0x90 r9 0 r10 0x5f046e363282e87f r11 0xadbbb2a0f89e7490 r12 0xffff80002bcd87e8 r13 0xffff80002bcb2000 r14 0 r15 0xffff8000fffff1f0 rip 0xffffffff814f41dc 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.6) tid=444607 pid=90182 tcnt=2 stat=onproc flags process=9001000 proc=4080080 runpri=32, usrpri=83, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff800031af8cf8 forw=0xffffffffffffffff, list=0xffff800031af8cf8,0xffff80002bcd9238 process=0xffff80002a2948f8 user=0xffff80002bcb2000, vmspace=0xfffffd80679e9dd8 estcpu=33, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 95769 322110 44816 0 2 0x8000000 syz-executor.2 95769 478970 44816 0 2 0xc000000 syz-executor.2 81937 221789 6471 0 2 0x8000000 syz-executor.0 81937 153483 6471 0 3 0xc000080 fsleep syz-executor.0 97935 41579 44983 0 2 0x8000000 syz-executor.1 97935 394135 44983 0 3 0xc000080 fsleep syz-executor.1 72778 253408 52761 0 3 0x8000080 nanoslp syz-executor.3 72778 435712 52761 0 3 0xc000080 netcon2 syz-executor.3 72778 506508 52761 0 3 0xc000080 fsleep syz-executor.3 77628 404208 10426 0 3 0x8000080 nanoslp syz-executor.7 77628 5449 10426 0 3 0xc000080 netcon2 syz-executor.7 77628 427896 10426 0 3 0xc000080 fsleep syz-executor.7 77628 409140 10426 0 3 0xc000080 fsleep syz-executor.7 90182 16993 56231 0 3 0x9003000 suspend syz-executor.6 *90182 444607 56231 0 7 0xd081080 syz-executor.6 10426 278805 29845 0 2 0x8000002 syz-executor.7 44983 490561 29845 0 3 0x8000082 nanoslp syz-executor.1 44816 144521 29845 0 3 0x8000082 nanoslp syz-executor.2 34514 220961 0 0 3 0x14200 acct acct 6471 437800 29845 0 3 0x8000082 nanoslp syz-executor.0 56231 241555 29845 0 3 0x8000082 nanoslp syz-executor.6 89351 223756 29845 0 3 0x8000002 biowait syz-executor.5 52761 335070 29845 0 3 0x8000082 nanoslp syz-executor.3 28032 310383 29845 0 2 0x8000002 syz-executor.4 19822 181768 0 0 3 0x14200 bored sosplice 29845 365695 23283 0 3 0x1a000082 thrsleep syz-fuzzer 29845 200266 23283 0 3 0x1e000082 nanoslp syz-fuzzer 29845 341323 23283 0 3 0x1e000082 wait syz-fuzzer 29845 128036 23283 0 3 0x1e000082 thrsleep syz-fuzzer 29845 304531 23283 0 3 0x1e000082 kqread syz-fuzzer 29845 256927 23283 0 3 0x1e000082 wait syz-fuzzer 29845 153380 23283 0 3 0x1e000082 wait syz-fuzzer 29845 211932 23283 0 3 0x1e000082 thrsleep syz-fuzzer 29845 440948 23283 0 3 0x1e000082 thrsleep syz-fuzzer 29845 266294 23283 0 3 0x1e000082 wait syz-fuzzer 29845 63226 23283 0 3 0x1e000082 thrsleep syz-fuzzer 29845 238118 23283 0 3 0x1e000082 wait syz-fuzzer 29845 146260 23283 0 3 0x1e000082 thrsleep syz-fuzzer 29845 185885 23283 0 3 0x1e000082 wait syz-fuzzer 29845 173429 23283 0 3 0x1e000082 wait syz-fuzzer 29845 206040 23283 0 3 0x1e000082 wait syz-fuzzer 23283 31740 67999 0 3 0x810008a sigsusp ksh 67999 43036 34764 0 3 0x1800009a kqread sshd 4902 329812 1 0 3 0x18100083 ttyin getty 34764 243687 1 0 3 0x18000088 kqread sshd 61492 222489 18055 73 3 0x19100090 kqread syslogd 18055 109872 1 0 3 0x18100082 sbwait syslogd 33996 356088 1 0 3 0x18100080 kqread resolvd 46490 409780 17112 77 3 0x18100092 kqread dhcpleased 19672 213514 17112 77 3 0x18100092 kqread dhcpleased 17112 198396 1 0 3 0x18000080 kqread dhcpleased 67819 501959 0 0 3 0x14200 bored smr 41342 477287 0 0 2 0x14200 zerothread 12371 440917 0 0 3 0x14200 aiodoned aiodoned 63993 176221 0 0 3 0x14200 syncer update 34544 380651 0 0 3 0x14200 cleaner cleaner 2409 65079 0 0 7 0x14200 reaper 73718 341709 0 0 3 0x14200 pgdaemon pagedaemon 33023 372441 0 0 3 0x14200 bored viomb 57249 264490 0 0 3 0x40014200 acpi0 acpi0 99093 216755 0 0 3 0x40014200 idle1 47650 395257 0 0 3 0x14200 bored softnet3 42105 30902 0 0 3 0x14200 bored softnet2 72495 503530 0 0 3 0x14200 bored softnet1 29517 277935 0 0 3 0x14200 bored softnet0 31529 56144 0 0 3 0x14200 bored systqmp 55987 480963 0 0 3 0x14200 bored systq 66094 40616 0 0 3 0x14200 tmoslp softclockmp 64186 142217 0 0 3 0x40014200 tmoslp softclock 65004 127463 0 0 3 0x40014200 idle0 1 411285 0 0 3 0x8000082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 0: exclusive sched_lock &sched_lock r = 0 (0xffffffff82d7f4c0) #0 witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x446 sys/kern/subr_witness.c:1187 #1 sched_idle+0x199 sys/kern/kern_sched.c:167 #2 proc_trampoline+0x10 Process 89351 (syz-executor.5) thread 0xffff800031af8028 (223756) ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10212 6459K 7038K 166960K 21058 0 pcb 17 17K 19K 166960K 1209 0 rtable 215 15K 16K 166960K 3371 0 pf 36 10K 10K 166960K 397 0 ifaddr 46 17K 18K 166960K 472 0 ifgroup 63 2K 2K 166960K 675 0 sysctl 4 1K 1K 166960K 25 0 counters 70 37K 37K 166960K 386 0 ioctlops 0 0K 4K 166960K 1926 0 iov 0 0K 28K 166960K 501 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1513 95K 95K 166960K 7463 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 13K 166960K 296 0 VM map 2 1K 1K 166960K 2 0 sem 13 1K 1K 166960K 57 0 dirhash 12 2K 3K 166960K 180 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 17 61K 85K 166960K 8304 0 sigio 0 0K 0K 166960K 189 0 proc 66 103K 128K 166960K 3254 0 subproc 104 6K 8K 166960K 1135 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 1220 0 in_multi 88 6K 7K 166960K 1251 0 ether_multi 1 0K 0K 166960K 102 0 mrt 2 0K 0K 166960K 31 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 127 572K 572K 166960K 127 0 exec 0 0K 1K 166960K 2129 0 pfkey data 0 0K 0K 166960K 14 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 321 259K 260K 166960K 73136 0 UVM aobj 92 3K 3K 166960K 100 0 pinsyscall 37 74K 100K 166960K 11410 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 542 0 NDP 14 0K 1K 166960K 346 0 temp 77 6820K 7316K 166960K 254604 0 kqueue 16 22K 33K 166960K 1216 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 851 0 848 1 0 1 1 0 8 0 rtentry 112 1185 0 1091 4 0 4 4 0 8 0 unpcb 144 6119 0 6099 29 27 2 6 0 8 1 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpqe 32 17 57 17 2 2 0 1 0 8 0 tcpcb 808 2227 0 2217 43 35 8 8 0 8 6 arp 120 207 0 194 1 0 1 1 0 8 0 inpcb 384 8662 0 8644 99 91 8 15 0 8 5 ip6q 72 1 0 1 1 1 0 1 0 8 0 ip6af 40 2 0 2 1 1 0 1 0 8 0 nd6 136 322 0 297 5 4 1 2 0 8 0 pkpcb 40 59 0 59 24 23 1 1 0 8 1 kcovpl 48 87 0 79 1 0 1 1 0 8 0 ppxss 1168 32 0 32 21 20 1 1 0 8 1 pffrag 232 101 0 100 2 1 1 1 0 482 0 pffrnode 88 99 0 98 2 1 1 1 0 8 0 pffrent 40 1853 0 1852 2 1 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 618 0 577 1 0 1 1 0 8 0 pfstkey 128 618 0 577 3 0 3 3 0 8 0 pfstate 376 618 0 577 10 4 6 7 0 8 0 pfrule 1344 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 2 0 1 2 1 1 2 0 8 0 art_heap4 256 4296 0 3866 53 24 29 30 0 8 0 art_table 32 4298 0 3867 4 0 4 4 0 8 0 art_node 16 1156 0 1072 1 0 1 1 0 8 0 sysvmsgpl 40 20 0 12 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 52 0 41 1 0 1 1 0 8 0 shmpl 112 97 0 8 3 0 3 3 0 8 0 dirhash 1024 129 0 112 3 0 3 3 0 8 0 dino2pl 256 14519 0 12961 98 0 98 98 0 8 0 ffsino 272 14519 0 12961 105 0 105 105 0 8 0 nchpl 144 26615 0 24862 67 0 67 67 0 8 0 uvmvnodes 80 10366 0 0 212 0 212 212 0 8 0 vnodes 216 10366 0 0 576 0 576 576 0 8 0 namei 1024 92624 0 92623 16 15 1 2 0 8 0 percpumem 16 207 0 158 1 0 1 1 0 8 0 vcpupl 3904 27 0 1 4 0 4 4 0 8 0 vmpool 696 95 0 69 3 0 3 3 0 8 0 kstatmem 264 344 0 316 3 0 3 3 0 8 0 scsiplug 72 33 0 33 23 23 0 1 0 8 0 scxspl 216 160914 0 160913 36 33 3 8 1 8 2 plimitpl 152 1263 0 1247 1 0 1 1 0 8 0 sigapl 424 8476 0 8428 8 2 6 8 0 8 0 futexpl 64 121185 0 121179 13 12 1 1 0 8 0 knotepl 120 1234 0 0 19 0 19 19 0 8 0 kqueuepl 216 2452 0 2440 9 8 1 5 0 8 0 pipepl 320 1237 0 1208 8 5 3 8 0 8 0 fdescpl 496 8432 0 8404 9 5 4 5 0 8 0 filepl 152 54673 0 54404 62 49 13 17 0 8 1 lockfpl 104 2317 0 2314 2 1 1 2 0 8 0 lockfspl 48 912 0 909 1 0 1 1 0 8 0 sessionpl 144 96 0 80 1 0 1 1 0 8 0 pgrppl 48 272 0 256 1 0 1 1 0 8 0 ucredpl 104 9281 0 9271 1 0 1 1 0 8 0 zombiepl 144 8430 0 8428 4 3 1 1 0 8 0 processpl 1136 8476 0 8428 7 2 5 6 0 8 0 procpl 656 17792 0 17719 15 7 8 9 0 8 0 srpgc 96 56 0 56 16 16 0 1 0 8 0 sosppl 168 134 0 133 31 30 1 1 0 8 0 sockpl 664 15804 0 15763 115 107 8 14 0 8 4 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 9 0 0 2 0 2 2 0 8 0 mcl4k 4096 6 0 0 1 0 1 1 0 8 0 mcl2k 2048 738 0 0 38 11 27 38 0 8 0 mtagpl 96 48 0 0 1 0 1 1 0 8 0 mbufpl 256 1731 0 0 70 0 70 70 0 8 0 bufpl 280 23191 0 12824 741 0 741 741 0 8 0 anonpl 24 1099648 0 1093072 246 178 68 100 0 186 0 amapchunkpl 152 239088 0 238347 176 141 35 50 0 158 1 amappl16 200 23202 0 23055 158 144 14 32 0 8 0 amappl15 192 18 0 17 1 0 1 1 0 8 0 amappl14 184 374 0 363 2 1 1 2 0 8 0 amappl13 176 40 0 40 2 2 0 1 0 8 0 amappl12 168 10269 0 10238 2 0 2 2 0 8 0 amappl11 160 81 0 71 1 0 1 1 0 8 0 amappl10 152 116 0 107 1 0 1 1 0 8 0 amappl9 144 181 0 181 5 5 0 1 0 8 0 amappl8 136 405 0 367 2 0 2 2 0 8 0 amappl7 128 77 0 61 1 0 1 1 0 8 0 amappl6 120 1451 0 1435 2 1 1 2 0 8 0 amappl5 112 469 0 457 1 0 1 1 0 8 0 amappl4 104 1143 0 1112 2 0 2 2 0 8 0 amappl3 96 44384 0 44291 3 0 3 3 0 8 0 amappl2 88 9007 0 8936 4 2 2 4 0 8 0 amappl1 80 39054 0 38554 22 10 12 22 0 8 0 amappl 88 71514 0 71292 6 0 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 99 0 8 2 0 2 2 0 8 0 uaddrrnd 24 8527 0 8473 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 8527 0 8473 1 0 1 1 0 8 0 vmmpekpl 168 60431 0 60368 4 0 4 4 0 8 0 vmmpepl 168 520902 0 518948 288 194 94 114 0 357 0 vmsppl 440 8526 0 8473 13 6 7 7 0 8 0 rwobjpl 56 129533 0 117940 190 25 165 166 0 8 0 pdppl 4096 17061 0 16972 522 430 92 94 0 8 3 pvpl 32 48575 0 0 394 2 392 392 0 265 0 pmappl 248 8526 0 8473 5 1 4 4 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 982 0 539 13 0 13 13 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(ffffffff82d7f2b8) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82d7f2b8) at __mp_lock+0x122 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff82d7f2b8,1) at __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x4a9 sys/kern/sched_bsd.c:473 sleep_finish(0,1) at sleep_finish+0x19a sys/kern/kern_synch.c:417 msleep(ffffffff82d63170,ffffffff82c74e60,4,ffffffff828e13fb,0) at msleep+0xeb sys/kern/kern_synch.c:249 reaper(ffff80002a148f68) at reaper+0xdb sys/kern/kern_exit.c:434 end trace frame: 0x0, count: -9