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(fffffd8074d8b550,fffffd8074d8b668,1) at sblock+0x4a soassertlocked sys/kern/uipc_socket2.c:323 [inline] sblock(fffffd8074d8b550,fffffd8074d8b668,1) at sblock+0x4a sys/kern/uipc_socket2.c:378 sosend(fffffd8074d8b550,0,ffff800021655710,0,0,0) at sosend+0x280 sys/kern/uipc_socket.c:517 fifo_write(ffff800021655660) at fifo_write+0x7c sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd8074329428,ffff800021655710,3,fffffd807f7d76c0) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 ktrwriteraw(ffff8000216107f0,fffffd8074329428,fffffd807f7d76c0,ffff8000216557d8,ffff8000216557b0) at ktrwriteraw+0x13d sys/kern/kern_ktrace.c:666 ktrgenio(ffff8000216107f0,35,1,ffff8000006c5bf0,40) at ktrgenio+0x27b ktrwrite2 sys/kern/kern_ktrace.c:630 [inline] ktrgenio(ffff8000216107f0,35,1,ffff8000006c5bf0,40) at ktrgenio+0x27b sys/kern/kern_ktrace.c:265 dofilewritev(ffff8000216107f0,35,ffff800021655958,0,ffff800021655a50) at dofilewritev+0x38a sys/kern/sys_generic.c:402 sys_write(ffff8000216107f0,ffff8000216559f0,ffff800021655a50) at sys_write+0x83 sys/kern/sys_generic.c:301 syscall(ffff800021655ac0) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2103ae890, count: -10 ddb> show registers rdi 0 rsi 0 rbp 0xffff800021655520 rbx 0xfffffd8074d8b668 rdx 0 rcx 0xffff8000216107f4 rax 0x5864821606ab712f r8 0 r9 0 r10 0xcbba221aeff13d62 r11 0x20b56efd56ed8027 r12 0xfffffd8074d8b501 r13 0x1 r14 0xfffffd8074d8b6b8 r15 0xfffffd8074d8b550 rip 0xffffffff818a6dda sblock+0x4a cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000216554c0 ss 0x10 sblock+0x4a: movq 0x8(%rax),%rax ddb> show proc PROC (syz-fuzzer) pid=365726 stat=onproc flags process=2 proc=4000001 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800021610010,0xffff800021611d00 process=0xffff8000ffff63f8 user=0xffff800021650000, vmspace=0xfffffd807f016110 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 18376 183860 10714 0 2 0x83 syz-executor.5 4057 245622 10714 0 3 0x82 nanoslp syz-executor.7 1479 328577 10714 0 2 0x83 syz-executor.2 28915 506051 10714 0 3 0x82 piperd syz-executor.0 4611 96811 1 0 3 0x100083 ttyin getty 56047 171743 0 0 3 0x14200 bored sosplice 83596 195317 10714 0 2 0x83 syz-executor.6 80610 52752 10714 0 2 0x83 syz-executor.4 98187 370794 10714 0 3 0x82 piperd syz-executor.3 37336 56780 10714 0 2 0x83 syz-executor.1 10714 248868 1337 0 3 0x82 thrsleep syz-fuzzer 10714 255611 1337 0 3 0x4000082 thrsleep syz-fuzzer *10714 365726 1337 0 7 0x4000003 syz-fuzzer 10714 399551 1337 0 3 0x4000082 thrsleep syz-fuzzer 10714 295833 1337 0 2 0x4000083 syz-fuzzer 10714 44791 1337 0 2 0x4000083 syz-fuzzer 10714 483230 1337 0 2 0x4000083 syz-fuzzer 10714 355481 1337 0 2 0x4000083 syz-fuzzer 10714 482789 1337 0 3 0x4000082 thrsleep syz-fuzzer 10714 226872 1337 0 2 0x4000083 syz-fuzzer 10714 213581 1337 0 3 0x4000082 kqread syz-fuzzer 1337 462607 26766 0 3 0x10008a sigsusp ksh 26766 465648 76664 0 2 0x93 sshd 76664 146224 1 0 3 0x88 kqread sshd 97292 261416 85394 73 3 0x1100090 kqread syslogd 85394 481931 1 0 3 0x100082 netio syslogd 83462 47931 1 0 3 0x100080 kqread resolvd 42650 341853 10784 77 3 0x100092 kqread dhcpleased 90790 128008 10784 77 3 0x100092 kqread dhcpleased 10784 178214 1 0 3 0x80 kqread dhcpleased 12075 435412 0 0 3 0x14200 bored smr 63491 256215 0 0 2 0x14200 zerothread 71367 485624 0 0 3 0x14200 aiodoned aiodoned 90214 483809 0 0 3 0x14200 syncer update 51620 141439 0 0 3 0x14200 cleaner cleaner 85803 313519 0 0 3 0x14200 reaper reaper 52777 209279 0 0 3 0x14200 pgdaemon pagedaemon 32185 64977 0 0 3 0x14200 bored viomb 74339 339009 0 0 3 0x40014200 acpi0 acpi0 37367 363200 0 0 3 0x14200 bored softnet 86698 313820 0 0 3 0x14200 bored softnet 53177 61953 0 0 3 0x14200 bored softnet 9869 230980 0 0 3 0x14200 bored softnet 33843 444063 0 0 3 0x14200 bored systqmp 36102 336004 0 0 3 0x14200 bored systq 9453 465721 0 0 3 0x40014200 bored softclock 92922 82352 0 0 3 0x40014200 idle0 1 399503 0 0 3 0x80082 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 10188 6418K 7058K 78643K 16647 0 pcb 13 18K 20K 78643K 417 0 rtable 212 11K 14K 78643K 1099 0 ifaddr 85 18K 19K 78643K 421 0 sysctl 1 1K 1K 78643K 1 0 counters 27 17K 17K 78643K 58 0 ioctlops 0 0K 4K 78643K 1042 0 iov 0 0K 44K 78643K 669 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1331 83K 83K 78643K 3055 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 55 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 577 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 10 33K 69K 78643K 3992 0 sigio 0 0K 0K 78643K 30 0 proc 60 59K 75K 78643K 827 0 subproc 104 6K 6K 78643K 198 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 262 0 in_multi 68 4K 6K 78643K 262 0 ether_multi 1 0K 0K 78643K 34 0 mrt 1 0K 0K 78643K 12 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 1404 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 293 460K 837K 78643K 23124 0 UVM aobj 131 11K 11K 78643K 131 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 172 0 NDP 12 0K 2K 78643K 76 0 temp 181 4789K 5030K 78643K 43631 0 kqueue 12 18K 30K 78643K 291 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 548 0 545 9 7 2 3 0 8 1 rtentry 112 250 0 166 4 0 4 4 0 8 0 unpcb 136 3679 0 3666 40 37 3 6 0 8 2 syncache 296 18 0 18 5 5 0 1 0 8 0 tcpqe 32 2 0 2 1 1 0 1 0 8 0 tcpcb 736 1528 0 1524 60 52 8 18 0 8 7 arp 88 39 0 25 1 0 1 1 0 8 0 inpcb 312 3357 0 3350 54 48 6 11 0 8 5 nd6 48 51 0 36 1 0 1 1 0 8 0 pkpcb 40 7 0 7 2 2 0 1 0 8 0 kcovpl 48 15 0 7 1 0 1 1 0 8 0 ppxss 1152 9 0 9 2 2 0 1 0 8 0 pfstscr 40 4 0 4 1 1 0 1 0 8 0 pfrktable 1344 100 0 89 4 3 1 2 0 8 0 pftag 88 4 0 1 1 0 1 1 0 8 0 pfqueue 264 4 0 4 1 1 0 1 0 8 0 pfstkey 112 8 0 8 1 1 0 1 0 8 0 pfstate 336 4 0 4 1 1 0 1 0 8 0 pfrule 1360 200 0 180 3 1 2 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 1033 0 684 33 11 22 30 0 8 0 art_table 32 1035 0 684 4 0 4 4 0 8 0 art_node 16 248 0 172 1 0 1 1 0 8 0 sysvmsgpl 40 44 0 5 1 0 1 1 0 8 0 semapl 112 575 0 565 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 7400 0 5962 91 0 91 91 0 8 0 ffsino 240 7400 0 5962 86 0 86 86 0 8 0 nchpl 144 13303 0 11671 63 0 63 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 48770 0 48770 3 2 1 2 0 8 1 vcpupl 1984 91 0 0 12 0 12 12 0 8 0 vmpool 528 94 0 3 7 0 7 7 0 8 0 pfiaddrpl 120 38 0 20 3 2 1 1 0 8 0 kstatmem 264 86 0 62 2 0 2 2 0 8 0 scsiplug 72 4 0 4 1 1 0 1 0 8 0 scxspl 216 37130 0 37130 12 11 1 8 0 8 1 plimitpl 152 650 0 636 1 0 1 1 0 8 0 sigapl 424 4260 0 4221 6 0 6 6 0 8 0 futexpl 64 40110 0 40110 1 0 1 1 0 8 1 knotepl 120 51466 0 51386 26 22 4 17 0 8 0 kqueuepl 184 1295 0 1287 26 22 4 4 0 8 3 pipepl 304 925 0 897 25 22 3 9 0 8 0 fdescpl 432 4242 0 4221 4 0 4 4 0 8 1 filepl 120 33193 0 32960 51 40 11 15 0 8 3 lockfpl 104 1018 0 1016 4 3 1 2 0 8 0 lockfspl 48 232 0 230 1 0 1 1 0 8 0 sessionpl 144 31 0 15 1 0 1 1 0 8 0 pgrppl 48 67 0 51 1 0 1 1 0 8 0 ucredpl 96 4288 0 4278 1 0 1 1 0 8 0 zombiepl 144 4222 0 4221 2 1 1 1 0 8 0 processpl 1000 4260 0 4221 7 1 6 6 0 8 0 procpl 672 10267 0 10218 14 8 6 7 0 8 0 sosppl 168 34 0 34 7 6 1 1 0 8 1 sockpl 448 7595 0 7572 174 163 11 29 0 8 8 mcl64k 65536 94 0 94 9 9 0 1 0 8 0 mcl16k 16384 45 0 45 8 8 0 1 0 8 0 mcl12k 12288 138 0 135 11 10 1 1 0 8 0 mcl9k 9216 54 0 54 12 11 1 1 0 8 1 mcl8k 8192 354 0 354 4 3 1 1 0 8 1 mcl4k 4096 505 0 505 4 3 1 1 0 8 1 mcl2k2 2112 31 0 31 9 9 0 1 0 8 0 mcl2k 2048 75875 0 75830 19 11 8 9 0 8 0 mtagpl 96 639 0 497 10 5 5 9 0 8 0 mbufpl 256 146412 0 146044 50 17 33 39 0 8 0 bufpl 288 10839 0 4429 458 0 458 458 0 8 0 anonpl 24 770707 0 754847 147 34 113 119 0 188 0 amapchunkpl 152 91384 0 90827 355 328 27 342 0 158 0 amappl16 200 9995 0 9372 46 11 35 40 0 8 0 amappl15 192 1211 0 1208 1 0 1 1 0 8 0 amappl14 184 688 0 685 2 1 1 1 0 8 0 amappl13 176 126 0 124 1 0 1 1 0 8 0 amappl12 168 213 0 209 2 1 1 1 0 8 0 amappl11 160 218 0 201 1 0 1 1 0 8 0 amappl10 152 921 0 918 1 0 1 1 0 8 0 amappl9 144 1098 0 1092 1 0 1 1 0 8 0 amappl8 136 1010 0 950 3 0 3 3 0 8 0 amappl7 128 438 0 427 1 0 1 1 0 8 0 amappl6 120 849 0 831 2 1 1 2 0 8 0 amappl5 112 4281 0 4271 1 0 1 1 0 8 0 amappl4 104 1444 0 1416 2 0 2 2 0 8 0 amappl3 96 11664 0 11632 2 0 2 2 0 8 0 amappl2 88 4898 0 4842 3 1 2 3 0 8 0 amappl1 80 100149 0 99645 26 11 15 19 0 8 0 amappl 88 21995 0 21848 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 130 0 0 3 0 3 3 0 8 0 uaddrrnd 24 4336 0 4224 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4336 0 4224 1 0 1 1 0 8 0 vmmpekpl 168 31856 0 31805 3 0 3 3 0 8 0 vmmpepl 168 409441 0 407242 186 58 128 141 0 357 1 vmsppl 272 4335 0 4224 9 1 8 8 0 8 0 rwobjpl 24 101586 0 94014 47 0 47 47 0 8 0 pdppl 4096 8678 0 8539 346 193 153 155 0 8 14 pvpl 32 1568336 0 1549331 314 137 177 240 0 265 0 pmappl 216 4335 0 4224 7 0 7 7 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 1420 0 525 27 0 27 27 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sblock(fffffd8074d8b550,fffffd8074d8b668,1) at sblock+0x4a soassertlocked sys/kern/uipc_socket2.c:323 [inline] sblock(fffffd8074d8b550,fffffd8074d8b668,1) at sblock+0x4a sys/kern/uipc_socket2.c:378 sosend(fffffd8074d8b550,0,ffff800021655710,0,0,0) at sosend+0x280 sys/kern/uipc_socket.c:517 fifo_write(ffff800021655660) at fifo_write+0x7c sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd8074329428,ffff800021655710,3,fffffd807f7d76c0) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 ktrwriteraw(ffff8000216107f0,fffffd8074329428,fffffd807f7d76c0,ffff8000216557d8,ffff8000216557b0) at ktrwriteraw+0x13d sys/kern/kern_ktrace.c:666 ktrgenio(ffff8000216107f0,35,1,ffff8000006c5bf0,40) at ktrgenio+0x27b ktrwrite2 sys/kern/kern_ktrace.c:630 [inline] ktrgenio(ffff8000216107f0,35,1,ffff8000006c5bf0,40) at ktrgenio+0x27b sys/kern/kern_ktrace.c:265 dofilewritev(ffff8000216107f0,35,ffff800021655958,0,ffff800021655a50) at dofilewritev+0x38a sys/kern/sys_generic.c:402 sys_write(ffff8000216107f0,ffff8000216559f0,ffff800021655a50) at sys_write+0x83 sys/kern/sys_generic.c:301 syscall(ffff800021655ac0) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2103ae890, count: -10 ddb> machine ddbcpu 1 No such command ddb> trace sblock(fffffd8074d8b550,fffffd8074d8b668,1) at sblock+0x4a soassertlocked sys/kern/uipc_socket2.c:323 [inline] sblock(fffffd8074d8b550,fffffd8074d8b668,1) at sblock+0x4a sys/kern/uipc_socket2.c:378 sosend(fffffd8074d8b550,0,ffff800021655710,0,0,0) at sosend+0x280 sys/kern/uipc_socket.c:517 fifo_write(ffff800021655660) at fifo_write+0x7c sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd8074329428,ffff800021655710,3,fffffd807f7d76c0) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 ktrwriteraw(ffff8000216107f0,fffffd8074329428,fffffd807f7d76c0,ffff8000216557d8,ffff8000216557b0) at ktrwriteraw+0x13d sys/kern/kern_ktrace.c:666 ktrgenio(ffff8000216107f0,35,1,ffff8000006c5bf0,40) at ktrgenio+0x27b ktrwrite2 sys/kern/kern_ktrace.c:630 [inline] ktrgenio(ffff8000216107f0,35,1,ffff8000006c5bf0,40) at ktrgenio+0x27b sys/kern/kern_ktrace.c:265 dofilewritev(ffff8000216107f0,35,ffff800021655958,0,ffff800021655a50) at dofilewritev+0x38a sys/kern/sys_generic.c:402 sys_write(ffff8000216107f0,ffff8000216559f0,ffff800021655a50) at sys_write+0x83 sys/kern/sys_generic.c:301 syscall(ffff800021655ac0) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2103ae890, count: -10