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(fffffd8064db9c70,fffffd8064db9d88,1) at sblock+0x4a soassertlocked sys/kern/uipc_socket2.c:323 [inline] sblock(fffffd8064db9c70,fffffd8064db9d88,1) at sblock+0x4a sys/kern/uipc_socket2.c:378 sosend(fffffd8064db9c70,0,ffff800021617760,0,0,0) at sosend+0x280 sys/kern/uipc_socket.c:517 fifo_write(ffff8000216176b0) at fifo_write+0x7c sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd8072197da8,ffff800021617760,3,fffffd807f7d8600) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 ktrwriteraw(ffff8000215e2d30,fffffd8072197da8,fffffd807f7d8600,ffff800021617828,ffff800021617800) at ktrwriteraw+0x13d sys/kern/kern_ktrace.c:666 ktrgenio(ffff8000215e2d30,4,1,ffff8000006c3fb0,1d4) at ktrgenio+0x27b ktrwrite2 sys/kern/kern_ktrace.c:630 [inline] ktrgenio(ffff8000215e2d30,4,1,ffff8000006c3fb0,1d4) at ktrgenio+0x27b sys/kern/kern_ktrace.c:265 dofilewritev(ffff8000215e2d30,4,ffff8000216179a8,0,ffff800021617aa0) at dofilewritev+0x38a sys/kern/sys_generic.c:402 sys_write(ffff8000215e2d30,ffff800021617a40,ffff800021617aa0) at sys_write+0x83 sys/kern/sys_generic.c:301 syscall(ffff800021617b10) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffb8a50, count: -10 ddb> show registers rdi 0 rsi 0 rbp 0xffff800021617570 rbx 0xfffffd8064db9d88 rdx 0 rcx 0xffff8000215e2d34 rax 0x26c335c14d3ec2c r8 0 r9 0 r10 0xce155a4c948d2e12 r11 0x7e3d743fba608eaa r12 0xfffffd8064db9c01 r13 0x1 r14 0xfffffd8064db9dd8 r15 0xfffffd8064db9c70 rip 0xffffffff81fb6a8a sblock+0x4a cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800021617510 ss 0x10 sblock+0x4a: movq 0x8(%rax),%rax ddb> show proc PROC (sshd) pid=253478 stat=onproc flags process=12 proc=1 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000215e2550,0xffff8000215e22c0 process=0xffff8000215e1b68 user=0xffff800021612000, vmspace=0xfffffd807f018110 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 70704 467321 46522 0 3 0x80 nanoslp syz-executor.6 70704 442116 46522 0 3 0x4000080 netcon syz-executor.6 70704 128090 46522 0 3 0x4000080 fsleep syz-executor.6 78428 15628 97852 0 3 0x80 nanoslp syz-executor.0 78428 193024 97852 0 2 0x4000081 syz-executor.0 78428 341431 97852 0 2 0x4000081 syz-executor.0 78428 300974 97852 0 3 0x4000080 fsleep syz-executor.0 87637 441848 0 0 3 0x14280 nfsidl nfsio 150 406368 0 0 3 0x14280 nfsidl nfsio 58241 297867 0 0 3 0x14280 nfsidl nfsio 3910 183187 0 0 3 0x14280 nfsidl nfsio 66099 227591 0 0 3 0x14280 nfsidl nfsio 67837 440737 0 0 3 0x14280 nfsidl nfsio 91044 326896 0 0 3 0x14200 bored sosplice 46522 212590 38813 0 3 0x82 nanoslp syz-executor.6 5223 253354 38813 0 2 0x83 syz-executor.4 32172 302318 38813 0 2 0x83 syz-executor.5 31645 476900 38813 0 3 0x82 nanoslp syz-executor.3 89368 426086 38813 0 2 0x83 syz-executor.1 97852 66300 38813 0 2 0x83 syz-executor.0 10720 21346 38813 0 2 0x83 syz-executor.2 38813 235001 71451 0 2 0x83 syz-fuzzer 38813 20439 71451 0 3 0x4000082 thrsleep syz-fuzzer 38813 333779 71451 0 2 0x4000083 syz-fuzzer 38813 320497 71451 0 2 0x4000083 syz-fuzzer 38813 213611 71451 0 2 0x4000083 syz-fuzzer 38813 477370 71451 0 3 0x4000082 thrsleep syz-fuzzer 38813 139159 71451 0 3 0x4000082 thrsleep syz-fuzzer 38813 448411 71451 0 3 0x4000082 thrsleep syz-fuzzer 38813 500441 71451 0 2 0x4000083 syz-fuzzer 38813 132714 71451 0 3 0x4000082 kqread syz-fuzzer 71451 399205 94564 0 3 0x10008a sigsusp ksh *94564 253478 4894 0 7 0x13 sshd 33425 460161 1 0 3 0x100083 ttyin getty 4894 306780 1 0 3 0x88 kqread sshd 61515 252234 13407 73 3 0x1100090 kqread syslogd 13407 168060 1 0 3 0x100082 netio syslogd 51013 481713 1 0 2 0x100081 resolvd 30620 252065 36678 77 2 0x100093 dhcpleased 66772 204214 36678 77 3 0x100092 kqread dhcpleased 36678 22156 1 0 3 0x80 kqread dhcpleased 66327 89977 0 0 3 0x14200 bored smr 66892 206765 0 0 2 0x14200 zerothread 27175 281617 0 0 3 0x14200 aiodoned aiodoned 9307 450767 0 0 3 0x14200 syncer update 71911 366266 0 0 3 0x14200 cleaner cleaner 17336 245424 0 0 3 0x14200 reaper reaper 78189 361839 0 0 3 0x14200 pgdaemon pagedaemon 85215 243170 0 0 3 0x14200 bored viomb 79650 22485 0 0 3 0x40014200 acpi0 acpi0 56732 131628 0 0 3 0x14200 bored softnet 5441 415381 0 0 3 0x14200 bored systqmp 29512 339804 0 0 3 0x14200 bored systq 69309 387398 0 0 3 0x40014200 bored softclock 92126 302479 0 0 3 0x40014200 idle0 1 463945 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 10157 6444K 6922K 78643K 13734 0 pcb 13 10K 11K 78643K 52 0 rtable 206 16K 17K 78643K 417 0 ifaddr 69 15K 17K 78643K 84 0 sysctl 2 0K 0K 78643K 2 0 counters 25 17K 17K 78643K 27 0 ioctlops 0 0K 4K 78643K 92 0 iov 0 0K 16K 78643K 26 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1337 84K 84K 78643K 1811 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 8 0 VM map 2 0K 0K 78643K 2 0 sem 12 1K 1K 78643K 13 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 11 37K 69K 78643K 673 0 sigio 0 0K 0K 78643K 43 0 proc 58 55K 71K 78643K 464 0 subproc 91 5K 6K 78643K 104 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 34 0 in_multi 77 5K 6K 78643K 102 0 ether_multi 1 0K 0K 78643K 1 0 mrt 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 43 201K 201K 78643K 43 0 exec 0 0K 2K 78643K 652 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 273 121K 160K 78643K 9715 0 UVM aobj 9 2K 2K 78643K 9 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 2 0K 0K 78643K 21 0 NDP 9 0K 1K 78643K 27 0 temp 143 4728K 4794K 78643K 6613 0 kqueue 13 20K 26K 78643K 62 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 114 0 111 3 0 3 3 0 8 2 rtentry 112 115 0 27 4 0 4 4 0 8 0 unpcb 136 708 0 695 11 6 5 5 0 8 4 syncache 296 7 0 7 3 2 1 1 0 8 1 tcpqe 32 3 0 3 2 1 1 1 0 8 1 tcpcb 736 183 0 172 10 3 7 7 0 8 5 arp 88 19 0 5 1 0 1 1 0 8 0 inpcb 304 705 0 691 16 7 9 11 0 8 7 ip6q 72 4 0 4 2 2 0 1 0 8 0 ip6af 40 8 0 8 2 2 0 1 0 8 0 nd6 48 25 0 7 1 0 1 1 0 8 0 kcovpl 48 8 0 1 1 0 1 1 0 8 0 pfrktable 1344 6 0 2 1 0 1 1 0 8 0 pftag 88 4 0 3 2 1 1 1 0 8 0 pfrule 1360 12 0 6 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 465 0 100 30 3 27 30 0 8 1 art_table 32 466 0 100 4 0 4 4 0 8 0 art_node 16 114 0 34 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 0 1 0 1 1 0 8 0 semupl 112 6 0 6 2 2 0 1 0 8 0 semapl 112 10 0 0 1 0 1 1 0 8 0 shmpl 112 6 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2135 0 706 90 0 90 90 0 8 0 ffsino 240 2135 0 706 85 0 85 85 0 8 0 nchpl 144 3098 0 1428 62 0 62 62 0 8 0 uvmvnodes 80 2742 0 0 56 0 56 56 0 8 0 vnodes 224 2742 0 0 162 0 162 162 0 8 0 namei 1024 10777 0 10777 2 1 1 2 0 8 1 vcpupl 1984 3 0 0 1 0 1 1 0 8 0 vmpool 528 9 0 6 2 1 1 1 0 8 0 pfiaddrpl 120 6 0 0 1 0 1 1 0 8 0 scxspl 216 9163 0 9163 9 8 1 8 0 8 1 plimitpl 152 45 0 32 1 0 1 1 0 8 0 sigapl 424 963 0 920 6 0 6 6 0 8 0 futexpl 64 6219 0 6217 1 0 1 1 0 8 0 knotepl 120 22208 0 22121 7 0 7 7 0 8 4 kqueuepl 184 167 0 158 2 1 1 2 0 8 0 pipepl 304 235 0 208 5 2 3 5 0 8 0 fdescpl 432 943 0 921 4 0 4 4 0 8 0 filepl 120 5886 0 5665 20 7 13 13 0 8 3 lockfpl 104 143 0 141 1 0 1 1 0 8 0 lockfspl 48 39 0 37 1 0 1 1 0 8 0 sessionpl 144 23 0 8 1 0 1 1 0 8 0 pgrppl 48 23 0 8 1 0 1 1 0 8 0 ucredpl 96 304 0 294 1 0 1 1 0 8 0 zombiepl 144 921 0 920 1 0 1 1 0 8 0 processpl 1000 963 0 920 7 0 7 7 0 8 0 procpl 672 1936 0 1879 7 0 7 7 0 8 0 sosppl 168 6 0 6 1 1 0 1 0 8 0 sockpl 448 1527 0 1497 42 30 12 18 0 8 8 pool(sockpl): free list modified: page 0xfffffd8064db9000; item ordinal 0; addr 0xfffffd8064db9c70 (p 0xfffffd8063005000); offset 0x10=0xdeaf9ead mcl64k 65536 20 0 20 3 2 1 1 0 8 1 mcl16k 16384 5 0 5 2 1 1 1 0 8 1 mcl12k 12288 18 0 18 4 3 1 1 0 8 1 mcl9k 9216 9 0 9 2 1 1 1 0 8 1 mcl8k 8192 71 0 71 3 2 1 1 0 8 1 mcl4k 4096 78 0 78 2 1 1 1 0 8 1 mcl2k2 2112 6 0 6 2 2 0 1 0 8 0 mcl2k 2048 78516 0 78462 12 4 8 11 0 8 0 mtagpl 96 474 0 195 10 2 8 9 0 8 0 mbufpl 256 128816 0 128333 40 6 34 37 0 8 0 bufpl 288 4263 0 143 295 0 295 295 0 8 0 anonpl 24 260072 0 242076 164 19 145 164 0 188 27 amapchunkpl 152 23878 0 23186 42 3 39 39 0 158 6 amappl16 200 4041 0 3399 68 30 38 58 0 8 3 amappl15 192 466 0 457 1 0 1 1 0 8 0 amappl14 184 144 0 141 2 1 1 1 0 8 0 amappl13 176 80 0 78 1 0 1 1 0 8 0 amappl12 168 22 0 19 1 0 1 1 0 8 0 amappl11 160 43 0 32 1 0 1 1 0 8 0 amappl10 152 161 0 158 1 0 1 1 0 8 0 amappl9 144 454 0 452 1 0 1 1 0 8 0 amappl8 136 558 0 509 2 0 2 2 0 8 0 amappl7 128 113 0 102 1 0 1 1 0 8 0 amappl6 120 192 0 172 2 1 1 2 0 8 0 amappl5 112 833 0 819 1 0 1 1 0 8 0 amappl4 104 867 0 840 2 0 2 2 0 8 0 amappl3 96 207 0 196 1 0 1 1 0 8 0 amappl2 88 543 0 500 3 1 2 3 0 8 0 amappl1 80 19977 0 19480 18 5 13 18 0 8 0 amappl 88 9249 0 9063 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 8 0 0 1 0 1 1 0 8 0 uaddrrnd 24 952 0 927 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 952 0 927 1 0 1 1 0 8 0 vmmpekpl 168 11449 0 11414 2 0 2 2 0 8 0 vmmpepl 168 91939 0 89797 151 32 119 138 0 357 8 vmsppl 272 951 0 927 4 1 3 3 0 8 0 rwobjpl 24 27071 0 22823 28 1 27 27 0 8 0 pdppl 4096 1910 0 1857 122 57 65 67 0 8 12 pvpl 32 530726 0 508981 279 43 236 255 0 265 43 pmappl 216 951 0 927 2 0 2 2 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 750 0 113 19 0 19 19 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sblock(fffffd8064db9c70,fffffd8064db9d88,1) at sblock+0x4a soassertlocked sys/kern/uipc_socket2.c:323 [inline] sblock(fffffd8064db9c70,fffffd8064db9d88,1) at sblock+0x4a sys/kern/uipc_socket2.c:378 sosend(fffffd8064db9c70,0,ffff800021617760,0,0,0) at sosend+0x280 sys/kern/uipc_socket.c:517 fifo_write(ffff8000216176b0) at fifo_write+0x7c sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd8072197da8,ffff800021617760,3,fffffd807f7d8600) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 ktrwriteraw(ffff8000215e2d30,fffffd8072197da8,fffffd807f7d8600,ffff800021617828,ffff800021617800) at ktrwriteraw+0x13d sys/kern/kern_ktrace.c:666 ktrgenio(ffff8000215e2d30,4,1,ffff8000006c3fb0,1d4) at ktrgenio+0x27b ktrwrite2 sys/kern/kern_ktrace.c:630 [inline] ktrgenio(ffff8000215e2d30,4,1,ffff8000006c3fb0,1d4) at ktrgenio+0x27b sys/kern/kern_ktrace.c:265 dofilewritev(ffff8000215e2d30,4,ffff8000216179a8,0,ffff800021617aa0) at dofilewritev+0x38a sys/kern/sys_generic.c:402 sys_write(ffff8000215e2d30,ffff800021617a40,ffff800021617aa0) at sys_write+0x83 sys/kern/sys_generic.c:301 syscall(ffff800021617b10) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffb8a50, count: -10 ddb> machine ddbcpu 1 No such command ddb> trace sblock(fffffd8064db9c70,fffffd8064db9d88,1) at sblock+0x4a soassertlocked sys/kern/uipc_socket2.c:323 [inline] sblock(fffffd8064db9c70,fffffd8064db9d88,1) at sblock+0x4a sys/kern/uipc_socket2.c:378 sosend(fffffd8064db9c70,0,ffff800021617760,0,0,0) at sosend+0x280 sys/kern/uipc_socket.c:517 fifo_write(ffff8000216176b0) at fifo_write+0x7c sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd8072197da8,ffff800021617760,3,fffffd807f7d8600) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 ktrwriteraw(ffff8000215e2d30,fffffd8072197da8,fffffd807f7d8600,ffff800021617828,ffff800021617800) at ktrwriteraw+0x13d sys/kern/kern_ktrace.c:666 ktrgenio(ffff8000215e2d30,4,1,ffff8000006c3fb0,1d4) at ktrgenio+0x27b ktrwrite2 sys/kern/kern_ktrace.c:630 [inline] ktrgenio(ffff8000215e2d30,4,1,ffff8000006c3fb0,1d4) at ktrgenio+0x27b sys/kern/kern_ktrace.c:265 dofilewritev(ffff8000215e2d30,4,ffff8000216179a8,0,ffff800021617aa0) at dofilewritev+0x38a sys/kern/sys_generic.c:402 sys_write(ffff8000215e2d30,ffff800021617a40,ffff800021617aa0) at sys_write+0x83 sys/kern/sys_generic.c:301 syscall(ffff800021617b10) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffb8a50, count: -10