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 0xffffffff832cc000 end+0x2cc000 rsi 0xffff80002fae99d8 rbp 0 rbx 0 rdx 0 rcx 0xfffffd807eff3c98 rax 0x1b r8 0x8 r9 0 r10 0x77ae384f61fc480a r11 0x1c182a5a1f5003c0 r12 0xffff80002fae99d8 r13 0xffff80002a267000 r14 0 r15 0xffff8000ffffd490 rip 0xffffffff8105c1dc 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.4) tid=352573 pid=14678 tcnt=1 stat=onproc flags process=8000002 proc=0 runpri=17, usrpri=68, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff80002fadd9e8,0xffff80002fae8a88 process=0xffff800037386810 user=0xffff80002a267000, vmspace=0xfffffd806af118a8 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 5809 415728 22001 0 2 0x8000000 syz-executor.5 38086 520557 15533 0 2 0x8000000 syz-executor.3 38086 371854 15533 0 3 0xc000080 fsleep syz-executor.3 79544 427955 81632 0 2 0x8000000 syz-executor.1 79544 368336 81632 0 2 0xc000000 syz-executor.1 42940 489963 24471 0 2 0x8000000 syz-executor.6 42940 85835 24471 0 2 0xc000000 syz-executor.6 *14678 352573 4450 0 7 0x8000002 syz-executor.4 15533 192115 4450 0 3 0x8000082 nanoslp syz-executor.3 81632 195328 4450 0 3 0x8000082 nanoslp syz-executor.1 3447 275452 4450 0 3 0x8000082 nanoslp syz-executor.0 24471 61165 4450 0 3 0x8000082 nanoslp syz-executor.6 91920 18170 0 0 3 0x14280 nfsidl nfsio 75906 371272 0 0 3 0x14280 nfsidl nfsio 33349 102175 0 0 3 0x14280 nfsidl nfsio 85998 176428 0 0 3 0x14280 nfsidl nfsio 71951 40393 0 0 3 0x14280 nfsidl nfsio 75987 432662 0 0 3 0x14280 nfsidl nfsio 54858 127148 0 0 3 0x14280 nfsidl nfsio 21596 17874 0 0 3 0x14280 nfsidl nfsio 13083 101856 0 0 3 0x14280 nfsidl nfsio 70008 228310 0 0 3 0x14280 nfsidl nfsio 27855 467636 0 0 3 0x14280 nfsidl nfsio 14851 482770 0 0 3 0x14280 nfsidl nfsio 8557 227839 0 0 3 0x14280 nfsidl nfsio 87321 256503 0 0 3 0x14280 nfsidl nfsio 94094 460039 0 0 3 0x14280 nfsidl nfsio 57586 276257 0 0 3 0x14280 nfsidl nfsio 55547 383772 0 0 3 0x14280 nfsidl nfsio 41462 131710 0 0 3 0x14280 nfsidl nfsio 51740 390546 0 0 3 0x14280 nfsidl nfsio 68227 404483 0 0 3 0x14280 nfsidl nfsio 47131 209033 4450 0 3 0x8000002 biowait syz-executor.7 48826 291049 4450 0 2 0x8000002 syz-executor.2 22001 103250 4450 0 2 0x8000002 syz-executor.5 38935 97113 1 0 3 0x18100083 ttyin getty 39973 504483 0 0 3 0x14200 bored sosplice 4450 406750 36637 0 3 0x1a000082 wait syz-fuzzer 4450 186978 36637 0 2 0x1e000002 syz-fuzzer 4450 20438 36637 0 3 0x1e000082 wait syz-fuzzer 4450 166703 36637 0 3 0x1e000082 wait syz-fuzzer 4450 175648 36637 0 3 0x1e000082 wait syz-fuzzer 4450 513567 36637 0 3 0x1e000082 thrsleep syz-fuzzer 4450 389600 36637 0 3 0x1e000082 thrsleep syz-fuzzer 4450 81714 36637 0 3 0x1e000082 thrsleep syz-fuzzer 4450 218549 36637 0 3 0x1e000082 wait syz-fuzzer 4450 369164 36637 0 3 0x1e000082 thrsleep syz-fuzzer 4450 2466 36637 0 3 0x1e000082 thrsleep syz-fuzzer 4450 512906 36637 0 3 0x1e000082 wait syz-fuzzer 4450 314822 36637 0 3 0x1e000082 wait syz-fuzzer 4450 219014 36637 0 3 0x1e000082 kqread syz-fuzzer 4450 190230 36637 0 2 0x1e000002 syz-fuzzer 4450 277042 36637 0 3 0x1e000082 wait syz-fuzzer 36637 363545 91435 0 3 0x810008a sigsusp ksh 91435 337153 90192 0 3 0x1800009a kqread sshd 90192 66030 1 0 3 0x18000088 kqread sshd 5020 137407 91199 73 3 0x19100010 ffs_fsync syslogd 91199 130 1 0 3 0x18100082 sbwait syslogd 22346 229729 1 0 3 0x18100080 kqread resolvd 38377 465379 273 77 3 0x18100092 kqread dhcpleased 78517 121329 273 77 3 0x18100092 kqread dhcpleased 273 518067 1 0 3 0x18000080 kqread dhcpleased 67487 313865 0 0 3 0x14200 bored smr 72601 511004 0 0 2 0x14200 zerothread 19431 485371 0 0 3 0x14200 aiodoned aiodoned 20347 195354 0 0 3 0x14200 syncer update 81835 71317 0 0 3 0x14200 cleaner cleaner 63672 435570 0 0 3 0x14200 reaper reaper 97240 513161 0 0 3 0x14200 pgdaemon pagedaemon 71823 446815 0 0 3 0x14200 bored viomb 4172 342814 0 0 3 0x40014200 acpi0 acpi0 88971 222566 0 0 7 0x40014200 idle1 21277 455888 0 0 3 0x14200 bored softnet3 97504 82392 0 0 3 0x14200 bored softnet2 27140 407662 0 0 3 0x14200 bored softnet1 95533 32843 0 0 3 0x14200 bored softnet0 44217 172808 0 0 3 0x14200 bored systqmp 88670 394362 0 0 3 0x14200 bored systq 84489 298174 0 0 3 0x14200 tmoslp softclockmp 7311 27648 0 0 3 0x40014200 tmoslp softclock 75195 101426 0 0 3 0x40014200 idle0 1 60086 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 (0xffffffff82dae360) #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 vwaitforio+0xa9 sys/kern/vfs_subr.c:1922 #3 ffs_fsync+0x26d sys/ufs/ffs/ffs_vnops.c:482 #4 VOP_FSYNC+0xd2 sys/kern/vfs_vops.c:311 #5 sys_fsync+0x105 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 14678 (syz-executor.4) thread 0xffff80002fae99d8 (352573) Process 47131 (syz-executor.7) thread 0xffff80002fae8558 (209033) Process 5020 (syslogd) thread 0xffff8000ffffd490 (137407) ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10220 6470K 7000K 166960K 13540 0 pcb 17 16K 18K 166960K 315 0 rtable 214 16K 17K 166960K 1282 0 pf 43 11K 11K 166960K 179 0 ifaddr 48 15K 16K 166960K 202 0 ifgroup 78 3K 3K 166960K 293 0 sysctl 1 0K 1K 166960K 2 0 counters 78 38K 38K 166960K 192 0 ioctlops 0 0K 4K 166960K 1573 0 iov 0 0K 40K 166960K 112 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1435 90K 91K 166960K 2847 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 38 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 137 0 dirhash 12 2K 2K 166960K 57 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 14 49K 85K 166960K 1852 0 sigio 1 0K 0K 166960K 35 0 proc 58 79K 128K 166960K 1329 0 subproc 104 6K 7K 166960K 429 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 228 0 in_multi 75 5K 7K 166960K 453 0 ether_multi 1 0K 0K 166960K 22 0 mrt 1 0K 0K 166960K 4 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 91 413K 413K 166960K 91 0 exec 0 0K 1K 166960K 890 0 pfkey data 0 0K 0K 166960K 2 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 252 74K 96K 166960K 17629 0 UVM aobj 13 2K 2K 166960K 13 0 pinsyscall 34 68K 100K 166960K 3694 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 104 0 NDP 18 0K 1K 166960K 142 0 temp 74 6820K 6892K 166960K 65265 0 kqueue 12 18K 26K 166960K 238 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 214 0 211 1 0 1 1 0 8 0 rtentry 112 430 0 344 4 0 4 4 0 8 0 unpcb 144 1486 0 1473 8 7 1 6 0 8 0 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpqe 32 40 0 40 3 3 0 1 0 8 0 tcpcb 808 451 0 446 9 7 2 5 0 8 1 arp 120 77 0 56 1 0 1 1 0 8 0 inpcb 384 1855 0 1841 21 18 3 9 0 8 0 nd6 136 112 0 93 2 1 1 2 0 8 0 pkpcb 40 6 0 6 3 3 0 1 0 8 0 kcovpl 48 33 0 25 1 0 1 1 0 8 0 ppxss 1168 13 0 13 7 7 0 1 0 8 0 pffrag 232 16 0 13 2 1 1 1 0 482 0 pffrnode 88 13 0 11 2 1 1 1 0 8 0 pffrent 40 285 0 282 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 206 0 173 1 0 1 1 0 8 0 pfstkey 128 206 0 173 3 0 3 3 0 8 0 pfstate 376 206 0 173 9 1 8 8 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 1778 0 1434 39 16 23 29 0 8 0 art_table 32 1780 0 1435 4 0 4 4 0 8 0 art_node 16 426 0 351 1 0 1 1 0 8 0 sysvmsgpl 40 14 0 7 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 134 0 124 1 0 1 1 0 8 0 shmpl 112 10 0 0 1 0 1 1 0 8 0 dirhash 1024 47 0 30 3 0 3 3 0 8 0 dino2pl 256 4116 0 2591 96 0 96 96 0 8 0 ffsino 272 4116 0 2591 103 0 103 103 0 8 0 nchpl 144 6780 0 5044 67 0 67 67 0 8 0 uvmvnodes 80 5302 0 0 109 0 109 109 0 8 0 vnodes 216 5302 0 0 295 0 295 295 0 8 0 namei 1024 25437 0 25436 6 5 1 2 0 8 0 percpumem 16 110 0 57 1 0 1 1 0 8 0 vcpupl 3904 5 0 2 1 0 1 1 0 8 0 vmpool 696 12 0 9 1 0 1 1 0 8 0 kstatmem 264 150 0 114 3 0 3 3 0 8 0 scsiplug 72 6 0 6 4 4 0 1 0 8 0 scxspl 216 40000 0 39998 14 12 2 8 1 8 1 plimitpl 152 302 0 287 1 0 1 1 0 8 0 sigapl 424 2140 0 2075 9 1 8 8 0 8 0 futexpl 64 26972 0 26971 3 2 1 1 0 8 0 knotepl 120 613 0 0 18 0 18 18 0 8 0 kqueuepl 216 495 0 487 1 0 1 1 0 8 0 pipepl 320 404 0 376 3 0 3 3 0 8 0 fdescpl 496 2099 0 2074 8 4 4 5 0 8 0 filepl 152 13298 0 13059 24 13 11 16 0 8 0 lockfpl 104 394 0 392 1 0 1 1 0 8 0 lockfspl 48 183 0 181 1 0 1 1 0 8 0 sessionpl 144 49 0 33 1 0 1 1 0 8 0 pgrppl 48 71 0 55 1 0 1 1 0 8 0 ucredpl 104 2068 0 2056 1 0 1 1 0 8 0 zombiepl 144 2076 0 2075 1 0 1 1 0 8 0 processpl 1136 2140 0 2075 6 1 5 6 0 8 0 procpl 656 3875 0 3792 10 1 9 9 0 8 0 srpgc 96 18 0 18 6 6 0 1 0 8 0 sosppl 168 4 0 4 2 2 0 1 0 8 0 sockpl 664 3572 0 3546 33 29 4 15 0 8 1 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 364 0 0 39 0 39 39 0 8 0 mtagpl 96 17 0 0 1 0 1 1 0 8 0 mbufpl 256 1124 0 0 63 0 63 63 0 8 0 bufpl 280 10232 0 2515 552 0 552 552 0 8 0 anonpl 24 399625 0 393551 156 70 86 96 0 186 24 amapchunkpl 152 59068 0 58485 74 34 40 50 0 158 9 amappl16 200 9181 0 9045 48 34 14 22 0 8 2 amappl15 192 83 0 82 1 0 1 1 0 8 0 amappl14 184 249 0 238 2 1 1 2 0 8 0 amappl13 176 13 0 13 2 2 0 1 0 8 0 amappl12 168 3180 0 3151 2 0 2 2 0 8 0 amappl11 160 79 0 69 1 0 1 1 0 8 0 amappl10 152 67 0 59 1 0 1 1 0 8 0 amappl9 144 173 0 173 2 2 0 1 0 8 0 amappl8 136 194 0 154 2 0 2 2 0 8 0 amappl7 128 84 0 68 1 0 1 1 0 8 0 amappl6 120 664 0 648 2 1 1 2 0 8 0 amappl5 112 272 0 260 1 0 1 1 0 8 0 amappl4 104 733 0 698 2 0 2 2 0 8 0 amappl3 96 11162 0 11099 5 2 3 3 0 8 0 amappl2 88 2567 0 2496 3 1 2 3 0 8 0 amappl1 80 16519 0 16042 23 11 12 22 0 8 0 amappl 88 16762 0 16601 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 12 0 0 1 0 1 1 0 8 0 uaddrrnd 24 2111 0 2083 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2111 0 2083 1 0 1 1 0 8 0 vmmpekpl 168 18787 0 18730 4 1 3 4 0 8 0 vmmpepl 168 150650 0 148921 157 65 92 112 0 357 1 vmsppl 440 2110 0 2083 5 1 4 4 0 8 0 rwobjpl 56 46687 0 40325 101 10 91 92 0 8 0 pdppl 4096 4229 0 4169 198 135 63 76 0 8 3 pvpl 32 45572 0 0 369 1 368 368 0 265 0 pmappl 248 2110 0 2083 6 3 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 572 0 174 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 acpicpu_idle() at acpicpu_idle+0x2f1 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffff800029cebff0) at sched_idle+0x41d sys/kern/kern_sched.c:183 end trace frame: 0x0, count: -5