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(fffffd8074ad2a80,fffffd8074ad2b98,1) at sblock+0x4a soassertlocked sys/kern/uipc_socket2.c:323 [inline] sblock(fffffd8074ad2a80,fffffd8074ad2b98,1) at sblock+0x4a sys/kern/uipc_socket2.c:378 sosend(fffffd8074ad2a80,0,ffff800027f49350,0,0,0) at sosend+0x280 sys/kern/uipc_socket.c:527 fifo_write(ffff800027f492a0) at fifo_write+0x7c sys/miscfs/fifofs/fifo_vnops.c:288 VOP_WRITE(fffffd8068f47cd8,ffff800027f49350,3,fffffd807f7d8780) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 ktrwriteraw(ffff800021666fc8,fffffd8068f47cd8,fffffd807f7d8780,ffff800027f49410,ffff800027f493f0) at ktrwriteraw+0x13d sys/kern/kern_ktrace.c:666 ktrgenio(ffff800021666fc8,f8,1,ffff800000c083c0,c) at ktrgenio+0x26b ktrwrite2 sys/kern/kern_ktrace.c:630 [inline] ktrgenio(ffff800021666fc8,f8,1,ffff800000c083c0,c) at ktrgenio+0x26b sys/kern/kern_ktrace.c:265 dofilewritev(ffff800021666fc8,f8,ffff800027f49598,0,ffff800027f49690) at dofilewritev+0x38a sys/kern/sys_generic.c:401 sys_write(ffff800021666fc8,ffff800027f49630,ffff800027f49690) at sys_write+0x83 sys/kern/sys_generic.c:300 syscall(ffff800027f49700) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffda7a0, count: -10 ddb> show registers rdi 0 rsi 0 rbp 0xffff800027f49160 rbx 0xfffffd8074ad2b98 rdx 0 rcx 0xffff800021666fcc rax 0x37b38d1bf1be621f r8 0 r9 0 r10 0x1c6cdd9d25f66545 r11 0xb171a09013dec9e0 r12 0xfffffd8074ad2a01 r13 0x1 r14 0xfffffd8074ad2be8 r15 0xfffffd8074ad2a80 rip 0xffffffff81c5410a sblock+0x4a cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800027f49100 ss 0x10 sblock+0x4a: movq 0x8(%rax),%rax ddb> show proc PROC (syz-executor.6) pid=361839 stat=onproc flags process=2 proc=1 pri=24, usrpri=83, nice=20 forw=0xffffffffffffffff, list=0xffff800024ada7f0,0xffff80002160ed40 process=0xffff8000215f07e0 user=0xffff800027f44000, vmspace=0xfffffd8077228998 estcpu=33, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 33338 396047 88993 0 3 0x82 piperd syz-executor.5 72885 224632 88993 0 3 0x82 piperd syz-executor.0 40735 407717 88993 0 3 0x82 piperd syz-executor.3 66289 337664 88993 0 3 0x82 piperd syz-executor.7 62366 438223 88993 0 3 0x82 nanoslp syz-executor.1 *81927 361839 88993 0 7 0x3 syz-executor.6 36613 62825 88993 0 3 0x82 piperd syz-executor.4 26686 124865 1 0 3 0x100083 ttyin getty 64811 352425 0 0 3 0x14200 bored sosplice 78493 157728 0 0 3 0x14280 nfsidl nfsio 56830 280333 0 0 3 0x14280 nfsidl nfsio 96985 257107 0 0 3 0x14280 nfsidl nfsio 94223 369458 0 0 3 0x14280 nfsidl nfsio 16467 130444 0 0 3 0x14280 nfsidl nfsio 49035 444664 0 0 3 0x14280 nfsidl nfsio 56021 152110 0 0 3 0x14280 nfsidl nfsio 9770 170173 0 0 3 0x14280 nfsidl nfsio 45851 164800 0 0 3 0x14280 nfsidl nfsio 62007 443564 0 0 3 0x14280 nfsidl nfsio 45613 42957 0 0 3 0x14280 nfsidl nfsio 85906 126357 0 0 3 0x14280 nfsidl nfsio 46486 30519 0 0 3 0x14280 nfsidl nfsio 29139 376657 0 0 3 0x14280 nfsidl nfsio 45493 189668 0 0 3 0x14280 nfsidl nfsio 33380 10147 0 0 3 0x14280 nfsidl nfsio 96692 506721 0 0 3 0x14280 nfsidl nfsio 6455 152013 0 0 3 0x14280 nfsidl nfsio 62535 308594 0 0 3 0x14280 nfsidl nfsio 81321 123726 0 0 3 0x14280 nfsidl nfsio 88993 407042 55889 0 3 0x82 thrsleep syz-fuzzer 88993 267647 55889 0 3 0x4000082 thrsleep syz-fuzzer 88993 58597 55889 0 3 0x4000082 thrsleep syz-fuzzer 88993 300999 55889 0 2 0x4000083 syz-fuzzer 88993 23823 55889 0 3 0x4000082 thrsleep syz-fuzzer 88993 507413 55889 0 2 0x4000083 syz-fuzzer 88993 349052 55889 0 3 0x4000082 kqread syz-fuzzer 88993 487508 55889 0 3 0x4000082 thrsleep syz-fuzzer 55889 366823 78613 0 3 0x10008a sigsusp ksh 78613 202224 2858 0 3 0x9a poll sshd 2858 59182 1 0 3 0x88 poll sshd 97708 245155 30486 73 3 0x100090 kqread syslogd 30486 484285 1 0 3 0x100082 netio syslogd 93801 412783 1 0 3 0x100080 kqread resolvd 21361 401020 41594 77 3 0x100092 kqread dhcpleased 34147 230551 41594 77 3 0x100092 kqread dhcpleased 41594 256195 1 0 3 0x80 kqread dhcpleased 75742 209115 0 0 3 0x14200 bored smr 57847 422925 0 0 2 0x14200 zerothread 55369 310041 0 0 3 0x14200 aiodoned aiodoned 61251 72714 0 0 3 0x14200 syncer update 17137 152981 0 0 3 0x14200 cleaner cleaner 74855 360271 0 0 3 0x14200 reaper reaper 76377 450372 0 0 3 0x14200 pgdaemon pagedaemon 71158 374001 0 0 3 0x14200 bored viomb 66593 517657 0 0 3 0x40014200 acpi0 acpi0 69588 251081 0 0 3 0x14200 bored softnet 19657 419048 0 0 3 0x14200 bored systqmp 11697 379121 0 0 3 0x14200 bored systq 68652 273559 0 0 3 0x40014200 bored softclock 87146 359134 0 0 3 0x40014200 idle0 1 66457 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 10184 6422K 7199K 78643K 20917 0 pcb 13 20K 23K 78643K 700 0 rtable 248 17K 19K 78643K 2756 0 ifaddr 98 22K 24K 78643K 892 0 sysctl 2 0K 0K 78643K 2 0 counters 27 17K 17K 78643K 136 0 ioctlops 0 0K 4K 78643K 1784 0 iov 0 0K 28K 78643K 660 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1459 91K 92K 78643K 4991 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 63 0 VM map 2 0K 0K 78643K 2 0 sem 14 1K 1K 78643K 488 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 9 29K 81K 78643K 6428 0 sigio 0 0K 0K 78643K 134 0 proc 59 55K 87K 78643K 1922 0 subproc 91 5K 6K 78643K 653 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 180 0 in_multi 88 5K 6K 78643K 820 0 ether_multi 1 0K 0K 78643K 81 0 mrt 0 0K 0K 78643K 18 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 181 811K 811K 78643K 181 0 exec 0 0K 2K 78643K 2448 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 321 387K 858K 78643K 77354 0 UVM aobj 131 4K 4K 78643K 141 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 1165 0 NDP 12 0K 2K 78643K 234 0 temp 142 4709K 4775K 78643K 62233 0 kqueue 10 14K 20K 78643K 274 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 608 0 605 9 8 1 3 0 8 0 rtentry 112 674 0 582 4 1 3 4 0 8 0 unpcb 136 2750 0 2735 39 38 1 6 0 8 0 syncache 296 28 0 28 9 8 1 1 0 8 1 tcpqe 32 157 9 157 4 4 0 1 0 8 0 tcpcb 736 3312 0 3306 88 78 10 21 0 8 8 arp 88 118 0 102 1 0 1 1 0 8 0 ipq 40 7 0 6 3 2 1 1 0 8 0 ipqe 40 21 0 20 3 2 1 1 0 8 0 inpcb 304 18155 0 18146 122 112 10 20 0 8 8 rttmr 72 9 0 9 2 1 1 1 0 8 1 ip6q 72 44 0 43 6 5 1 1 0 8 0 ip6af 40 86 0 85 6 5 1 1 0 8 0 nd6 48 170 0 147 1 0 1 1 0 8 0 pkpcb 40 3 0 3 1 1 0 1 0 8 0 kcovpl 48 50 0 43 1 0 1 1 0 8 0 ppxss 1152 20 0 20 6 6 0 1 0 8 0 pfstscr 40 21 0 20 1 0 1 1 0 8 0 pfosfp 40 101 0 99 1 0 1 1 0 8 0 pfosfpen 112 101 0 99 1 0 1 1 0 8 0 pfrktable 1344 347 0 326 5 3 2 3 0 8 0 pftag 88 14 0 13 1 0 1 1 0 8 0 pfstitem 24 34 0 32 1 0 1 1 0 8 0 pfstkey 112 42 0 40 1 0 1 1 0 8 0 pfstate 320 21 0 20 1 0 1 1 0 8 0 pfrule 1360 461 0 299 15 1 14 14 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 3030 0 2638 52 23 29 29 0 8 2 art_table 32 3031 0 2638 4 0 4 4 0 8 0 art_node 16 673 0 593 1 0 1 1 0 8 0 sysvmsgpl 40 13 0 3 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 484 0 472 1 0 1 1 0 8 0 shmpl 112 138 0 10 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 9645 0 8197 92 0 92 92 0 8 0 ffsino 240 9645 0 8197 86 0 86 86 0 8 0 nchpl 144 17805 0 16186 62 0 62 62 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 66821 0 66821 2 1 1 2 0 8 1 vcpupl 1984 26 0 0 4 0 4 4 0 8 0 vmpool 528 35 0 9 2 0 2 2 0 8 0 pfiaddrpl 120 185 0 107 3 0 3 3 0 8 0 scsiplug 72 9 0 9 2 2 0 1 0 8 0 scxspl 216 52828 0 52828 24 22 2 8 0 8 2 plimitpl 152 627 0 614 1 0 1 1 0 8 0 sigapl 424 6644 0 6590 8 0 8 8 0 8 0 futexpl 64 69001 0 69001 1 0 1 1 0 8 1 knotepl 112 3138 0 3070 4 1 3 4 0 8 0 kqueuepl 184 6632 0 6626 48 43 5 7 0 8 4 pipepl 304 1127 0 1102 27 24 3 8 0 8 0 fdescpl 432 6609 0 6589 4 0 4 4 0 8 1 filepl 120 57686 0 57473 63 49 14 17 0 8 6 lockfpl 104 1544 0 1542 4 3 1 2 0 8 0 lockfspl 48 531 0 529 1 0 1 1 0 8 0 sessionpl 144 66 0 51 1 0 1 1 0 8 0 pgrppl 48 113 0 98 1 0 1 1 0 8 0 ucredpl 96 5903 0 5892 1 0 1 1 0 8 0 zombiepl 144 6590 0 6589 1 0 1 1 0 8 0 processpl 1000 6644 0 6589 9 0 9 9 0 8 0 procpl 672 16139 0 16077 11 3 8 8 0 8 0 sosppl 168 54 0 54 10 9 1 1 0 8 1 sockpl 448 21552 0 21525 302 290 12 37 0 8 8 mcl64k 65536 324 0 324 7 6 1 1 0 8 1 mcl16k 16384 55 0 55 12 12 0 1 0 8 0 mcl12k 12288 278 0 278 8 7 1 1 0 8 1 mcl9k 9216 230 0 230 14 13 1 1 0 8 1 mcl8k 8192 439 0 438 4 3 1 1 0 8 0 mcl4k 4096 785 0 785 2 1 1 1 0 8 1 mcl2k2 2112 41 0 41 14 14 0 1 0 8 0 mcl2k 2048 90326 0 90247 33 20 13 20 0 8 2 mtagpl 96 1578 0 1336 21 13 8 10 0 8 0 mbufpl 256 213654 0 212885 466 398 68 195 0 8 8 bufpl 288 14315 0 7906 458 0 458 458 0 8 0 anonpl 24 1791772 0 1775214 179 33 146 149 0 188 10 amapchunkpl 152 217730 0 217125 508 441 67 349 0 158 35 amappl16 200 17439 0 16657 100 53 47 54 0 8 0 amappl15 192 1031 0 1025 1 0 1 1 0 8 0 amappl14 184 825 0 822 1 0 1 1 0 8 0 amappl13 176 1134 0 1131 1 0 1 1 0 8 0 amappl12 168 1236 0 1231 2 1 1 1 0 8 0 amappl11 160 436 0 423 1 0 1 1 0 8 0 amappl10 152 986 0 985 1 0 1 1 0 8 0 amappl9 144 1184 0 1180 1 0 1 1 0 8 0 amappl8 136 1635 0 1546 4 0 4 4 0 8 0 amappl7 128 527 0 514 1 0 1 1 0 8 0 amappl6 120 1039 0 1019 2 1 1 2 0 8 0 amappl5 112 6263 0 6252 1 0 1 1 0 8 0 amappl4 104 2468 0 2436 2 1 1 2 0 8 0 amappl3 96 2047 0 2035 1 0 1 1 0 8 0 amappl2 88 2453 0 2405 3 1 2 3 0 8 0 amappl1 80 119446 0 118995 18 5 13 18 0 8 0 amappl 88 76148 0 75965 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 140 0 10 3 0 3 3 0 8 0 uaddrrnd 24 6644 0 6598 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 6644 0 6598 1 0 1 1 0 8 0 vmmpekpl 168 48744 0 48683 4 0 4 4 0 8 0 vmmpepl 168 623168 0 620976 239 101 138 150 0 357 7 vmsppl 272 6643 0 6598 6 2 4 4 0 8 0 rwobjpl 24 147210 0 139500 49 0 49 49 0 8 0 pdppl 4096 13294 0 13222 502 416 86 90 0 8 14 pvpl 32 3115181 0 3096543 338 115 223 257 0 265 22 pmappl 216 6643 0 6598 4 0 4 4 0 8 1 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 2134 0 1253 27 1 26 26 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sblock(fffffd8074ad2a80,fffffd8074ad2b98,1) at sblock+0x4a soassertlocked sys/kern/uipc_socket2.c:323 [inline] sblock(fffffd8074ad2a80,fffffd8074ad2b98,1) at sblock+0x4a sys/kern/uipc_socket2.c:378 sosend(fffffd8074ad2a80,0,ffff800027f49350,0,0,0) at sosend+0x280 sys/kern/uipc_socket.c:527 fifo_write(ffff800027f492a0) at fifo_write+0x7c sys/miscfs/fifofs/fifo_vnops.c:288 VOP_WRITE(fffffd8068f47cd8,ffff800027f49350,3,fffffd807f7d8780) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 ktrwriteraw(ffff800021666fc8,fffffd8068f47cd8,fffffd807f7d8780,ffff800027f49410,ffff800027f493f0) at ktrwriteraw+0x13d sys/kern/kern_ktrace.c:666 ktrgenio(ffff800021666fc8,f8,1,ffff800000c083c0,c) at ktrgenio+0x26b ktrwrite2 sys/kern/kern_ktrace.c:630 [inline] ktrgenio(ffff800021666fc8,f8,1,ffff800000c083c0,c) at ktrgenio+0x26b sys/kern/kern_ktrace.c:265 dofilewritev(ffff800021666fc8,f8,ffff800027f49598,0,ffff800027f49690) at dofilewritev+0x38a sys/kern/sys_generic.c:401 sys_write(ffff800021666fc8,ffff800027f49630,ffff800027f49690) at sys_write+0x83 sys/kern/sys_generic.c:300 syscall(ffff800027f49700) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffda7a0, count: -10 ddb> machine ddbcpu 1 No such command ddb> trace sblock(fffffd8074ad2a80,fffffd8074ad2b98,1) at sblock+0x4a soassertlocked sys/kern/uipc_socket2.c:323 [inline] sblock(fffffd8074ad2a80,fffffd8074ad2b98,1) at sblock+0x4a sys/kern/uipc_socket2.c:378 sosend(fffffd8074ad2a80,0,ffff800027f49350,0,0,0) at sosend+0x280 sys/kern/uipc_socket.c:527 fifo_write(ffff800027f492a0) at fifo_write+0x7c sys/miscfs/fifofs/fifo_vnops.c:288 VOP_WRITE(fffffd8068f47cd8,ffff800027f49350,3,fffffd807f7d8780) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 ktrwriteraw(ffff800021666fc8,fffffd8068f47cd8,fffffd807f7d8780,ffff800027f49410,ffff800027f493f0) at ktrwriteraw+0x13d sys/kern/kern_ktrace.c:666 ktrgenio(ffff800021666fc8,f8,1,ffff800000c083c0,c) at ktrgenio+0x26b ktrwrite2 sys/kern/kern_ktrace.c:630 [inline] ktrgenio(ffff800021666fc8,f8,1,ffff800000c083c0,c) at ktrgenio+0x26b sys/kern/kern_ktrace.c:265 dofilewritev(ffff800021666fc8,f8,ffff800027f49598,0,ffff800027f49690) at dofilewritev+0x38a sys/kern/sys_generic.c:401 sys_write(ffff800021666fc8,ffff800027f49630,ffff800027f49690) at sys_write+0x83 sys/kern/sys_generic.c:300 syscall(ffff800027f49700) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffda7a0, count: -10