kernel: protection fault trap, code=0 Stopped at sblock+0x4a: movq 0x8(%rax),%rax ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic the kernel did not panic ddb> trace sblock(fffffd8076607040,fffffd8076607158,1) at sblock+0x4a soassertlocked sys/kern/uipc_socket2.c:323 [inline] sblock(fffffd8076607040,fffffd8076607158,1) at sblock+0x4a sys/kern/uipc_socket2.c:378 sosend(fffffd8076607040,0,ffff80002162dae0,0,0,0) at sosend+0x280 sys/kern/uipc_socket.c:527 fifo_write(ffff80002162da30) at fifo_write+0x7c sys/miscfs/fifofs/fifo_vnops.c:288 VOP_WRITE(fffffd806927ac08,ffff80002162dae0,3,fffffd807f7d8420) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002160f270,fffffd806927ac08,fffffd807f7d8420,ffff80002162dc48,ffff80002162dc20) at ktrwriteraw+0x13d sys/kern/kern_ktrace.c:666 ktrpsig(ffff80002160f270,14,46f4e0,0,0,ffff80002162dd18) at ktrpsig+0x1a1 ktrwrite sys/kern/kern_ktrace.c:609 [inline] ktrpsig(ffff80002160f270,14,46f4e0,0,0,ffff80002162dd18) at ktrpsig+0x1a1 sys/kern/kern_ktrace.c:299 postsig(ffff80002160f270,14) at postsig+0x2a4 sys/kern/kern_sig.c:1432 userret(ffff80002160f270) at userret+0x12b sys/kern/kern_sig.c:1919 syscall(ffff80002162df40) at syscall+0x50f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff80002162df40) at syscall+0x50f sys/arch/amd64/amd64/trap.c:607 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc4170, count: -10 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002162d8f0 rbx 0xfffffd8076607158 rdx 0 rcx 0xffff80002160f274 rax 0xb0696c77d4cad335 r8 0 r9 0 r10 0x3ad32b3bfb177249 r11 0xbbb6ec7ce95f5c56 r12 0xfffffd8076607001 r13 0x1 r14 0xfffffd80766071a8 r15 0xfffffd8076607040 rip 0xffffffff8224f60a sblock+0x4a cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002162d890 ss 0x10 sblock+0x4a: movq 0x8(%rax),%rax ddb> show proc PROC (syz-fuzzer) pid=464030 stat=onproc flags process=2 proc=1 pri=24, usrpri=54, nice=20 forw=0xffffffffffffffff, list=0xffff80002160e550,0xffff80002160efe0 process=0xffff8000215f0fb0 user=0xffff800021628000, vmspace=0xfffffd807f018440 estcpu=4, cpticks=3, pctcpu=0.11 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 49110 453873 74497 0 2 0 syz-executor.6 49110 105188 74497 0 3 0x4000080 fsleep syz-executor.6 49110 458134 74497 0 3 0x4000080 fsleep syz-executor.6 27715 275322 39493 0 3 0x82 nanoslp syz-executor.4 75787 201120 0 0 3 0x14280 nfsidl nfsio 20651 138740 0 0 3 0x14280 nfsidl nfsio 38327 147228 0 0 3 0x14280 nfsidl nfsio 48696 217557 0 0 3 0x14280 nfsidl nfsio 33189 4672 0 0 3 0x14280 nfsidl nfsio 41454 123695 0 0 3 0x14280 nfsidl nfsio 22572 392874 0 0 3 0x14280 nfsidl nfsio 70314 77748 0 0 3 0x14280 nfsidl nfsio 11497 3139 0 0 3 0x14280 nfsidl nfsio 90407 72674 0 0 3 0x14280 nfsidl nfsio 29833 389077 0 0 3 0x14280 nfsidl nfsio 40878 131477 0 0 3 0x14280 nfsidl nfsio 97987 485696 0 0 3 0x14280 nfsidl nfsio 36403 204764 0 0 3 0x14280 nfsidl nfsio 48076 286857 1 0 3 0x100083 ttyin getty 65177 500652 39493 0 2 0x482 syz-executor.0 30516 285129 0 0 3 0x14200 acct acct 57265 397659 39493 0 3 0x82 piperd syz-executor.5 59079 447263 39493 0 2 0x83 syz-executor.3 74497 386950 39493 0 2 0x482 syz-executor.6 71774 236861 39493 0 2 0x83 syz-executor.7 24995 1188 39493 0 3 0x82 piperd syz-executor.1 47652 57493 0 0 3 0x14280 nfsidl nfsio 87228 364073 0 0 3 0x14280 nfsidl nfsio 99824 93770 0 0 3 0x14280 nfsidl nfsio 48203 80891 0 0 3 0x14280 nfsidl nfsio 4098 340627 0 0 3 0x14280 nfsidl nfsio 76346 89397 0 0 3 0x14280 nfsidl nfsio 5084 18793 0 0 3 0x14200 bored sosplice *39493 464030 97312 0 7 0x3 syz-fuzzer 39493 423316 97312 0 2 0x4000482 syz-fuzzer 39493 25973 97312 0 3 0x4000082 thrsleep syz-fuzzer 39493 61135 97312 0 3 0x4000082 thrsleep syz-fuzzer 39493 80996 97312 0 3 0x4000082 thrsleep syz-fuzzer 39493 243893 97312 0 3 0x4000082 thrsleep syz-fuzzer 39493 127240 97312 0 3 0x4000082 thrsleep syz-fuzzer 39493 236804 97312 0 3 0x4000082 thrsleep syz-fuzzer 39493 271563 97312 0 3 0x4000082 thrsleep syz-fuzzer 97312 358193 57904 0 3 0x10008a sigsusp ksh 57904 279444 41244 0 3 0x9a kqread sshd 41244 460119 1 0 3 0x88 kqread sshd 49661 463954 3398 73 3 0x100090 kqread syslogd 3398 517610 1 0 3 0x100082 netio syslogd 52668 116588 1 0 3 0x100080 kqread resolvd 1538 377058 33001 77 3 0x100092 kqread dhcpleased 27523 341362 33001 77 3 0x100092 kqread dhcpleased 33001 2531 1 0 3 0x80 kqread dhcpleased 56265 475259 0 0 3 0x14200 bored smr 10841 319064 0 0 2 0x14200 zerothread 1739 475712 0 0 3 0x14200 aiodoned aiodoned 6535 281687 0 0 3 0x14200 syncer update 66845 338555 0 0 3 0x14200 cleaner cleaner 7386 189069 0 0 3 0x14200 reaper reaper 21986 485896 0 0 3 0x14200 pgdaemon pagedaemon 92200 51127 0 0 3 0x14200 bored viomb 68727 76837 0 0 3 0x40014200 acpi0 acpi0 22177 19194 0 0 3 0x14200 bored softnet 91941 22383 0 0 3 0x14200 bored systqmp 37277 70192 0 0 3 0x14200 bored systq 4328 245838 0 0 2 0x40014200 softclock 74701 44878 0 0 3 0x40014200 idle0 1 460737 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10199 6438K 7342K 78643K 43052 0 pcb 14 18K 23K 78643K 15149 0 rtable 174 22K 25K 78643K 5481 0 ifaddr 78 19K 23K 78643K 1566 0 sysctl 3 1K 1K 78643K 5 0 counters 26 17K 17K 78643K 150 0 ioctlops 0 0K 4K 78643K 19720 0 iov 0 0K 24K 78643K 1785 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1363 85K 86K 78643K 13171 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 173 0 VM map 2 0K 0K 78643K 2 0 sem 10 1K 1K 78643K 19 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 10 33K 77K 78643K 18184 0 sigio 0 0K 0K 78643K 54 0 proc 60 55K 95K 78643K 1874 0 subproc 91 5K 6K 78643K 598 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 605 0 in_multi 48 3K 6K 78643K 1036 0 ether_multi 1 0K 0K 78643K 210 0 mrt 1 0K 0K 78643K 24 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 235 1049K 1049K 78643K 235 0 exec 0 0K 2K 78643K 2814 0 pfkey data 0 0K 0K 78643K 3 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 386 410K 963K 78643K 219875 0 UVM aobj 131 4K 4K 78643K 131 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 4824 0 NDP 11 0K 1K 78643K 243 0 temp 126 4704K 4821K 78643K 75448 0 kqueue 12 18K 28K 78643K 628 0 SYN cache 2 16K 16K 78643K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 1530 0 1527 17 16 1 3 0 8 0 rtentry 112 1738 0 1685 4 1 3 4 0 8 0 unpcb 136 6441 0 6428 61 60 1 6 0 8 0 syncache 296 21 0 21 6 6 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 434 30 434 2 2 0 1 0 8 0 tcpcb 736 13482 0 13472 245 243 2 28 0 8 0 arp 88 450 0 440 1 0 1 1 0 8 0 ipq 40 18 0 18 5 5 0 1 0 8 0 ipqe 40 223 0 223 5 5 0 1 0 8 0 inpcb 304 40650 0 40640 243 241 2 26 0 8 1 rttmr 72 3 0 3 1 1 0 1 0 8 0 ip6q 72 21 0 21 1 1 0 1 0 8 0 ip6af 40 39 0 39 2 2 0 1 0 8 0 nd6 48 166 0 154 1 0 1 1 0 8 0 pkpcb 40 236 0 236 8 8 0 2 0 8 0 kcovpl 48 46 0 39 1 0 1 1 0 8 0 ppxss 1152 41 0 41 8 8 0 1 0 8 0 pfstscr 40 127 0 127 4 4 0 1 0 8 0 pfosfp 40 4 0 2 1 0 1 1 0 8 0 pfosfpen 112 4 0 0 1 0 1 1 0 8 0 pfrktable 1344 298 0 280 7 5 2 2 0 8 0 pftag 88 9 0 3 2 1 1 1 0 8 0 pfqueue 264 1 0 1 1 1 0 1 0 8 0 pfstitem 24 16 0 16 3 3 0 1 0 8 0 pfstkey 112 246 0 246 4 4 0 1 0 8 0 pfstate 320 123 0 123 4 4 0 1 0 8 0 pfrule 1360 517 0 463 14 9 5 7 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 5146 0 4884 39 20 19 29 0 8 0 art_table 32 5148 0 4884 4 0 4 4 0 8 0 art_node 16 1667 0 1623 1 0 1 1 0 8 0 sysvmsgpl 40 13 0 2 1 0 1 1 0 8 0 semupl 112 9 0 9 1 1 0 1 0 8 0 semapl 112 8 0 0 1 0 1 1 0 8 0 shmpl 112 128 0 0 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 23529 0 22079 91 0 91 91 0 8 0 ffsino 240 23529 0 22079 86 0 86 86 0 8 0 nchpl 144 45512 0 43895 63 1 62 63 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 224 5926 0 0 349 0 349 349 0 8 0 namei 1024 157315 0 157315 3 2 1 2 0 8 1 vcpupl 1984 23 0 1 3 0 3 3 0 8 0 vmpool 528 73 0 51 3 1 2 2 0 8 0 pfiaddrpl 120 201 0 165 2 0 2 2 0 8 0 scsiplug 72 10 0 10 4 4 0 1 0 8 0 scxspl 216 130522 0 130522 36 33 3 8 0 8 3 plimitpl 152 841 0 827 1 0 1 1 0 8 0 sigapl 424 18420 0 18364 9 1 8 8 0 8 0 futexpl 64 219782 0 219780 1 0 1 1 0 8 0 knotepl 120 155412 0 155332 5 2 3 5 0 8 0 kqueuepl 184 2878 0 2870 47 46 1 6 0 8 0 pipepl 304 2740 0 2712 73 70 3 12 0 8 0 fdescpl 432 18382 0 18361 4 0 4 4 0 8 0 filepl 120 133755 0 133537 134 124 10 18 0 8 2 lockfpl 104 4177 0 4175 9 8 1 2 0 8 0 lockfspl 48 1260 0 1258 1 0 1 1 0 8 0 sessionpl 144 64 0 48 1 0 1 1 0 8 0 pgrppl 48 223 0 207 1 0 1 1 0 8 0 ucredpl 96 12048 0 12036 1 0 1 1 0 8 0 zombiepl 144 18364 0 18360 1 0 1 1 0 8 0 processpl 1000 18420 0 18360 9 0 9 9 0 8 0 procpl 672 43514 0 43444 28 20 8 8 0 8 0 sosppl 168 58 0 58 13 13 0 1 0 8 0 sockpl 448 48861 0 48835 522 514 8 40 0 8 4 mcl64k 65536 477 0 477 30 29 1 1 0 8 1 mcl16k 16384 99 0 99 23 23 0 1 0 8 0 mcl12k 12288 427 0 427 25 24 1 1 0 8 1 mcl9k 9216 242 0 242 33 33 0 1 0 8 0 mcl8k 8192 834 0 834 25 24 1 1 0 8 1 mcl4k 4096 1861 0 1861 14 13 1 1 0 8 1 mcl2k2 2112 151 0 151 31 31 0 1 0 8 0 mcl2k 2048 107393 0 107234 99 78 21 29 0 8 0 mtagpl 96 7918 0 7060 50 28 22 36 0 8 0 mbufpl 256 316230 0 315110 658 582 76 586 0 8 0 bufpl 288 29609 0 23200 459 0 459 459 0 8 0 anonpl 24 4965626 0 4947533 267 128 139 147 0 188 11 amapchunkpl 152 651787 0 651078 1651 1524 127 672 0 158 91 amappl16 200 44988 0 44318 167 130 37 48 0 8 0 amappl15 192 3076 0 3071 1 0 1 1 0 8 0 amappl14 184 2101 0 2097 1 0 1 1 0 8 0 amappl13 176 1954 0 1952 1 0 1 1 0 8 0 amappl12 168 2553 0 2549 2 1 1 1 0 8 0 amappl11 160 3883 0 3873 1 0 1 1 0 8 0 amappl10 152 121 0 119 1 0 1 1 0 8 0 amappl9 144 4024 0 4020 1 0 1 1 0 8 0 amappl8 136 2906 0 2790 5 0 5 5 0 8 0 amappl7 128 1590 0 1578 1 0 1 1 0 8 0 amappl6 120 3897 0 3868 2 1 1 2 0 8 0 amappl5 112 15485 0 15474 1 0 1 1 0 8 0 amappl4 104 8442 0 8412 3 2 1 2 0 8 0 amappl3 96 3660 0 3648 1 0 1 1 0 8 0 amappl2 88 3602 0 3549 3 1 2 3 0 8 0 amappl1 80 319755 0 319282 18 5 13 18 0 8 0 amappl 88 218310 0 218099 7 0 7 7 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 130 0 0 3 0 3 3 0 8 0 uaddrrnd 24 18455 0 18412 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 18455 0 18412 1 0 1 1 0 8 0 vmmpekpl 168 117209 0 117143 4 0 4 4 0 8 1 vmmpepl 168 1630149 0 1627939 292 157 135 153 0 357 4 vmsppl 272 18454 0 18412 6 2 4 4 0 8 0 rwobjpl 24 376360 0 368703 49 0 49 49 0 8 0 pdppl 4096 36916 0 36846 775 689 86 88 0 8 16 pvpl 32 8147261 0 8126425 450 233 217 242 0 265 16 pmappl 216 18454 0 18412 4 1 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 3097 0 2230 41 14 27 40 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sblock(fffffd8076607040,fffffd8076607158,1) at sblock+0x4a soassertlocked sys/kern/uipc_socket2.c:323 [inline] sblock(fffffd8076607040,fffffd8076607158,1) at sblock+0x4a sys/kern/uipc_socket2.c:378 sosend(fffffd8076607040,0,ffff80002162dae0,0,0,0) at sosend+0x280 sys/kern/uipc_socket.c:527 fifo_write(ffff80002162da30) at fifo_write+0x7c sys/miscfs/fifofs/fifo_vnops.c:288 VOP_WRITE(fffffd806927ac08,ffff80002162dae0,3,fffffd807f7d8420) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002160f270,fffffd806927ac08,fffffd807f7d8420,ffff80002162dc48,ffff80002162dc20) at ktrwriteraw+0x13d sys/kern/kern_ktrace.c:666 ktrpsig(ffff80002160f270,14,46f4e0,0,0,ffff80002162dd18) at ktrpsig+0x1a1 ktrwrite sys/kern/kern_ktrace.c:609 [inline] ktrpsig(ffff80002160f270,14,46f4e0,0,0,ffff80002162dd18) at ktrpsig+0x1a1 sys/kern/kern_ktrace.c:299 postsig(ffff80002160f270,14) at postsig+0x2a4 sys/kern/kern_sig.c:1432 userret(ffff80002160f270) at userret+0x12b sys/kern/kern_sig.c:1919 syscall(ffff80002162df40) at syscall+0x50f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff80002162df40) at syscall+0x50f sys/arch/amd64/amd64/trap.c:607 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc4170, count: -10 ddb> machine ddbcpu 1 No such command ddb> trace sblock(fffffd8076607040,fffffd8076607158,1) at sblock+0x4a soassertlocked sys/kern/uipc_socket2.c:323 [inline] sblock(fffffd8076607040,fffffd8076607158,1) at sblock+0x4a sys/kern/uipc_socket2.c:378 sosend(fffffd8076607040,0,ffff80002162dae0,0,0,0) at sosend+0x280 sys/kern/uipc_socket.c:527 fifo_write(ffff80002162da30) at fifo_write+0x7c sys/miscfs/fifofs/fifo_vnops.c:288 VOP_WRITE(fffffd806927ac08,ffff80002162dae0,3,fffffd807f7d8420) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002160f270,fffffd806927ac08,fffffd807f7d8420,ffff80002162dc48,ffff80002162dc20) at ktrwriteraw+0x13d sys/kern/kern_ktrace.c:666 ktrpsig(ffff80002160f270,14,46f4e0,0,0,ffff80002162dd18) at ktrpsig+0x1a1 ktrwrite sys/kern/kern_ktrace.c:609 [inline] ktrpsig(ffff80002160f270,14,46f4e0,0,0,ffff80002162dd18) at ktrpsig+0x1a1 sys/kern/kern_ktrace.c:299 postsig(ffff80002160f270,14) at postsig+0x2a4 sys/kern/kern_sig.c:1432 userret(ffff80002160f270) at userret+0x12b sys/kern/kern_sig.c:1919 syscall(ffff80002162df40) at syscall+0x50f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff80002162df40) at syscall+0x50f sys/arch/amd64/amd64/trap.c:607 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc4170, count: -10