kernel: protection fault trap, code=0 Stopped at ktrops+0x4e: movq 0x8(%rbx),%r14 ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic the kernel did not panic ddb{0}> trace ktrops(ffff80002a2197f8,deadbeefdeadbeef,0,8000122c,fffffd806a8682e8,fffffd807f7d7680) at ktrops+0x4e ktrcanset sys/kern/kern_ktrace.c:718 [inline] ktrops(ffff80002a2197f8,deadbeefdeadbeef,0,8000122c,fffffd806a8682e8,fffffd807f7d7680) at ktrops+0x4e sys/kern/kern_ktrace.c:561 doktrace(fffffd806a8682e8,4,122c,0,ffff80002a2197f8) at doktrace+0x524 ktrsetchildren sys/kern/kern_ktrace.c:586 [inline] doktrace(fffffd806a8682e8,4,122c,0,ffff80002a2197f8) at doktrace+0x524 sys/kern/kern_ktrace.c:508 sys_ktrace(ffff80002a2197f8,ffff80002e6e6bd0,ffff80002e6e6b20) at sys_ktrace+0xd6 sys/kern/kern_ktrace.c:549 syscall(ffff80002e6e6bd0) at syscall+0x533 mi_syscall sys/sys/syscall_mi.h:183 [inline] syscall(ffff80002e6e6bd0) at syscall+0x533 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6f97e33ad30, count: -5 ddb{0}> show registers rdi 0xffff80002dc9d000 rsi 0x212f __ALIGN_SIZE+0x112f rbp 0xffff80002e6e68f0 rbx 0xdeadbeefdeadbeef rdx 0xffff80002dc9d000 rcx 0x212e __ALIGN_SIZE+0x112e rax 0xffffffff82609bb3 ktrops+0x43 r8 0xfffffd806a8682e8 r9 0xfffffd807f7d7680 r10 0xc89e46c09c4c1199 r11 0xfa53e8a48de9e84d r12 0xdeadbeefdeadbeef r13 0xfffffd807f7d7680 r14 0xffff80002a2197f8 r15 0x8000122c __kernel_virt_to_phys+0x122c rip 0xffffffff82609bbe ktrops+0x4e cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002e6e6870 ss 0x10 ktrops+0x4e: movq 0x8(%rbx),%r14 ddb{0}> show proc PROC (syz-executor.4) tid=98182 pid=7097 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=17, usrpri=84, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff80002a21a298,0xffff80002a17d580 process=0xffff8000ffff2398 user=0xffff80002e6e1000, vmspace=0xfffffd806b832558 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 310 126380 76226 0 2 0 syz-executor.6 310 102353 76226 0 2 0x4000000 syz-executor.6 80430 126607 2540 0 2 0 syz-executor.5 80430 307350 2540 0 3 0x4000080 fsleep syz-executor.5 7097 220334 18335 0 2 0 syz-executor.4 * 7097 98182 18335 0 7 0x4000000 syz-executor.4 43080 332929 80956 0 2 0 syz-executor.2 43080 1938 80956 0 2 0x4000000 syz-executor.2 49616 392949 28484 0 2 0 syz-executor.3 49616 351001 28484 0 2 0x4000000 syz-executor.3 99878 127432 62759 0 3 0x80 nanoslp syz-executor.7 99878 13959 62759 0 3 0x4000080 fsleep syz-executor.7 99878 301513 62759 0 2 0x4000000 syz-executor.7 99878 16073 62759 0 3 0x4000080 fsleep syz-executor.7 99057 463190 96617 0 3 0x80 nanoslp syz-executor.1 99057 396813 96617 0 3 0x4000080 piperd syz-executor.1 99057 380698 96617 0 3 0x4000080 piperd syz-executor.1 99057 283907 96617 0 3 0x4000080 fsleep syz-executor.1 62759 136605 26673 0 3 0x82 nanoslp syz-executor.7 76226 362412 26673 0 3 0x82 nanoslp syz-executor.6 96617 292793 26673 0 2 0x482 syz-executor.1 89337 140196 26673 0 2 0x2 syz-executor.0 2540 220546 26673 0 3 0x82 nanoslp syz-executor.5 18335 418999 26673 0 3 0x82 nanoslp syz-executor.4 80956 77845 26673 0 2 0x482 syz-executor.2 28484 70309 26673 0 3 0x82 nanoslp syz-executor.3 30126 355714 0 0 3 0x14280 nfsidl nfsio 40850 447421 0 0 3 0x14280 nfsidl nfsio 51951 455029 0 0 3 0x14280 nfsidl nfsio 99753 261870 0 0 3 0x14280 nfsidl nfsio 14071 300715 0 0 3 0x14280 nfsidl nfsio 77115 54176 0 0 3 0x14280 nfsidl nfsio 15022 185328 0 0 3 0x14280 nfsidl nfsio 50365 140569 0 0 3 0x14280 nfsidl nfsio 61225 412691 0 0 3 0x14280 nfsidl nfsio 86309 91753 0 0 3 0x14280 nfsidl nfsio 24302 258520 0 0 3 0x14280 nfsidl nfsio 71130 466445 0 0 3 0x14280 nfsidl nfsio 3769 204111 0 0 3 0x14280 nfsidl nfsio 6911 8801 0 0 3 0x14280 nfsidl nfsio 72464 177142 0 0 3 0x14280 nfsidl nfsio 59742 319721 0 0 3 0x14280 nfsidl nfsio 31419 10029 0 0 3 0x14280 nfsidl nfsio 23051 458945 0 0 3 0x14280 nfsidl nfsio 40811 5831 0 0 3 0x14280 nfsidl nfsio 86857 420531 0 0 3 0x14280 nfsidl nfsio 26673 514852 6040 0 2 0x2000082 syz-fuzzer 26673 399153 6040 0 2 0x6000082 syz-fuzzer 26673 327447 6040 0 3 0x6000082 thrsleep syz-fuzzer 26673 143953 6040 0 3 0x6000082 thrsleep syz-fuzzer 26673 480801 6040 0 3 0x6000082 wait syz-fuzzer 26673 448725 6040 0 3 0x6000082 wait syz-fuzzer 26673 59122 6040 0 3 0x6000082 wait syz-fuzzer 26673 347228 6040 0 3 0x6000082 thrsleep syz-fuzzer 26673 395738 6040 0 3 0x6000082 thrsleep syz-fuzzer 26673 337260 6040 0 3 0x6000082 wait syz-fuzzer 26673 128797 6040 0 3 0x6000082 thrsleep syz-fuzzer 26673 317816 6040 0 3 0x6000082 wait syz-fuzzer 26673 275229 6040 0 3 0x6000082 wait syz-fuzzer 26673 79098 6040 0 3 0x6000082 wait syz-fuzzer 26673 172218 6040 0 2 0x6000002 syz-fuzzer 26673 409242 6040 0 3 0x6000082 wait syz-fuzzer 6040 370350 95012 0 3 0x10008a sigsusp ksh 95012 100162 99651 0 7 0x12 sshd 8687 258259 1 0 3 0x100083 ttyin getty 99651 474742 1 0 3 0x88 kqread sshd 90506 292091 75211 74 3 0x1100092 bpf pflogd 75211 256383 1 0 3 0x80 netio pflogd 18041 479691 14490 73 3 0x1100090 kqread syslogd 14490 515428 1 0 3 0x100082 netio syslogd 63671 450496 1 0 3 0x100080 kqread resolvd 2131 136870 76069 77 3 0x100092 kqread dhcpleased 41306 345996 76069 77 3 0x100092 kqread dhcpleased 76069 63439 1 0 3 0x80 kqread dhcpleased 54603 117760 0 0 2 0x40014200 smr 78217 113967 0 0 2 0x14200 zerothread 36523 326059 0 0 3 0x14200 aiodoned aiodoned 69959 89586 0 0 3 0x14200 syncer update 10468 172297 0 0 3 0x14200 cleaner cleaner 87112 51304 0 0 3 0x14200 reaper reaper 38194 367144 0 0 3 0x14200 pgdaemon pagedaemon 92145 468558 0 0 3 0x14200 bored viomb 27457 186610 0 0 3 0x40014200 acpi0 acpi0 77598 395890 0 0 3 0x40014200 idle1 28459 232022 0 0 3 0x14200 bored softnet3 4276 169354 0 0 3 0x14200 bored softnet2 44817 168828 0 0 3 0x14200 bored softnet1 17499 403191 0 0 2 0x14200 softnet0 57748 60511 0 0 3 0x14200 bored systqmp 45663 116614 0 0 3 0x14200 bored systq 54273 267156 0 0 3 0x14200 tmoslp softclockmp 94321 92808 0 0 3 0x40014200 tmoslp softclock 56990 240225 0 0 3 0x40014200 idle0 1 373111 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 7097 (syz-executor.4) thread 0xffff80002a2197f8 (98182) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82e7a4c8) #0 witness_lock+0x447 #1 __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 #2 mi_switch+0x46f sys/kern/sched_bsd.c:470 #3 sleep_finish+0x19b sys/kern/kern_synch.c:414 #4 biowait+0x91 sys/kern/vfs_bio.c:1254 #5 bwrite+0x21c sys/kern/vfs_bio.c:766 #6 ffs_update+0x28b sys/ufs/ffs/ffs_inode.c:111 #7 ffs_truncate+0xa40 #8 ufs_inactive+0x157 sys/ufs/ufs/ufs_inode.c:84 #9 VOP_INACTIVE+0xc5 sys/kern/vfs_vops.c:489 #10 vrele+0xd3 sys/kern/vfs_subr.c:827 #11 ktrsettrace+0xb7 sys/kern/kern_ktrace.c:122 #12 ktrops+0x1a8 sys/kern/kern_ktrace.c:564 #13 doktrace+0x524 ktrsetchildren sys/kern/kern_ktrace.c:586 [inline] #13 doktrace+0x524 sys/kern/kern_ktrace.c:508 #14 sys_ktrace+0xd6 sys/kern/kern_ktrace.c:549 #15 syscall+0x533 mi_syscall sys/sys/syscall_mi.h:183 [inline] #15 syscall+0x533 sys/arch/amd64/amd64/trap.c:577 #16 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10235 6510K 6534K 166960K 25237 0 pcb 15 16K 21K 166960K 1918 0 rtable 234 6K 6K 166960K 686 0 pf 32 9K 10K 166960K 65 0 ifaddr 45 15K 15K 166960K 93 0 ifgroup 55 2K 2K 166960K 99 0 sysctl 3 0K 0K 166960K 3 0 counters 64 36K 36K 166960K 86 0 ioctlops 0 0K 4K 166960K 7986 0 iov 0 0K 8K 166960K 970 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1349 84K 84K 166960K 15596 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 13K 166960K 580 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 1136 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 17 61K 89K 166960K 64416 0 sigio 0 0K 0K 166960K 15 0 proc 68 91K 128K 166960K 835 0 subproc 104 6K 6K 166960K 247 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 in_multi 99 7K 7K 166960K 220 0 ether_multi 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 139 625K 625K 166960K 139 0 exec 0 0K 1K 166960K 533 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 355 81K 83K 166960K 564941 0 UVM aobj 131 4K 4K 166960K 133 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 NDP 12 0K 2K 166960K 61 0 temp 74 6772K 6900K 166960K 178406 0 kqueue 13 20K 32K 166960K 9395 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 59 0 56 1 0 1 1 0 8 0 rtentry 112 232 0 122 4 0 4 4 0 8 0 unpcb 144 44542 0 44458 229 225 4 10 0 8 0 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpqe 32 139 0 139 1 1 0 1 0 8 0 tcpcb 808 2464 0 2459 62 58 4 8 0 8 3 arp 120 40 0 22 1 0 1 1 0 8 0 inpcb 392 11938 0 11930 212 207 5 18 0 8 4 nd6 136 57 0 33 1 0 1 1 0 8 0 kcovpl 48 19 0 11 1 0 1 1 0 8 0 pffrag 232 18 0 18 2 2 0 1 0 482 0 pffrnode 88 14 0 14 2 2 0 1 0 8 0 pffrent 40 470 0 470 2 2 0 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 56 0 50 1 0 1 1 0 8 0 pfstkey 128 56 0 50 1 0 1 1 0 8 0 pfstate 376 56 0 50 5 3 2 3 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 940 0 484 33 4 29 29 0 8 0 art_table 32 941 0 484 4 0 4 4 0 8 0 art_node 16 231 0 131 1 0 1 1 0 8 0 semapl 112 1134 0 1124 1 0 1 1 0 8 0 shmpl 112 130 0 2 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 74816 0 73314 95 1 94 94 0 8 0 ffsino 272 74816 0 73314 103 2 101 101 0 8 0 nchpl 144 157088 0 155431 64 0 64 64 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 442352 0 442352 4 3 1 2 0 8 1 percpumem 16 57 0 11 1 0 1 1 0 8 0 kstatmem 264 46 0 22 2 0 2 2 0 8 0 scxspl 216 414698 0 414698 10 9 1 8 1 8 1 plimitpl 152 414 0 398 1 0 1 1 0 8 0 sigapl 424 64739 0 64671 10 2 8 8 0 8 0 futexpl 64 349197 0 349193 1 0 1 1 0 8 0 knotepl 120 248 0 0 4 0 4 4 0 8 0 kqueuepl 216 18612 0 18603 154 151 3 8 0 8 2 pipepl 320 8466 0 8437 154 151 3 13 0 8 0 fdescpl 496 64701 0 64671 5 1 4 5 0 8 0 filepl 152 289292 0 288840 303 285 18 23 0 8 0 lockfpl 104 12003 0 11968 15 14 1 2 0 8 0 lockfspl 48 5195 0 5160 1 0 1 1 0 8 0 sessionpl 144 35 0 18 1 0 1 1 0 8 0 pgrppl 48 4599 0 4582 1 0 1 1 0 8 0 ucredpl 104 30098 0 30086 1 0 1 1 0 8 0 zombiepl 144 64671 0 64671 1 0 1 1 0 8 1 processpl 1136 64739 0 64671 7 2 5 6 0 8 0 procpl 680 146553 0 146459 46 37 9 10 0 8 1 sockpl 584 56714 0 56619 459 452 7 20 0 8 0 mcl64k 65536 33 0 0 4 1 3 3 0 8 0 mcl16k 16384 33 0 0 4 1 3 3 0 8 0 mcl12k 12288 32 0 0 2 0 2 2 0 8 0 mcl9k 9216 36 0 0 4 2 2 2 0 8 0 mcl8k 8192 62 0 0 4 1 3 3 0 8 0 mcl4k 4096 33 0 0 4 1 3 3 0 8 0 mcl2k2 2112 16 0 0 2 0 2 2 0 8 0 mcl2k 2048 414 0 0 30 18 12 30 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 1381 0 0 20 8 12 17 0 8 0 bufpl 280 72078 0 65760 452 0 452 452 0 8 0 anonpl 24 6355935 0 6347376 166 80 86 102 0 186 0 amapchunkpl 152 1776463 0 1775695 132 99 33 34 0 158 2 amappl16 200 178812 0 178604 207 192 15 36 0 8 0 amappl15 192 19 0 19 2 2 0 1 0 8 0 amappl14 184 209 0 190 2 0 2 2 0 8 0 amappl13 176 22 0 21 1 0 1 1 0 8 0 amappl12 168 65599 0 65561 3 1 2 2 0 8 0 amappl11 160 56 0 42 1 0 1 1 0 8 0 amappl10 152 115 0 98 1 0 1 1 0 8 0 amappl9 144 267 0 264 1 0 1 1 0 8 0 amappl8 136 1168 0 1051 5 0 5 5 0 8 0 amappl7 128 275 0 248 2 0 2 2 0 8 0 amappl6 120 603 0 589 1 0 1 1 0 8 0 amappl5 112 1634 0 1623 1 0 1 1 0 8 0 amappl4 104 1107 0 1071 2 0 2 2 0 8 0 amappl3 96 356273 0 356175 4 1 3 3 0 8 0 amappl2 88 67475 0 67393 3 1 2 3 0 8 0 amappl1 80 223591 0 223026 24 11 13 23 0 8 0 amappl 88 564260 0 564037 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 132 0 2 3 0 3 3 0 8 0 uaddrrnd 24 64701 0 64671 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 64701 0 64671 1 0 1 1 0 8 0 vmmpekpl 168 371493 0 371435 3 0 3 3 0 8 0 vmmpepl 168 3568528 0 3566276 293 182 111 121 0 357 1 vmsppl 448 64700 0 64671 6 2 4 5 0 8 0 rwobjpl 56 819569 0 812137 118 9 109 112 0 8 0 pdppl 4096 129409 0 129342 1159 1090 69 81 0 8 2 pvpl 32 42620 0 0 346 2 344 344 0 265 0 pmappl 248 64700 0 64671 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 2041 0 1682 11 0 11 11 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace ktrops(ffff80002a2197f8,deadbeefdeadbeef,0,8000122c,fffffd806a8682e8,fffffd807f7d7680) at ktrops+0x4e ktrcanset sys/kern/kern_ktrace.c:718 [inline] ktrops(ffff80002a2197f8,deadbeefdeadbeef,0,8000122c,fffffd806a8682e8,fffffd807f7d7680) at ktrops+0x4e sys/kern/kern_ktrace.c:561 doktrace(fffffd806a8682e8,4,122c,0,ffff80002a2197f8) at doktrace+0x524 ktrsetchildren sys/kern/kern_ktrace.c:586 [inline] doktrace(fffffd806a8682e8,4,122c,0,ffff80002a2197f8) at doktrace+0x524 sys/kern/kern_ktrace.c:508 sys_ktrace(ffff80002a2197f8,ffff80002e6e6bd0,ffff80002e6e6b20) at sys_ktrace+0xd6 sys/kern/kern_ktrace.c:549 syscall(ffff80002e6e6bd0) at syscall+0x533 mi_syscall sys/sys/syscall_mi.h:183 [inline] syscall(ffff80002e6e6bd0) at syscall+0x533 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6f97e33ad30, count: -5 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(ffffffff82e7a2c0) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82e7a2c0) at __mp_lock+0x122 sys/kern/kern_lock.c:147 syscall(ffff80002a1be220) at syscall+0x8b1 mi_syscall_return sys/sys/syscall_mi.h:211 [inline] syscall(ffff80002a1be220) at syscall+0x8b1 sys/arch/amd64/amd64/trap.c:598 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x769f30840080, count: -6