kernel: protection fault trap, code=0 Stopped at ktrops+0x4f: movq 0x8(%r14),%r14 ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic the kernel did not panic ddb{1}> trace ktrops(ffff80002a20ca90,dead4110dead4110,0,80001020,fffffd8065fc6708,fffffd807f7d36e8) at ktrops+0x4f ktrcanset sys/kern/kern_ktrace.c:718 [inline] ktrops(ffff80002a20ca90,dead4110dead4110,0,80001020,fffffd8065fc6708,fffffd807f7d36e8) at ktrops+0x4f sys/kern/kern_ktrace.c:561 doktrace(fffffd8065fc6708,4,1020,0,ffff80002a20ca90) at doktrace+0x514 ktrsetchildren sys/kern/kern_ktrace.c:586 [inline] doktrace(fffffd8065fc6708,4,1020,0,ffff80002a20ca90) at doktrace+0x514 sys/kern/kern_ktrace.c:508 sys_ktrace(ffff80002a20ca90,ffff80002c8fdf10,ffff80002c8fde60) at sys_ktrace+0xd6 sys/kern/kern_ktrace.c:549 syscall(ffff80002c8fdf10) at syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline] syscall(ffff80002c8fdf10) at syscall+0x854 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2af2ab3e400, count: -5 ddb{1}> show registers rdi 0xffff800033972000 rsi 0x3246 __ALIGN_SIZE+0x2246 rbp 0xffff80002c8fdc30 rbx 0xfffffd807f7d36e8 rdx 0xffff800033972000 rcx 0x3245 __ALIGN_SIZE+0x2245 rax 0xffffffff82635d43 ktrops+0x43 r8 0xfffffd8065fc6708 r9 0xfffffd807f7d36e8 r10 0x92c87ee8d4f5dc04 r11 0xf5267d25ffac935 r12 0xffff80002a20ca90 r13 0xdead4110dead4110 r14 0xdead4110dead4110 r15 0x80001020 __kernel_virt_to_phys+0x1020 rip 0xffffffff82635d4f ktrops+0x4f cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002c8fdbb0 ss 0x10 ktrops+0x4f: movq 0x8(%r14),%r14 ddb{1}> show proc PROC (syz-executor.7) tid=238119 pid=86065 tcnt=2 stat=onproc flags process=8000010 proc=4000000 runpri=17, usrpri=86, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a20d9f0,0xffffffff82e15b10 process=0xffff80002d30e868 user=0xffff80002c8f8000, vmspace=0xfffffd806a947538 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 86065 176995 44724 60928 3 0x8000090 fsleep syz-executor.7 *86065 238119 44724 60928 7 0xc000010 syz-executor.7 55142 401521 1 0 3 0x8000080 fsleep syz-executor.4 55142 58783 1 0 3 0xc000080 kqread syz-executor.4 75694 241675 21841 0 3 0x8000080 fsleep syz-executor.1 75694 295140 21841 0 3 0xc000080 ttyout syz-executor.1 42538 202124 7013 0 3 0x8000080 fsleep syz-executor.5 42538 70467 7013 0 3 0xc000080 ttyin syz-executor.5 11406 42699 49811 0 3 0x8000080 fsleep syz-executor.2 11406 103528 49811 0 3 0xc000080 pipewr syz-executor.2 11406 111176 49811 0 3 0xc000080 fsleep syz-executor.2 40410 361413 67205 0 3 0x8000080 fsleep syz-executor.3 40410 362969 67205 0 3 0xc000080 sbwait syz-executor.3 60783 431917 67244 0 3 0x8000082 nanoslp syz-executor.0 21841 19427 67244 0 3 0x8000082 nanoslp syz-executor.1 49811 419250 67244 0 3 0x8000082 nanoslp syz-executor.2 88476 285345 1 0 3 0x18100083 ttyin getty 44724 336263 67244 0 3 0x8000082 nanoslp syz-executor.7 7013 52527 67244 0 3 0x8000082 nanoslp syz-executor.5 67205 215336 67244 0 3 0x8000082 nanoslp syz-executor.3 3144 273761 67244 0 3 0x8000082 nanoslp syz-executor.6 62032 302512 0 0 3 0x14280 nfsidl nfsio 40831 360901 0 0 3 0x14280 nfsidl nfsio 53563 14227 0 0 3 0x14280 nfsidl nfsio 17804 336988 0 0 3 0x14280 nfsidl nfsio 77283 521164 0 0 3 0x14280 nfsidl nfsio 11362 159982 0 0 3 0x14280 nfsidl nfsio 64459 480858 0 0 3 0x14280 nfsidl nfsio 90475 455886 0 0 3 0x14280 nfsidl nfsio 85510 347681 0 0 3 0x14280 nfsidl nfsio 27339 81262 0 0 3 0x14280 nfsidl nfsio 79396 14613 0 0 3 0x14280 nfsidl nfsio 72006 182206 0 0 3 0x14280 nfsidl nfsio 65052 57517 0 0 3 0x14280 nfsidl nfsio 79530 72631 0 0 3 0x14280 nfsidl nfsio 48573 479889 0 0 3 0x14280 nfsidl nfsio 74219 233340 0 0 3 0x14280 nfsidl nfsio 49497 62463 0 0 3 0x14280 nfsidl nfsio 2146 514726 0 0 3 0x14280 nfsidl nfsio 40799 41923 0 0 3 0x14280 nfsidl nfsio 82631 348394 0 0 3 0x14280 nfsidl nfsio 52470 128191 0 0 3 0x14200 bored sosplice 67244 145322 24735 0 3 0x1a000082 wait syz-fuzzer 67244 162812 24735 0 3 0x1e000082 nanoslp syz-fuzzer 67244 148133 24735 0 3 0x1e000082 thrsleep syz-fuzzer 67244 164401 24735 0 3 0x1e000082 wait syz-fuzzer 67244 317327 24735 0 3 0x1e000082 thrsleep syz-fuzzer 67244 192294 24735 0 3 0x1e000082 wait syz-fuzzer 67244 330510 24735 0 3 0x1e000082 wait syz-fuzzer 67244 363592 24735 0 3 0x1e000082 wait syz-fuzzer 67244 247904 24735 0 3 0x1e000082 thrsleep syz-fuzzer 67244 201661 24735 0 3 0x1e000082 wait syz-fuzzer 67244 95055 24735 0 3 0x1e000082 thrsleep syz-fuzzer 67244 210720 24735 0 3 0x1e000082 kqread syz-fuzzer 67244 102449 24735 0 3 0x1e000082 thrsleep syz-fuzzer 67244 404407 24735 0 3 0x1e000082 wait syz-fuzzer 67244 288684 24735 0 3 0x1e000082 thrsleep syz-fuzzer 67244 337216 24735 0 3 0x1e000082 thrsleep syz-fuzzer 24735 387388 88175 0 3 0x810008a sigsusp ksh 88175 212261 10491 0 3 0x1800009a kqread sshd 10491 522509 1 0 3 0x18000088 kqread sshd 23607 292662 47146 73 3 0x19100010 biowait syslogd 47146 112782 1 0 3 0x18100082 sbwait syslogd 99938 151595 1 0 3 0x18100080 kqread resolvd 28968 133278 64876 77 3 0x18100092 kqread dhcpleased 91918 339522 64876 77 3 0x18100092 kqread dhcpleased 64876 66469 1 0 3 0x18000080 kqread dhcpleased 69703 32982 0 0 3 0x14200 bored smr 15127 28886 0 0 3 0x14200 pgzero zerothread 9221 229392 0 0 3 0x14200 aiodoned aiodoned 46025 80743 0 0 3 0x14200 syncer update 14216 192330 0 0 3 0x14200 cleaner cleaner 70020 491579 0 0 3 0x14200 reaper reaper 8226 458031 0 0 3 0x14200 pgdaemon pagedaemon 47770 98514 0 0 3 0x14200 bored viomb 25547 146860 0 0 3 0x40014200 acpi0 acpi0 82015 345195 0 0 3 0x40014200 idle1 38726 83422 0 0 3 0x14200 bored softnet3 1757 323129 0 0 3 0x14200 bored softnet2 89444 147518 0 0 3 0x14200 bored softnet1 57711 320410 0 0 3 0x14200 bored softnet0 77128 492137 0 0 3 0x14200 bored systqmp 3014 421960 0 0 3 0x14200 bored systq 12535 192882 0 0 3 0x14200 tmoslp softclockmp 77795 224944 0 0 3 0x40014200 tmoslp softclock 45642 88401 0 0 7 0x40014200 idle0 1 118174 0 0 3 0x8000082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 86065 (syz-executor.7) thread 0xffff80002a20ca90 (238119) Process 23607 (syslogd) thread 0xffff8000ffffdc40 (292662) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10217 7083K 7884K 166960K 14047 0 pcb 17 12K 12K 166960K 235 0 rtable 169 7K 9K 166960K 1115 0 pf 32 9K 10K 166960K 156 0 ifaddr 39 14K 15K 166960K 170 0 ifgroup 57 2K 3K 166960K 242 0 sysctl 3 0K 0K 166960K 3 0 counters 66 36K 37K 166960K 170 0 ioctlops 0 0K 4K 166960K 1576 0 iov 0 0K 20K 166960K 101 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1379 87K 88K 166960K 2933 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 48 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 136 0 dirhash 12 2K 2K 166960K 57 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 16 57K 93K 166960K 1836 0 sigio 0 0K 0K 166960K 43 0 proc 58 79K 115K 166960K 1164 0 subproc 104 6K 7K 166960K 364 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 244 0 in_multi 73 5K 7K 166960K 372 0 ether_multi 1 0K 0K 166960K 15 0 mrt 1 0K 0K 166960K 6 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 115 519K 519K 166960K 115 0 exec 0 0K 1K 166960K 848 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 298 76K 96K 166960K 17814 0 UVM aobj 19 4K 4K 166960K 19 0 pinsyscall 36 72K 100K 166960K 3494 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 97 0 NDP 12 0K 2K 166960K 118 0 temp 75 6820K 7316K 166960K 52865 0 kqueue 12 18K 30K 166960K 287 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> 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 231 0 228 1 0 1 1 0 8 0 rtentry 112 381 0 308 4 1 3 4 0 8 0 unpcb 144 1432 0 1415 4 3 1 4 0 8 0 syncache 336 7 0 7 4 4 0 1 0 8 0 tcpqe 32 23 0 23 2 2 0 1 0 8 0 tcpcb 808 542 0 537 12 11 1 8 0 8 0 arp 120 69 0 55 1 0 1 1 0 8 0 inpcb 384 1780 0 1771 17 15 2 8 0 8 0 nd6 136 89 0 71 1 0 1 1 0 8 0 pkpcb 40 12 0 12 5 5 0 1 0 8 0 kcovpl 48 28 0 20 1 0 1 1 0 8 0 ppxss 1168 17 0 17 4 4 0 1 0 8 0 pffrag 232 13 0 10 1 0 1 1 0 482 0 pffrnode 88 12 0 9 1 0 1 1 0 8 0 pffrent 40 105 0 102 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 137 0 107 1 0 1 1 0 8 0 pfstkey 128 137 0 107 2 0 2 2 0 8 0 pfstate 376 137 0 107 5 0 5 5 0 8 1 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 1445 0 1094 36 13 23 29 0 8 0 art_table 32 1447 0 1095 4 0 4 4 0 8 0 art_node 16 372 0 306 1 0 1 1 0 8 0 sysvmsgpl 40 21 0 13 2 1 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 133 0 123 1 0 1 1 0 8 0 shmpl 112 16 0 0 1 0 1 1 0 8 0 dirhash 1024 47 0 30 3 0 3 3 0 8 0 dino2pl 256 4350 0 2826 96 0 96 96 0 8 0 ffsino 272 4350 0 2826 103 0 103 103 0 8 0 nchpl 144 7137 0 5393 67 0 67 67 0 8 0 uvmvnodes 80 5561 0 0 114 0 114 114 0 8 0 vnodes 216 5561 0 0 309 0 309 309 0 8 0 namei 1024 25888 0 25888 3 2 1 2 0 8 1 percpumem 16 99 0 52 1 0 1 1 0 8 0 vcpupl 3904 5 0 0 1 0 1 1 0 8 0 vmpool 696 16 0 11 2 1 1 1 0 8 0 kstatmem 264 128 0 104 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 216 36103 0 36102 16 15 1 8 1 8 0 plimitpl 152 426 0 408 1 0 1 1 0 8 0 sigapl 424 2126 0 2059 9 1 8 8 0 8 0 futexpl 64 28342 0 28335 3 2 1 1 0 8 0 knotepl 120 428 0 0 11 0 11 11 0 8 0 kqueuepl 216 555 0 546 2 1 1 2 0 8 0 pipepl 320 423 0 394 3 0 3 3 0 8 0 fdescpl 496 2085 0 2058 5 1 4 5 0 8 0 filepl 152 13714 0 13456 21 9 12 15 0 8 0 lockfpl 104 647 0 644 1 0 1 1 0 8 0 lockfspl 48 282 0 279 1 0 1 1 0 8 0 sessionpl 144 45 0 29 1 0 1 1 0 8 0 pgrppl 48 78 0 62 1 0 1 1 0 8 0 ucredpl 104 2309 0 2296 1 0 1 1 0 8 0 zombiepl 144 2061 0 2059 2 1 1 1 0 8 0 processpl 1144 2126 0 2059 7 1 6 6 0 8 0 procpl 656 3970 0 3881 11 2 9 9 0 8 0 srpgc 96 31 0 31 7 7 0 1 0 8 0 sosppl 168 6 0 6 2 2 0 1 0 8 0 sockpl 664 3475 0 3446 22 18 4 9 0 8 1 mcl64k 65536 15 0 0 2 0 2 2 0 8 0 mcl16k 16384 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 346 0 0 44 0 44 44 0 8 0 mtagpl 96 20 0 0 1 0 1 1 0 8 0 mbufpl 256 367 0 0 23 0 23 23 0 8 0 bufpl 280 11594 0 5082 466 0 466 466 0 8 0 anonpl 24 360573 0 354229 132 43 89 92 0 186 25 amapchunkpl 152 56479 0 55767 71 26 45 46 0 158 12 amappl16 200 9163 0 9007 40 22 18 23 0 8 4 amappl15 192 22 0 22 2 2 0 1 0 8 0 amappl14 184 247 0 235 2 1 1 2 0 8 0 amappl13 176 17 0 17 1 1 0 1 0 8 0 amappl12 168 3080 0 3048 3 1 2 2 0 8 0 amappl11 160 55 0 44 1 0 1 1 0 8 0 amappl10 152 105 0 95 1 0 1 1 0 8 0 amappl9 144 178 0 177 1 0 1 1 0 8 0 amappl8 136 217 0 183 2 0 2 2 0 8 0 amappl7 128 63 0 46 1 0 1 1 0 8 0 amappl6 120 577 0 564 2 1 1 2 0 8 0 amappl5 112 238 0 226 1 0 1 1 0 8 0 amappl4 104 715 0 680 3 1 2 3 0 8 0 amappl3 96 11321 0 11234 3 0 3 3 0 8 0 amappl2 88 2536 0 2466 4 2 2 4 0 8 0 amappl1 80 16076 0 15586 22 10 12 22 0 8 0 amappl 88 16973 0 16772 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 18 0 0 1 0 1 1 0 8 0 uaddrrnd 24 2101 0 2069 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2101 0 2069 1 0 1 1 0 8 0 vmmpekpl 168 18142 0 18064 4 0 4 4 0 8 0 vmmpepl 168 149405 0 147508 152 58 94 118 0 357 2 vmsppl 440 2100 0 2069 4 0 4 4 0 8 0 rwobjpl 56 46227 0 39526 99 4 95 97 0 8 0 pdppl 4096 4209 0 4143 159 89 70 79 0 8 4 pvpl 32 49229 0 0 398 0 398 398 0 265 0 pmappl 248 2100 0 2069 4 1 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 497 0 126 12 0 12 12 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff82d37ff0) 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(ffffffff82e59e60) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82e59e60) at __mp_lock+0x133 sys/kern/kern_lock.c:147 intr_handler(ffff80002a105da0,ffff80000006bc00) at intr_handler+0x62 sys/arch/amd64/amd64/intr.c:539 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f acpicpu_idle() at acpicpu_idle+0x2f1 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffffffff82d37ff0) at sched_idle+0x41d sys/kern/kern_sched.c:183 end trace frame: 0x0, count: -8 ddb{0}> machine ddbcpu 1 Stopped at ktrops+0x4f: movq 0x8(%r14),%r14 ddb{1}> trace ktrops(ffff80002a20ca90,dead4110dead4110,0,80001020,fffffd8065fc6708,fffffd807f7d36e8) at ktrops+0x4f ktrcanset sys/kern/kern_ktrace.c:718 [inline] ktrops(ffff80002a20ca90,dead4110dead4110,0,80001020,fffffd8065fc6708,fffffd807f7d36e8) at ktrops+0x4f sys/kern/kern_ktrace.c:561 doktrace(fffffd8065fc6708,4,1020,0,ffff80002a20ca90) at doktrace+0x514 ktrsetchildren sys/kern/kern_ktrace.c:586 [inline] doktrace(fffffd8065fc6708,4,1020,0,ffff80002a20ca90) at doktrace+0x514 sys/kern/kern_ktrace.c:508 sys_ktrace(ffff80002a20ca90,ffff80002c8fdf10,ffff80002c8fde60) at sys_ktrace+0xd6 sys/kern/kern_ktrace.c:549 syscall(ffff80002c8fdf10) at syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline] syscall(ffff80002c8fdf10) at syscall+0x854 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2af2ab3e400, count: -5