kernel: protection fault trap, code=0 Stopped at ktrops+0x58: 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(ffff8000371cd708,deaf4152deaf4152,0,80000012,fffffd805f683b28,fffffd807f7d33a8) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:718 [inline] ktrops(ffff8000371cd708,deaf4152deaf4152,0,80000012,fffffd805f683b28,fffffd807f7d33a8) at ktrops+0x58 sys/kern/kern_ktrace.c:561 doktrace(fffffd805f683b28,4,12,0,ffff8000371cd708) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:586 [inline] doktrace(fffffd805f683b28,4,12,0,ffff8000371cd708) at doktrace+0x6dd sys/kern/kern_ktrace.c:508 sys_ktrace(ffff8000371cd708,ffff80003721b660,ffff80003721b5b0) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:549 syscall(ffff80003721b660) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80003721b660) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7df91c5e140, count: -5 ddb{1}> show registers rdi 0xffff80002ad6b000 rsi 0x2f26 __ALIGN_SIZE+0x1f26 rbp 0xffff80003721b380 rbx 0xfffffd807f7d33a8 rdx 0xffff80002ad6b000 rcx 0x2f25 __ALIGN_SIZE+0x1f25 rax 0xffffffff81edbeb3 ktrops+0x43 r8 0xfffffd805f683b28 r9 0xfffffd807f7d33a8 r10 0x1dc6cd4fcebd6347 r11 0x95eeda3fd87e0570 r12 0xffff8000371cd708 r13 0xdeaf4152deaf4152 r14 0xdeaf4152deaf4152 r15 0x80000012 __kernel_virt_to_phys+0x12 rip 0xffffffff81edbec8 ktrops+0x58 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003721b300 ss 0x10 ktrops+0x58: movq 0x8(%r14),%r14 ddb{1}> show proc PROC (syz-executor) tid=413993 pid=9855 tcnt=4 stat=onproc flags process=8000000 proc=4000000 runpri=17, usrpri=82, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000371cc040,0xffff800032d9b200 process=0xffff800037289fb0 user=0xffff800037216000, vmspace=0xfffffd806c38fc20 estcpu=32, cpticks=22, pctcpu=0.83, user=0, sys=105, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 39604 273997 4781 0 2 0x8000000 syz-executor 39604 72840 4781 0 3 0xc000080 fsleep syz-executor 39604 157493 4781 0 3 0xc000080 fsleep syz-executor 9855 287852 18066 0 3 0x8000080 nanoslp syz-executor * 9855 413993 18066 0 7 0xc000000 syz-executor 9855 28792 18066 0 3 0xc000080 ttyout syz-executor 9855 37368 18066 0 3 0xc000080 fsleep syz-executor 18066 429059 1838 0 3 0x8000082 nanoslp syz-executor 15248 154995 0 0 3 0x14280 nfsidl nfsio 88455 233790 0 0 3 0x14280 nfsidl nfsio 28406 409368 0 0 3 0x14280 nfsidl nfsio 19154 235842 0 0 3 0x14280 nfsidl nfsio 32116 309132 0 0 3 0x14280 nfsidl nfsio 20692 98991 0 0 3 0x14280 nfsidl nfsio 31218 344821 0 0 3 0x14280 nfsidl nfsio 97537 241798 0 0 3 0x14280 nfsidl nfsio 36675 320592 0 0 3 0x14280 nfsidl nfsio 61656 419128 0 0 3 0x14280 nfsidl nfsio 65288 156884 0 0 3 0x14280 nfsidl nfsio 31201 515908 0 0 3 0x14280 nfsidl nfsio 90964 403083 0 0 3 0x14280 nfsidl nfsio 56588 181996 0 0 3 0x14280 nfsidl nfsio 15013 473624 0 0 3 0x14280 nfsidl nfsio 36441 132943 0 0 3 0x14280 nfsidl nfsio 82703 108509 0 0 3 0x14280 nfsidl nfsio 56184 306719 0 0 3 0x14280 nfsidl nfsio 27903 465093 0 0 3 0x14280 nfsidl nfsio 72976 98691 0 0 3 0x14280 nfsidl nfsio 24964 183822 0 0 3 0x14200 acct acct 64203 438302 1838 0 2 0x8000002 syz-executor 69915 144050 1838 0 3 0x8000082 piperd syz-executor 4781 30357 1838 0 3 0x8000082 nanoslp syz-executor 19919 26816 1838 0 7 0x8000002 syz-executor 19518 232084 1838 0 2 0x8000002 syz-executor 41489 267791 1838 0 3 0x8000082 piperd syz-executor 40228 407596 0 0 3 0x14200 bored sosplice 81506 507108 1 0 3 0x18100083 ttyopn getty 1838 215312 98919 0 3 0x8000082 wait syz-executor 98919 421413 91633 0 3 0x810008a sigsusp ksh 91633 166110 6931 0 3 0x18000098 kqread sshd-session 6931 394713 98275 0 3 0x18000092 kqread sshd-session 98275 375658 1 0 3 0x18000088 kqread sshd 62972 207459 88646 74 3 0x19100092 bpf pflogd 88646 183369 1 0 3 0x18000080 sbwait pflogd 39743 458683 37112 73 3 0x19100010 ffs_fsync syslogd 37112 339776 1 0 3 0x18100082 sbwait syslogd 92968 366009 1 0 3 0x18100080 kqread resolvd 47917 299336 48210 77 3 0x18100092 kqread dhcpleased 64199 406211 48210 77 3 0x18100092 kqread dhcpleased 48210 13657 1 0 3 0x18000080 kqread dhcpleased 20961 66064 0 0 3 0x14200 pause smr 66579 249821 0 0 2 0x14200 zerothread 44854 71456 0 0 3 0x14200 aiodoned aiodoned 10295 165264 0 0 3 0x14200 syncer update 65735 436289 0 0 3 0x14200 cleaner cleaner 36025 156125 0 0 3 0x14200 reaper reaper 46718 301082 0 0 3 0x14200 pgdaemon pagedaemon 78743 175099 0 0 3 0x14200 bored viomb 77273 234821 0 0 3 0x40014200 acpi0 acpi0 78578 35010 0 0 3 0x40014200 idle1 58110 460912 0 0 3 0x14200 bored softnet3 7640 279068 0 0 3 0x14200 bored softnet2 62233 1734 0 0 3 0x14200 bored softnet1 36943 166628 0 0 3 0x14200 bored softnet0 57112 283327 0 0 3 0x14200 bored systqmp 19386 245577 0 0 3 0x14200 bored systq 28097 440632 0 0 3 0x14200 tmoslp softclockmp 70160 103219 0 0 3 0x40014200 tmoslp softclock 83841 407911 0 0 3 0x40014200 idle0 1 310619 0 0 3 0x8000082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 9855 (syz-executor) thread 0xffff8000371cd708 (413993) Process 64203 (syz-executor) thread 0xffff800032d9cf58 (438302) Process 19919 (syz-executor) thread 0xffff800032d9c2b0 (26816) Process 19518 (syz-executor) thread 0xffff800032d9dc00 (232084) Process 39743 (syslogd) thread 0xffff8000ffffdbe8 (458683) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10202 10171K 10698K 166960K 13289 0 pcb 17 16K 18K 166960K 328 0 rtable 224 7K 8K 166960K 1457 0 pf 32 9K 10K 166960K 175 0 ifaddr 44 16K 16K 166960K 206 0 ifgroup 55 2K 2K 166960K 259 0 sysctl 1 0K 1K 166960K 2 0 counters 64 36K 36K 166960K 170 0 ioctlops 0 0K 4K 166960K 1654 0 iov 0 0K 16K 166960K 196 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1419 89K 89K 166960K 2849 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 13K 166960K 33 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 107 0 dirhash 12 2K 2K 166960K 39 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 12 41K 89K 166960K 1655 0 sigio 0 0K 0K 166960K 22 0 proc 70 91K 128K 166960K 1565 0 subproc 104 6K 6K 166960K 533 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 183 0 in_multi 96 7K 7K 166960K 491 0 ether_multi 1 0K 0K 166960K 8 0 mrt 0 0K 0K 166960K 4 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 1073 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 203 104K 124K 166960K 15565 0 UVM aobj 76 7K 7K 166960K 79 0 pinsyscall 37 74K 104K 166960K 3596 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 63 0 NDP 12 0K 2K 166960K 147 0 temp 75 6816K 14751K 166960K 58324 0 kqueue 13 20K 26K 166960K 168 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 292 0 289 3 2 1 3 0 8 0 rtentry 112 495 0 393 4 0 4 4 0 8 0 unpcb 144 1338 0 1318 12 10 2 6 0 8 1 syncache 336 21 0 21 4 4 0 1 0 8 0 tcpcb 808 859 0 854 29 16 13 14 0 8 12 arp 120 86 0 68 1 0 1 1 0 8 0 inpcb 384 2289 0 2279 30 20 10 15 0 8 8 nd6 136 132 0 104 1 0 1 1 0 8 0 pkpcb 40 4 0 4 2 2 0 1 0 8 0 kcovpl 48 41 0 33 1 0 1 1 0 8 0 ppxss 1168 9 0 9 4 3 1 1 0 8 1 pffrag 232 11 0 7 1 0 1 1 0 482 0 pffrnode 88 10 0 6 1 0 1 1 0 8 0 pffrent 40 17 0 13 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 108 0 73 1 0 1 1 0 8 0 pfstkey 128 108 0 73 2 0 2 2 0 8 0 pfstate 376 108 0 73 6 1 5 5 0 8 0 pfrule 1344 31 0 26 2 0 2 2 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 2024 0 1562 38 9 29 30 0 8 0 art_table 32 2025 0 1562 4 0 4 4 0 8 0 art_node 16 491 0 400 1 0 1 1 0 8 0 sysvmsgpl 40 17 0 10 1 0 1 1 0 8 0 semapl 112 104 0 94 1 0 1 1 0 8 0 shmpl 112 76 0 3 3 0 3 3 0 8 0 dirhash 1024 35 0 18 3 0 3 3 0 8 0 dino2pl 256 3659 0 2090 99 0 99 99 0 8 0 ffsino 272 3660 0 2090 106 0 106 106 0 8 0 nchpl 144 5482 0 3734 65 0 65 65 0 8 0 uvmvnodes 80 4813 0 0 99 0 99 99 0 8 0 vnodes 216 4813 0 0 268 0 268 268 0 8 0 namei 1024 23777 0 23776 4 3 1 2 0 8 0 percpumem 16 99 0 53 1 0 1 1 0 8 0 vcpupl 3904 2 0 0 1 0 1 1 0 8 0 vmpool 696 9 0 7 5 4 1 1 0 8 0 kstatmem 264 130 0 106 2 0 2 2 0 8 0 scsiplug 72 6 0 6 4 3 1 1 0 8 1 scxspl 216 25350 0 25349 16 15 1 8 1 8 0 plimitpl 152 748 0 730 1 0 1 1 0 8 0 sigapl 424 1914 0 1848 11 2 9 9 0 8 0 futexpl 64 20149 0 20146 3 2 1 1 0 8 0 knotepl 120 524 0 0 17 1 16 17 0 8 0 kqueuepl 216 464 0 455 3 2 1 3 0 8 0 pipepl 320 412 0 385 8 5 3 8 0 8 0 fdescpl 496 1873 0 1847 6 1 5 5 0 8 0 filepl 152 13498 0 13245 32 14 18 18 0 8 6 lockfpl 104 538 0 536 1 0 1 1 0 8 0 lockfspl 48 205 0 203 1 0 1 1 0 8 0 sessionpl 144 56 0 47 1 0 1 1 0 8 0 pgrppl 48 115 0 98 1 0 1 1 0 8 0 ucredpl 104 2160 0 2146 1 0 1 1 0 8 0 zombiepl 144 1849 0 1848 1 0 1 1 0 8 0 processpl 1152 1914 0 1848 7 1 6 6 0 8 0 procpl 648 3816 0 3745 9 1 8 8 0 8 0 srpgc 96 6 0 6 3 3 0 1 0 8 0 sosppl 168 7 0 7 3 3 0 1 0 8 0 sockpl 664 3935 0 3902 37 25 12 15 0 8 8 mcl64k 65536 8 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 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 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 247 0 0 31 0 31 31 0 8 0 mtagpl 96 18 0 0 1 0 1 1 0 8 0 mbufpl 256 4638 0 0 288 0 288 288 0 8 0 bufpl 280 7382 0 1210 442 0 442 442 0 8 0 anonpl 24 328769 0 325573 66 16 50 52 0 185 15 amapchunkpl 152 50696 0 50318 40 11 29 34 0 158 9 amappl16 200 7386 0 7366 37 30 7 14 0 8 3 amappl15 192 11 0 11 1 1 0 1 0 8 0 amappl14 184 192 0 180 1 0 1 1 0 8 0 amappl13 176 6 0 6 1 1 0 1 0 8 0 amappl12 168 3047 0 3021 3 1 2 2 0 8 0 amappl11 160 54 0 40 1 0 1 1 0 8 0 amappl10 152 18 0 18 1 1 0 1 0 8 0 amappl9 144 144 0 144 1 1 0 1 0 8 0 amappl8 136 26 0 24 1 0 1 1 0 8 0 amappl7 128 184 0 170 1 0 1 1 0 8 0 amappl6 120 501 0 499 1 0 1 1 0 8 0 amappl5 112 269 0 258 1 0 1 1 0 8 0 amappl4 104 416 0 398 1 0 1 1 0 8 0 amappl3 96 10040 0 9951 4 0 4 4 0 8 0 amappl2 88 1087 0 1022 2 0 2 2 0 8 0 amappl1 80 14305 0 13734 14 1 13 14 0 8 0 amappl 88 14864 0 14726 5 0 5 5 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 78 0 3 2 0 2 2 0 8 0 uaddrrnd 24 1883 0 1855 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1883 0 1855 1 0 1 1 0 8 0 vmmpekpl 168 16902 0 16847 3 0 3 3 0 8 0 vmmpepl 168 121295 0 119660 108 16 92 97 0 357 6 vmsppl 440 1882 0 1855 6 2 4 5 0 8 0 rwobjpl 56 41355 0 35559 83 0 83 83 0 8 0 pdppl 4096 3773 0 3712 153 84 69 83 0 8 8 pvpl 32 28838 0 0 233 0 233 233 0 265 0 pmappl 248 1882 0 1855 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 767 0 121 19 0 19 19 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff834a2ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff83564540) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff83564540) at __mp_lock+0x192 sys/kern/kern_lock.c:144 __mp_acquire_count(ffffffff83564540,1) at __mp_acquire_count+0x58 mi_switch() at mi_switch+0x658 sys/kern/sched_bsd.c:460 sleep_finish(0,1) at sleep_finish+0x229 sys/kern/kern_synch.c:416 getblk(fffffd807ec0b5e8,195340,4000,0,ffffffffffffffff) at getblk+0x197 sys/kern/vfs_bio.c:1025 bread(fffffd807ec0b5e8,195340,4000,ffff80002a09e428) at bread+0x47 bio_doread sys/kern/vfs_bio.c:430 [inline] bread(fffffd807ec0b5e8,195340,4000,ffff80002a09e428) at bread+0x47 sys/kern/vfs_bio.c:475 ffs_update(fffffd8067660770,0) at ffs_update+0x198 sys/ufs/ffs/ffs_inode.c:91 ufs_inactive(ffff80002a09e4e8) at ufs_inactive+0x309 sys/ufs/ufs/ufs_inode.c:103 VOP_INACTIVE(fffffd805f6838a0,ffff800032d9c2b0) at VOP_INACTIVE+0x107 sys/kern/vfs_vops.c:495 vput(fffffd805f6838a0) at vput+0xe5 sys/kern/vfs_subr.c:799 vn_closefile(fffffd806a3801e8,ffff800032d9c2b0) at vn_closefile+0x13f sys/kern/vfs_vnops.c:610 fdrop(fffffd806a3801e8,ffff800032d9c2b0) at fdrop+0x126 sys/kern/kern_descrip.c:1274 closef(fffffd806a3801e8,ffff800032d9c2b0) at closef+0x192 sys/kern/kern_descrip.c:1258 syscall(ffff80002a09e760) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a09e760) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x70d8fb64f3e0, count: -18 ddb{0}> machine ddbcpu 1 Stopped at ktrops+0x58: movq 0x8(%r14),%r14 ddb{1}> trace ktrops(ffff8000371cd708,deaf4152deaf4152,0,80000012,fffffd805f683b28,fffffd807f7d33a8) at ktrops+0x58 ktrcanset sys/kern/kern_ktrace.c:718 [inline] ktrops(ffff8000371cd708,deaf4152deaf4152,0,80000012,fffffd805f683b28,fffffd807f7d33a8) at ktrops+0x58 sys/kern/kern_ktrace.c:561 doktrace(fffffd805f683b28,4,12,0,ffff8000371cd708) at doktrace+0x6dd ktrsetchildren sys/kern/kern_ktrace.c:586 [inline] doktrace(fffffd805f683b28,4,12,0,ffff8000371cd708) at doktrace+0x6dd sys/kern/kern_ktrace.c:508 sys_ktrace(ffff8000371cd708,ffff80003721b660,ffff80003721b5b0) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:549 syscall(ffff80003721b660) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80003721b660) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7df91c5e140, count: -5