login: 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(fffffd80683733b0,fffffd80683734c8,1) at sblock+0x4a soassertlocked sys/kern/uipc_socket2.c:323 [inline] sblock(fffffd80683733b0,fffffd80683734c8,1) at sblock+0x4a sys/kern/uipc_socket2.c:378 sosend(fffffd80683733b0,0,ffff8000216bec30,0,0,0) at sosend+0x280 sys/kern/uipc_socket.c:527 fifo_write(ffff8000216beb80) at fifo_write+0x7c sys/miscfs/fifofs/fifo_vnops.c:288 VOP_WRITE(fffffd806d2e9d30,ffff8000216bec30,3,fffffd807f7d8a80) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 ktrwriteraw(ffff800023106a80,fffffd806d2e9d30,fffffd807f7d8a80,ffff8000216becf0,ffff8000216becd0) at ktrwriteraw+0x13d sys/kern/kern_ktrace.c:666 ktrgenio(ffff800023106a80,f9,0,ffff800000bddf00,40) at ktrgenio+0x26b ktrwrite2 sys/kern/kern_ktrace.c:630 [inline] ktrgenio(ffff800023106a80,f9,0,ffff800000bddf00,40) at ktrgenio+0x26b sys/kern/kern_ktrace.c:265 dofilereadv(ffff800023106a80,f9,ffff8000216bee68,0,ffff8000216bef60) at dofilereadv+0x2e0 sys/kern/sys_generic.c:268 sys_read(ffff800023106a80,ffff8000216bef00,ffff8000216bef60) at sys_read+0x83 sys/kern/sys_generic.c:172 syscall(ffff8000216befd0) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe5880, count: -10 ddb> show registers rdi 0 rsi 0 rbp 0xffff8000216bea40 rbx 0xfffffd80683734c8 rdx 0 rcx 0xffff800023106a84 rax 0x8c111705ac1aa6ec r8 0 r9 0 r10 0x1d730d3fa64495c2 r11 0x104552f722b41f85 r12 0xfffffd8068373301 r13 0x1 r14 0xfffffd8068373518 r15 0xfffffd80683733b0 rip 0xffffffff820872da sblock+0x4a cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000216be9e0 ss 0x10 sblock+0x4a: movq 0x8(%rax),%rax ddb> show proc PROC (syz-executor.0) pid=295731 stat=onproc flags process=2 proc=1 pri=24, usrpri=80, nice=20 forw=0xffffffffffffffff, list=0xffff8000231017a8,0xffff8000216ccaa0 process=0xffff800023113b78 user=0xffff8000216ba000, vmspace=0xfffffd8076960cd0 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 44877 312021 12596 0 2 0 syz-executor.3 48963 462480 90752 0 2 0x83 syz-executor.1 75060 202982 1 0 3 0x100083 ttyin getty 47715 455176 90752 0 3 0x82 nanoslp syz-executor.2 12596 152957 90752 0 3 0x82 nanoslp syz-executor.3 *38500 295731 90752 0 7 0x3 syz-executor.0 89903 449532 0 0 3 0x14280 nfsidl nfsio 44373 59242 0 0 3 0x14280 nfsidl nfsio 46491 48398 0 0 3 0x14280 nfsidl nfsio 60505 225740 0 0 3 0x14280 nfsidl nfsio 17479 138618 0 0 3 0x14280 nfsidl nfsio 99914 176420 0 0 3 0x14280 nfsidl nfsio 44930 157462 0 0 3 0x14200 bored sosplice 90752 78034 14427 0 3 0x82 thrsleep syz-fuzzer 90752 301218 14427 0 3 0x4000082 nanoslp syz-fuzzer 90752 255020 14427 0 3 0x4000082 thrsleep syz-fuzzer 90752 456602 14427 0 2 0x4000083 syz-fuzzer 90752 346364 14427 0 3 0x4000082 thrsleep syz-fuzzer 90752 126082 14427 0 3 0x4000082 kqread syz-fuzzer 14427 204966 1184 0 3 0x10008a sigsusp ksh 1184 36701 72584 0 3 0x9a poll sshd 72584 233167 1 0 3 0x88 poll sshd 84293 343130 27968 73 3 0x100090 kqread syslogd 27968 375399 1 0 3 0x100082 netio syslogd 26039 121035 1 0 3 0x100080 kqread resolvd 35655 330359 5009 77 3 0x100092 kqread dhcpleased 58213 304984 5009 77 3 0x100092 kqread dhcpleased 5009 492108 1 0 3 0x80 kqread dhcpleased 94182 252680 0 0 3 0x14200 bored smr 33884 303157 0 0 2 0x14200 zerothread 15084 102203 0 0 3 0x14200 aiodoned aiodoned 83826 454447 0 0 3 0x14200 syncer update 44762 214621 0 0 3 0x14200 cleaner cleaner 34562 344735 0 0 3 0x14200 reaper reaper 5532 271817 0 0 3 0x14200 pgdaemon pagedaemon 22660 13698 0 0 3 0x14200 bored viomb 26815 235433 0 0 3 0x40014200 acpi0 acpi0 23358 365300 0 0 3 0x14200 bored softnet 77875 102842 0 0 3 0x14200 bored systqmp 75666 323260 0 0 3 0x14200 bored systq 9895 506134 0 0 3 0x40014200 bored softclock 87457 447486 0 0 3 0x40014200 idle0 1 409109 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 10183 6415K 7618K 78643K 25425 0 pcb 13 16K 19K 78643K 2164 0 rtable 175 22K 24K 78643K 4526 0 ifaddr 76 19K 19K 78643K 1498 0 sysctl 2 0K 0K 78643K 2 0 counters 23 16K 17K 78643K 130 0 ioctlops 0 0K 4K 78643K 1633 0 iov 0 0K 32K 78643K 867 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1427 90K 90K 78643K 8034 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 68 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 1482 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 7 21K 41K 78643K 6994 0 sigio 0 0K 0K 78643K 29 0 proc 63 55K 71K 78643K 1602 0 subproc 52 3K 3K 78643K 559 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 741 0 in_multi 47 3K 3K 78643K 868 0 ether_multi 1 0K 0K 78643K 111 0 mrt 1 0K 0K 78643K 20 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 169 758K 758K 78643K 169 0 exec 0 0K 2K 78643K 2753 0 pfkey data 0 0K 1K 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 310 495K 496K 78643K 83956 0 UVM aobj 131 6K 6K 78643K 136 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 667 0 NDP 8 0K 1K 78643K 226 0 temp 117 4221K 4303K 78643K 58372 0 kqueue 10 14K 24K 78643K 386 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 843 0 840 11 10 1 4 0 8 0 rtentry 112 623 0 570 2 0 2 2 0 8 0 unpcb 128 3958 0 3945 34 29 5 7 0 8 4 syncache 296 38 0 38 11 10 1 1 0 8 1 tcpqe 32 13 0 13 6 5 1 1 0 8 1 tcpcb 736 3972 0 3968 86 77 9 14 0 8 8 arp 88 91 0 80 1 0 1 1 0 8 0 ipq 40 14 0 14 6 6 0 1 0 8 0 ipqe 40 413 0 413 6 6 0 1 0 8 0 inpcb 304 9990 0 9980 106 96 10 14 0 8 8 rttmr 72 6 0 6 2 2 0 1 0 8 0 ip6q 72 4 0 4 1 1 0 1 0 8 0 ip6af 40 7 0 7 1 1 0 1 0 8 0 nd6 48 157 0 149 1 0 1 1 0 8 0 pkpcb 40 30 0 30 6 5 1 1 0 8 1 kcovpl 48 43 0 39 1 0 1 1 0 8 0 ppxss 1152 15 0 15 6 6 0 1 0 8 0 pfstscr 40 16 0 14 1 0 1 1 0 8 0 pfosfp 40 4 0 3 1 0 1 1 0 8 0 pfosfpen 112 4 0 0 1 0 1 1 0 8 0 pfrktable 1344 1272 0 1254 3 1 2 2 0 8 0 pftag 88 250 0 244 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 112 26 0 24 1 0 1 1 0 8 0 pfstate 320 13 0 12 1 0 1 1 0 8 0 pfrule 1360 754 0 637 10 0 10 10 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 2851 0 2640 36 22 14 19 0 8 0 art_table 32 2852 0 2640 3 1 2 3 0 8 0 art_node 16 619 0 573 1 0 1 1 0 8 0 sysvmsgpl 40 38 0 38 2 2 0 1 0 8 0 semapl 112 1480 0 1470 1 0 1 1 0 8 0 shmpl 112 133 0 5 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 10754 0 9327 90 0 90 90 0 8 0 ffsino 240 10754 0 9327 85 0 85 85 0 8 0 nchpl 144 19934 0 18349 61 0 61 61 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 76521 0 76521 2 1 1 1 0 8 1 vcpupl 1984 127 0 0 16 0 16 16 0 8 0 vmpool 528 157 0 30 9 0 9 9 0 8 0 pfiaddrpl 120 560 0 540 1 0 1 1 0 8 0 scsiplug 72 3 0 3 1 1 0 1 0 8 0 scxspl 216 59587 0 59587 20 19 1 8 0 8 1 plimitpl 152 761 0 751 1 0 1 1 0 8 0 sigapl 424 7106 0 7068 6 1 5 5 0 8 0 futexpl 64 77111 0 77111 2 1 1 1 0 8 1 knotepl 112 5241 0 5191 6 4 2 4 0 8 0 kqueuepl 184 2924 0 2918 39 37 2 7 0 8 1 pipepl 304 1274 0 1258 26 24 2 7 0 8 0 fdescpl 432 7084 0 7066 3 0 3 3 0 8 0 filepl 120 55977 0 55832 64 52 12 12 0 8 7 lockfpl 104 2256 0 2254 4 3 1 2 0 8 0 lockfspl 48 506 0 504 1 0 1 1 0 8 0 sessionpl 144 60 0 48 1 0 1 1 0 8 0 pgrppl 48 71 0 59 1 0 1 1 0 8 0 ucredpl 96 7486 0 7476 1 0 1 1 0 8 0 zombiepl 144 7068 0 7067 1 0 1 1 0 8 0 processpl 1000 7106 0 7067 6 0 6 6 0 8 0 procpl 672 17581 0 17537 15 9 6 6 0 8 0 sosppl 168 66 0 66 13 12 1 1 0 8 1 sockpl 448 14829 0 14803 221 203 18 30 0 8 14 mcl64k 65536 409 0 409 9 8 1 1 0 8 1 mcl16k 16384 92 0 92 21 20 1 1 0 8 1 mcl12k 12288 333 0 333 8 7 1 1 0 8 1 mcl9k 9216 87 0 87 15 14 1 1 0 8 1 mcl8k 8192 352 0 352 8 7 1 1 0 8 1 mcl4k 4096 754 0 754 6 5 1 1 0 8 1 mcl2k2 2112 62 0 62 15 15 0 1 0 8 0 mcl2k 2048 91949 0 91910 26 19 7 9 0 8 0 mtagpl 96 865 0 662 15 10 5 5 0 8 0 mbufpl 256 209289 0 208685 345 299 46 127 0 8 6 bufpl 288 15402 0 8985 459 0 459 459 0 8 0 anonpl 24 1983499 0 1967931 240 101 139 175 0 188 18 amapchunkpl 152 221834 0 221278 110 78 32 55 0 158 5 amappl16 200 20988 0 20267 129 82 47 51 0 8 8 amappl15 192 518 0 517 6 5 1 1 0 8 0 amappl14 184 563 0 559 1 0 1 1 0 8 0 amappl13 176 479 0 478 1 0 1 1 0 8 0 amappl12 168 1987 0 1986 1 0 1 1 0 8 0 amappl11 160 1523 0 1512 1 0 1 1 0 8 0 amappl10 152 1020 0 1013 1 0 1 1 0 8 0 amappl9 144 1143 0 1140 1 0 1 1 0 8 0 amappl8 136 1275 0 1212 3 0 3 3 0 8 0 amappl7 128 437 0 426 1 0 1 1 0 8 0 amappl6 120 1050 0 1033 1 0 1 1 0 8 0 amappl5 112 6692 0 6676 1 0 1 1 0 8 0 amappl4 104 3581 0 3554 1 0 1 1 0 8 0 amappl3 96 2834 0 2817 1 0 1 1 0 8 0 amappl2 88 1457 0 1413 2 0 2 2 0 8 0 amappl1 80 127175 0 126746 14 3 11 12 0 8 0 amappl 88 82834 0 82652 6 0 6 6 0 92 1 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 135 0 5 3 0 3 3 0 8 0 uaddrrnd 24 7241 0 7096 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 7241 0 7096 1 0 1 1 0 8 0 vmmpekpl 168 49437 0 49394 3 0 3 3 0 8 0 vmmpepl 168 662254 0 660025 312 181 131 141 0 357 23 vmsppl 272 7240 0 7096 11 1 10 10 0 8 0 rwobjpl 24 158336 0 150769 56 8 48 48 0 8 2 pdppl 4096 14488 0 14319 226 51 175 175 0 8 6 pvpl 32 3326166 0 3307893 396 151 245 291 0 265 62 pmappl 216 7240 0 7096 9 0 9 9 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 1648 0 715 29 2 27 27 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sblock(fffffd80683733b0,fffffd80683734c8,1) at sblock+0x4a soassertlocked sys/kern/uipc_socket2.c:323 [inline] sblock(fffffd80683733b0,fffffd80683734c8,1) at sblock+0x4a sys/kern/uipc_socket2.c:378 sosend(fffffd80683733b0,0,ffff8000216bec30,0,0,0) at sosend+0x280 sys/kern/uipc_socket.c:527 fifo_write(ffff8000216beb80) at fifo_write+0x7c sys/miscfs/fifofs/fifo_vnops.c:288 VOP_WRITE(fffffd806d2e9d30,ffff8000216bec30,3,fffffd807f7d8a80) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 ktrwriteraw(ffff800023106a80,fffffd806d2e9d30,fffffd807f7d8a80,ffff8000216becf0,ffff8000216becd0) at ktrwriteraw+0x13d sys/kern/kern_ktrace.c:666 ktrgenio(ffff800023106a80,f9,0,ffff800000bddf00,40) at ktrgenio+0x26b ktrwrite2 sys/kern/kern_ktrace.c:630 [inline] ktrgenio(ffff800023106a80,f9,0,ffff800000bddf00,40) at ktrgenio+0x26b sys/kern/kern_ktrace.c:265 dofilereadv(ffff800023106a80,f9,ffff8000216bee68,0,ffff8000216bef60) at dofilereadv+0x2e0 sys/kern/sys_generic.c:268 sys_read(ffff800023106a80,ffff8000216bef00,ffff8000216bef60) at sys_read+0x83 sys/kern/sys_generic.c:172 syscall(ffff8000216befd0) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe5880, count: -10 ddb> machine ddbcpu 1 No such command ddb> trace sblock(fffffd80683733b0,fffffd80683734c8,1) at sblock+0x4a soassertlocked sys/kern/uipc_socket2.c:323 [inline] sblock(fffffd80683733b0,fffffd80683734c8,1) at sblock+0x4a sys/kern/uipc_socket2.c:378 sosend(fffffd80683733b0,0,ffff8000216bec30,0,0,0) at sosend+0x280 sys/kern/uipc_socket.c:527 fifo_write(ffff8000216beb80) at fifo_write+0x7c sys/miscfs/fifofs/fifo_vnops.c:288 VOP_WRITE(fffffd806d2e9d30,ffff8000216bec30,3,fffffd807f7d8a80) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 ktrwriteraw(ffff800023106a80,fffffd806d2e9d30,fffffd807f7d8a80,ffff8000216becf0,ffff8000216becd0) at ktrwriteraw+0x13d sys/kern/kern_ktrace.c:666 ktrgenio(ffff800023106a80,f9,0,ffff800000bddf00,40) at ktrgenio+0x26b ktrwrite2 sys/kern/kern_ktrace.c:630 [inline] ktrgenio(ffff800023106a80,f9,0,ffff800000bddf00,40) at ktrgenio+0x26b sys/kern/kern_ktrace.c:265 dofilereadv(ffff800023106a80,f9,ffff8000216bee68,0,ffff8000216bef60) at dofilereadv+0x2e0 sys/kern/sys_generic.c:268 sys_read(ffff800023106a80,ffff8000216bef00,ffff8000216bef60) at sys_read+0x83 sys/kern/sys_generic.c:172 syscall(ffff8000216befd0) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe5880, count: -10