login: 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 0xffffffff832c2000 end+0x2c2000 rsi 0xffff80002a292a80 rbp 0 rbx 0 rdx 0 rcx 0xfffffd806898b5e0 rax 0x1b r8 0x7f7fffffc000 r9 0 r10 0xac2b3008c69cf1ce r11 0x705ed6c857415a8d r12 0xffff80002a292a80 r13 0xffff80002a250000 r14 0 r15 0xffff80002a2827e0 rip 0xffffffff821141dc 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.1) tid=482501 pid=9659 tcnt=3 stat=onproc flags process=8000000 proc=480 runpri=32, usrpri=84, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff800030af8808,0xffff80002a283750 process=0xffff800037419f38 user=0xffff80002a250000, vmspace=0xfffffd806b6d4388 estcpu=34, cpticks=0, pctcpu=0.2, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 99350 2985 9312 0 2 0x8000000 syz-executor.0 53390 414313 8277 0 2 0x8000000 syz-executor.6 53390 405887 8277 0 2 0xc000000 syz-executor.6 77611 501146 76904 0 7 0x8000000 syz-executor.7 77611 103758 76904 0 2 0xc000000 syz-executor.7 37704 122572 72221 0 2 0x8000000 syz-executor.4 37704 134761 72221 0 3 0xc000080 netcon syz-executor.4 37704 180286 72221 0 3 0xc000080 fsleep syz-executor.4 77296 457943 61146 0 3 0x8000080 nanoslp syz-executor.3 77296 185649 61146 0 3 0xc000080 kqread syz-executor.3 77296 244931 61146 0 3 0xc000080 fsleep syz-executor.3 61618 482848 28839 0 3 0x8000090 nanoslp syz-executor.5 61618 321793 28839 0 3 0xc000090 kqread syz-executor.5 61618 334005 28839 0 3 0xc000090 fsleep syz-executor.5 50171 411794 4674 0 3 0x8000082 nanoslp syz-executor.2 * 9659 482501 48589 0 7 0x8000480 syz-executor.1 9659 32046 48589 0 3 0xc000080 kqread syz-executor.1 9659 4908 48589 0 3 0xc000080 fsleep syz-executor.1 72221 144970 4674 0 3 0x8000082 nanoslp syz-executor.4 11731 480411 1 0 3 0x18100083 ttyin getty 28839 436213 4674 0 3 0x8000082 nanoslp syz-executor.5 8277 42118 4674 0 3 0x8000082 nanoslp syz-executor.6 91857 88082 0 0 3 0x14200 acct acct 76904 78517 4674 0 3 0x8000082 nanoslp syz-executor.7 48589 370331 4674 0 3 0x8000082 nanoslp syz-executor.1 9312 483384 4674 0 2 0x8000002 syz-executor.0 61146 299432 4674 0 3 0x8000082 nanoslp syz-executor.3 80200 278956 0 0 3 0x14200 bored sosplice 4674 151449 18620 0 3 0x1a000082 wait syz-fuzzer 4674 34392 18620 0 3 0x1e000082 thrsleep syz-fuzzer 4674 132525 18620 0 3 0x1e000082 wait syz-fuzzer 4674 390485 18620 0 3 0x1e000082 thrsleep syz-fuzzer 4674 99521 18620 0 3 0x1e000082 wait syz-fuzzer 4674 13378 18620 0 3 0x1e000082 wait syz-fuzzer 4674 486021 18620 0 3 0x1e000082 wait syz-fuzzer 4674 42946 18620 0 3 0x1e000082 thrsleep syz-fuzzer 4674 37381 18620 0 3 0x1e000082 thrsleep syz-fuzzer 4674 476674 18620 0 3 0x1e000082 kqread syz-fuzzer 4674 135710 18620 0 3 0x1e000082 thrsleep syz-fuzzer 4674 57175 18620 0 3 0x1e000082 wait syz-fuzzer 4674 50202 18620 0 3 0x1e000082 wait syz-fuzzer 4674 280249 18620 0 3 0x1e000082 thrsleep syz-fuzzer 4674 401510 18620 0 3 0x1e000082 thrsleep syz-fuzzer 4674 390046 18620 0 3 0x1e000082 wait syz-fuzzer 18620 42818 46200 0 3 0x810008a sigsusp ksh 46200 199264 96584 0 3 0x1800009a kqread sshd 96584 363059 1 0 3 0x18000088 kqread sshd 70626 104478 95476 74 3 0x19100092 bpf pflogd 95476 368488 1 0 3 0x18000080 sbwait pflogd 7561 157977 95201 73 3 0x19100010 biowait syslogd 95201 107505 1 0 3 0x18100082 sbwait syslogd 67370 458084 1 0 3 0x18100080 kqread resolvd 83812 174532 72196 77 3 0x18100092 kqread dhcpleased 77471 36295 72196 77 3 0x18100092 kqread dhcpleased 72196 462249 1 0 3 0x18000080 kqread dhcpleased 64143 151898 0 0 3 0x14200 bored smr 71159 22080 0 0 2 0x14200 zerothread 48405 305925 0 0 3 0x14200 aiodoned aiodoned 9880 433762 0 0 3 0x14200 syncer update 73542 161147 0 0 3 0x14200 cleaner cleaner 89687 10879 0 0 3 0x14200 reaper reaper 51639 282864 0 0 3 0x14200 pgdaemon pagedaemon 8397 100275 0 0 3 0x14200 bored viomb 2587 301444 0 0 3 0x40014200 acpi0 acpi0 31531 409886 0 0 3 0x40014200 idle1 48279 112992 0 0 3 0x14200 bored softnet3 59006 34099 0 0 3 0x14200 bored softnet2 58320 10057 0 0 3 0x14200 bored softnet1 69364 80497 0 0 3 0x14200 bored softnet0 64632 65654 0 0 3 0x14200 bored systqmp 7217 117096 0 0 3 0x14200 bored systq 94497 161445 0 0 3 0x14200 tmoslp softclockmp 10806 150813 0 0 3 0x40014200 tmoslp softclock 72271 275667 0 0 3 0x40014200 idle0 1 331793 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 (0xffffffff82e229b0) #0 witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x446 sys/kern/subr_witness.c:1187 #1 sleep_finish+0x145 sys/kern/kern_synch.c:401 #2 sys_nanosleep+0x1f8 sys/kern/kern_time.c:297 #3 syscall+0x8cf mi_syscall sys/sys/syscall_mi.h:180 [inline] #3 syscall+0x8cf sys/arch/amd64/amd64/trap.c:577 #4 Xsyscall+0x128 Process 7561 (syslogd) thread 0xffff8000ffffd9b0 (157977) exclusive rrwlock inode r = 0 (0xfffffd806e7882c0) #0 witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x446 sys/kern/subr_witness.c:1187 #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:518 #4 vn_lock+0x85 sys/kern/vfs_vnops.c:564 #5 sys_fsync+0xf1 sys/kern/vfs_syscalls.c:2904 #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 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10208 6522K 6993K 166960K 14901 0 pcb 17 13K 14K 166960K 542 0 rtable 179 6K 7K 166960K 1322 0 pf 37 10K 10K 166960K 156 0 ifaddr 40 14K 15K 166960K 180 0 ifgroup 64 2K 2K 166960K 254 0 sysctl 4 1K 1K 166960K 12 0 counters 68 36K 36K 166960K 166 0 ioctlops 0 0K 4K 166960K 1636 0 iov 0 0K 32K 166960K 229 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1381 87K 88K 166960K 3428 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 80 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 295 0 dirhash 12 2K 3K 166960K 87 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 18 65K 93K 166960K 3165 0 sigio 0 0K 0K 166960K 52 0 proc 71 91K 128K 166960K 1528 0 subproc 117 7K 7K 166960K 435 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 476 0 in_multi 75 5K 7K 166960K 479 0 ether_multi 1 0K 0K 166960K 35 0 mrt 1 0K 0K 166960K 10 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 103 466K 466K 166960K 103 0 exec 0 0K 1K 166960K 1064 0 pfkey data 0 0K 0K 166960K 5 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 318 113K 122K 166960K 29384 0 UVM aobj 104 7K 7K 166960K 119 0 pinsyscall 42 84K 108K 166960K 5028 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 199 0 NDP 16 0K 1K 166960K 129 0 temp 80 6820K 7316K 166960K 85007 0 kqueue 15 24K 30K 166960K 467 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 344 0 341 1 0 1 1 0 8 0 rtentry 112 436 0 357 4 1 3 4 0 8 0 unpcb 144 2545 0 2528 12 11 1 6 0 8 0 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpqe 32 29 0 29 2 2 0 1 0 8 0 tcpcb 808 822 0 814 10 8 2 2 0 8 1 arp 120 79 0 65 1 0 1 1 0 8 0 inpcb 384 3299 0 3280 31 28 3 9 0 8 1 nd6 136 113 0 95 1 0 1 1 0 8 0 pkpcb 40 18 0 18 10 10 0 1 0 8 0 kcovpl 48 33 0 24 1 0 1 1 0 8 0 ppxss 1168 8 0 8 5 5 0 1 0 8 0 pffrag 232 28 0 25 1 0 1 1 0 482 0 pffrnode 88 28 0 25 1 0 1 1 0 8 0 pffrent 40 299 0 296 1 0 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 252 0 190 1 0 1 1 0 8 0 pfstkey 128 252 0 190 4 0 4 4 0 8 0 pfstate 376 252 0 190 10 0 10 10 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 1635 0 1268 34 11 23 29 0 8 0 art_table 32 1636 0 1268 4 1 3 4 0 8 0 art_node 16 430 0 358 1 0 1 1 0 8 0 sysvmsgpl 40 15 0 9 2 1 1 1 0 8 0 semapl 112 293 0 283 1 0 1 1 0 8 0 shmpl 112 116 0 15 4 1 3 3 0 8 0 dirhash 1024 67 0 50 3 0 3 3 0 8 0 dino2pl 256 6385 0 4856 96 0 96 96 0 8 0 ffsino 272 6385 0 4856 103 0 103 103 0 8 0 nchpl 144 11057 0 9308 67 0 67 67 0 8 0 uvmvnodes 80 7125 0 0 146 0 146 146 0 8 0 vnodes 216 7125 0 0 396 0 396 396 0 8 0 namei 1024 37938 0 37938 5 4 1 3 0 8 1 percpumem 16 97 0 49 1 0 1 1 0 8 0 vcpupl 3904 12 0 1 2 0 2 2 0 8 0 vmpool 696 15 0 4 2 0 2 2 0 8 0 kstatmem 264 126 0 98 2 0 2 2 0 8 0 scsiplug 72 17 0 17 8 7 1 1 0 8 1 scxspl 216 60357 0 60356 28 27 1 8 1 8 0 plimitpl 152 443 0 426 1 0 1 1 0 8 0 sigapl 424 3456 0 3404 10 4 6 9 0 8 0 futexpl 64 45864 0 45860 7 6 1 1 0 8 0 knotepl 120 721 0 0 17 0 17 17 0 8 0 kqueuepl 216 955 0 939 7 6 1 3 0 8 0 pipepl 320 544 0 516 3 0 3 3 0 8 0 fdescpl 496 3415 0 3384 5 0 5 5 0 8 0 filepl 152 21279 0 20997 27 15 12 16 0 8 0 lockfpl 104 957 0 954 1 0 1 1 0 8 0 lockfspl 48 379 0 376 1 0 1 1 0 8 0 sessionpl 144 54 0 36 1 0 1 1 0 8 0 pgrppl 48 87 0 69 1 0 1 1 0 8 0 ucredpl 104 3576 0 3562 1 0 1 1 0 8 0 zombiepl 144 3406 0 3404 1 0 1 1 0 8 0 processpl 1136 3456 0 3404 6 1 5 6 0 8 0 procpl 656 6898 0 6821 12 4 8 9 0 8 0 srpgc 96 8 0 8 4 4 0 1 0 8 0 sosppl 168 54 0 53 11 10 1 1 0 8 0 sockpl 664 6246 0 6208 36 31 5 14 0 8 1 mcl64k 65536 4 0 0 1 0 1 1 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 6 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k2 2112 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 413 0 0 46 1 45 46 0 8 0 mtagpl 96 39 0 0 1 0 1 1 0 8 0 mbufpl 256 1216 0 0 63 0 63 63 0 8 0 bufpl 280 13080 0 5714 527 0 527 527 0 8 0 anonpl 24 522845 0 516413 147 80 67 94 0 186 2 amapchunkpl 152 95499 0 94777 91 53 38 50 0 158 4 amappl16 200 11701 0 11555 47 33 14 21 0 8 0 amappl15 192 24 0 24 1 1 0 1 0 8 0 amappl14 184 259 0 245 2 1 1 2 0 8 0 amappl13 176 91 0 90 1 0 1 1 0 8 0 amappl12 168 4495 0 4463 3 1 2 2 0 8 0 amappl11 160 68 0 52 1 0 1 1 0 8 0 amappl10 152 61 0 51 1 0 1 1 0 8 0 amappl9 144 358 0 358 2 2 0 1 0 8 0 amappl8 136 220 0 177 2 0 2 2 0 8 0 amappl7 128 94 0 79 1 0 1 1 0 8 0 amappl6 120 724 0 706 2 1 1 2 0 8 0 amappl5 112 278 0 263 1 0 1 1 0 8 0 amappl4 104 786 0 746 3 1 2 3 0 8 0 amappl3 96 17579 0 17483 3 0 3 3 0 8 0 amappl2 88 3882 0 3802 4 2 2 4 0 8 0 amappl1 80 20641 0 20095 23 10 13 23 0 8 0 amappl 88 28421 0 28205 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 118 0 15 2 0 2 2 0 8 0 uaddrrnd 24 3430 0 3388 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3430 0 3388 1 0 1 1 0 8 0 vmmpekpl 168 26519 0 26453 4 0 4 4 0 8 0 vmmpepl 168 222127 0 220008 177 72 105 121 0 357 1 vmsppl 440 3429 0 3388 8 3 5 5 0 8 0 rwobjpl 56 63046 0 54594 126 6 120 120 0 8 0 pdppl 4096 6867 0 6787 236 153 83 83 0 8 3 pvpl 32 49090 0 0 397 1 396 396 0 265 0 pmappl 248 3429 0 3388 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 610 0 185 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 end of kernel end trace frame: 0x74fbcc2a45f0, count: -3