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(fffffd8068d668f8,fffffd8068d66a10,1) at sblock+0x4a soassertlocked sys/kern/uipc_socket2.c:316 [inline] sblock(fffffd8068d668f8,fffffd8068d66a10,1) at sblock+0x4a sys/kern/uipc_socket2.c:371 sosend(fffffd8068d668f8,0,ffff80002cda2e30,0,0,0) at sosend+0x27c sys/kern/uipc_socket.c:520 fifo_write(ffff80002cda2d80) at fifo_write+0x7c sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd8075d44128,ffff80002cda2e30,3,fffffd807f7d7660) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 ktrwriteraw(ffff8000215f0a80,fffffd8075d44128,fffffd807f7d7660,ffff80002cda2ef8,ffff80002cda2ed0) at ktrwriteraw+0x13d sys/kern/kern_ktrace.c:666 ktrgenio(ffff8000215f0a80,f9,0,ffff8000006c5880,40) at ktrgenio+0x27b ktrwrite2 sys/kern/kern_ktrace.c:630 [inline] ktrgenio(ffff8000215f0a80,f9,0,ffff8000006c5880,40) at ktrgenio+0x27b sys/kern/kern_ktrace.c:265 dofilereadv(ffff8000215f0a80,f9,ffff80002cda3068,0,ffff80002cda3160) at dofilereadv+0x2e0 sys/kern/sys_generic.c:269 sys_read(ffff8000215f0a80,ffff80002cda3100,ffff80002cda3160) at sys_read+0x83 sys/kern/sys_generic.c:173 syscall(ffff80002cda31d0) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcf3a0, count: -10 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002cda2c40 rbx 0xfffffd8068d668f8 rdx 0 rcx 0xfffffd8068d668f8 rax 0xa7722db8371478e4 r8 0 r9 0 r10 0xf09f939b3b681fe9 r11 0x5203720fdb6a9810 r12 0xfffffd8068d66801 r13 0x1 r14 0xfffffd8068d66a60 r15 0xfffffd8068d668f8 rip 0xffffffff8130b9da sblock+0x4a cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002cda2be0 ss 0x10 sblock+0x4a: movq 0x8(%rax),%rax ddb> show proc PROC (syz-executor.7) pid=428502 stat=onproc flags process=2 proc=1 pri=24, usrpri=71, nice=20 forw=0xffffffffffffffff, list=0xffff80002169e548,0xffff8000230d02b0 process=0xffff800021644bd8 user=0xffff80002cd9e000, vmspace=0xfffffd807bb9f668 estcpu=21, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 87478 444203 8073 0 3 0x82 piperd syz-executor.6 77146 484068 0 0 3 0x14200 acct acct 49419 473517 8073 0 2 0x83 syz-executor.0 73132 394644 0 0 3 0x14200 bored sosplice 42944 286914 1 0 3 0x100083 ttyin getty *64035 428502 8073 0 7 0x3 syz-executor.7 3320 244894 8073 0 3 0x82 piperd syz-executor.4 80843 189768 8073 0 2 0x2 syz-executor.3 20115 203498 8073 0 3 0x82 wait syz-executor.5 23689 206570 8073 0 2 0x83 syz-executor.2 14153 276224 8073 0 3 0x82 piperd syz-executor.1 8073 488685 78711 0 3 0x82 thrsleep syz-fuzzer 8073 474780 78711 0 3 0x4000082 nanoslp syz-fuzzer 8073 109850 78711 0 2 0x4000083 syz-fuzzer 8073 142745 78711 0 2 0x4000083 syz-fuzzer 8073 242559 78711 0 3 0x4000082 thrsleep syz-fuzzer 8073 53056 78711 0 3 0x4000082 kqread syz-fuzzer 8073 196781 78711 0 3 0x4000082 thrsleep syz-fuzzer 8073 370115 78711 0 3 0x4000082 thrsleep syz-fuzzer 8073 104285 78711 0 3 0x4000082 thrsleep syz-fuzzer 78711 121578 43217 0 3 0x10008a sigsusp ksh 43217 12963 84534 0 3 0x9a kqread sshd 84534 217430 1 0 3 0x88 kqread sshd 89480 181617 98351 73 3 0x1100090 kqread syslogd 98351 448810 1 0 3 0x100082 netio syslogd 25708 290482 1 0 3 0x100080 kqread resolvd 28343 251688 97028 77 3 0x100092 kqread dhcpleased 5676 319222 97028 77 3 0x100092 kqread dhcpleased 97028 21486 1 0 3 0x80 kqread dhcpleased 63333 341785 0 0 3 0x14200 bored smr 46659 223299 0 0 2 0x14200 zerothread 18264 73385 0 0 3 0x14200 aiodoned aiodoned 27662 203436 0 0 3 0x14200 syncer update 68503 223960 0 0 3 0x14200 cleaner cleaner 42164 286109 0 0 3 0x14200 reaper reaper 43836 131183 0 0 3 0x14200 pgdaemon pagedaemon 45209 36555 0 0 3 0x14200 bored viomb 40807 196419 0 0 3 0x40014200 acpi0 acpi0 86718 238542 0 0 3 0x14200 bored softnet 92979 26676 0 0 3 0x14200 bored softnet 50224 465173 0 0 3 0x14200 bored softnet 45500 222826 0 0 3 0x14200 bored softnet 35072 289533 0 0 3 0x14200 bored systqmp 97642 132836 0 0 3 0x14200 bored systq 65306 363372 0 0 3 0x40014200 bored softclock 12930 337782 0 0 3 0x40014200 idle0 1 480983 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 10167 6405K 6797K 78643K 13819 0 pcb 13 14K 15K 78643K 229 0 rtable 227 8K 9K 78643K 1157 0 ifaddr 82 17K 18K 78643K 277 0 sysctl 2 0K 0K 78643K 5 0 counters 27 17K 17K 78643K 38 0 ioctlops 0 0K 4K 78643K 337 0 iov 0 0K 32K 78643K 99 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1324 83K 83K 78643K 2007 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 0K 1K 78643K 27 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 11 37K 69K 78643K 1557 0 sigio 0 0K 0K 78643K 7 0 proc 58 59K 75K 78643K 606 0 subproc 104 6K 6K 78643K 156 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 20 0 in_multi 98 6K 7K 78643K 161 0 ether_multi 1 0K 0K 78643K 3 0 mrt 0 0K 0K 78643K 11 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 55 254K 254K 78643K 55 0 exec 0 0K 2K 78643K 1071 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 217 129K 130K 78643K 9809 0 UVM aobj 21 2K 2K 78643K 24 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 20 0 NDP 11 0K 2K 78643K 47 0 temp 145 4791K 5774K 78643K 9412 0 kqueue 12 18K 26K 78643K 168 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 95 0 92 1 0 1 1 0 8 0 rtentry 112 169 0 66 4 0 4 4 0 8 0 unpcb 136 961 0 948 12 11 1 6 0 8 0 syncache 296 20 0 20 4 3 1 1 0 8 1 tcpqe 32 64 0 64 3 3 0 1 0 8 0 tcpcb 736 466 0 460 18 12 6 7 0 8 4 arp 88 26 0 10 1 0 1 1 0 8 0 inpcb 312 1383 0 1376 23 19 4 11 0 8 3 nd6 48 39 0 17 1 0 1 1 0 8 0 pkpcb 40 7 0 7 2 2 0 1 0 8 0 kcovpl 48 12 0 4 1 0 1 1 0 8 0 ppxss 1152 7 0 7 2 1 1 1 0 8 1 pfstscr 40 72 0 70 1 0 1 1 0 8 0 pfrktable 1344 287 0 284 3 2 1 1 0 8 0 pftag 88 83 0 83 2 2 0 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 112 72 0 70 1 0 1 1 0 8 0 pfstate 336 36 0 35 1 0 1 1 0 8 0 pfrule 1360 115 0 108 5 4 1 1 0 8 0 rttmr 64 5 0 5 2 2 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 666 0 230 29 1 28 29 0 8 0 art_table 32 667 0 230 4 0 4 4 0 8 0 art_node 16 165 0 71 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 5 1 0 1 1 0 8 0 semupl 112 5 0 5 1 1 0 1 0 8 0 semapl 112 25 0 15 1 0 1 1 0 8 0 shmpl 112 21 0 3 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 3621 0 2193 90 0 90 90 0 8 0 ffsino 240 3621 0 2193 85 0 85 85 0 8 0 nchpl 144 5810 0 4174 63 0 63 63 0 8 0 uvmvnodes 80 4083 0 0 84 0 84 84 0 8 0 vnodes 224 4083 0 0 241 0 241 241 0 8 0 namei 1024 20210 0 20210 5 4 1 2 0 8 1 vcpupl 1984 3 0 0 1 0 1 1 0 8 0 vmpool 528 3 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 96 0 93 3 2 1 1 0 8 0 kstatmem 264 44 0 22 2 0 2 2 0 8 0 scsiplug 72 6 0 6 1 1 0 1 0 8 0 scxspl 216 16105 0 16105 23 22 1 8 0 8 1 plimitpl 152 144 0 130 1 0 1 1 0 8 0 sigapl 424 1854 0 1813 8 1 7 8 0 8 0 futexpl 64 14960 0 14960 4 3 1 1 0 8 1 knotepl 120 27674 0 27594 14 9 5 10 0 8 1 kqueuepl 184 302 0 294 4 3 1 4 0 8 0 pipepl 304 343 0 315 8 0 8 8 0 8 5 fdescpl 432 1813 0 1791 4 0 4 4 0 8 0 filepl 120 10821 0 10586 28 14 14 14 0 8 5 lockfpl 104 470 0 468 2 0 2 2 0 8 1 lockfspl 48 116 0 114 1 0 1 1 0 8 0 sessionpl 144 28 0 12 1 0 1 1 0 8 0 pgrppl 48 28 0 12 1 0 1 1 0 8 0 ucredpl 96 2117 0 2107 1 0 1 1 0 8 0 zombiepl 144 1815 0 1813 4 3 1 1 0 8 0 processpl 1000 1854 0 1813 11 3 8 9 0 8 1 procpl 672 4304 0 4255 10 2 8 8 0 8 1 sosppl 168 13 0 13 2 1 1 1 0 8 1 sockpl 448 2446 0 2423 62 54 8 18 0 8 5 mcl64k 65536 51 0 51 6 5 1 1 0 8 1 mcl16k 16384 15 0 15 5 5 0 1 0 8 0 mcl12k 12288 51 0 51 5 4 1 1 0 8 1 mcl9k 9216 21 0 21 5 4 1 1 0 8 1 mcl8k 8192 95 0 95 2 1 1 1 0 8 1 mcl4k 4096 177 0 177 4 3 1 1 0 8 1 mcl2k2 2112 48 0 48 5 4 1 1 0 8 1 mcl2k 2048 71296 0 71244 17 8 9 11 0 8 1 mtagpl 96 415 0 108 9 1 8 8 0 8 0 mbufpl 256 126563 0 126039 56 16 40 51 0 8 4 bufpl 288 5803 0 156 404 0 404 404 0 8 0 anonpl 24 325935 0 310900 133 27 106 117 0 188 1 amapchunkpl 152 27675 0 27150 42 17 25 39 0 158 0 amappl16 200 4446 0 3842 69 36 33 43 0 8 0 amappl15 192 258 0 255 1 0 1 1 0 8 0 amappl14 184 7 0 3 1 0 1 1 0 8 0 amappl13 176 222 0 220 1 0 1 1 0 8 0 amappl12 168 191 0 185 1 0 1 1 0 8 0 amappl11 160 86 0 70 1 0 1 1 0 8 0 amappl10 152 186 0 182 1 0 1 1 0 8 0 amappl9 144 856 0 849 1 0 1 1 0 8 0 amappl8 136 948 0 897 2 0 2 2 0 8 0 amappl7 128 449 0 437 1 0 1 1 0 8 0 amappl6 120 587 0 571 2 1 1 2 0 8 0 amappl5 112 1541 0 1529 1 0 1 1 0 8 0 amappl4 104 882 0 854 2 0 2 2 0 8 0 amappl3 96 4896 0 4863 2 0 2 2 0 8 0 amappl2 88 2281 0 2224 3 1 2 3 0 8 0 amappl1 80 44071 0 43554 19 5 14 18 0 8 0 amappl 88 9281 0 9148 4 0 4 4 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 23 0 3 1 0 1 1 0 8 0 uaddrrnd 24 1816 0 1791 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1816 0 1791 1 0 1 1 0 8 0 vmmpekpl 168 17208 0 17156 3 0 3 3 0 8 0 vmmpepl 168 178453 0 176353 168 46 122 122 0 357 10 vmsppl 272 1815 0 1791 3 0 3 3 0 8 1 rwobjpl 24 47439 0 41862 35 0 35 35 0 8 0 pdppl 4096 3638 0 3585 187 124 63 67 0 8 10 pvpl 32 738370 0 719571 270 92 178 222 0 265 1 pmappl 216 1815 0 1791 2 0 2 2 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 1009 0 258 22 0 22 22 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sblock(fffffd8068d668f8,fffffd8068d66a10,1) at sblock+0x4a soassertlocked sys/kern/uipc_socket2.c:316 [inline] sblock(fffffd8068d668f8,fffffd8068d66a10,1) at sblock+0x4a sys/kern/uipc_socket2.c:371 sosend(fffffd8068d668f8,0,ffff80002cda2e30,0,0,0) at sosend+0x27c sys/kern/uipc_socket.c:520 fifo_write(ffff80002cda2d80) at fifo_write+0x7c sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd8075d44128,ffff80002cda2e30,3,fffffd807f7d7660) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 ktrwriteraw(ffff8000215f0a80,fffffd8075d44128,fffffd807f7d7660,ffff80002cda2ef8,ffff80002cda2ed0) at ktrwriteraw+0x13d sys/kern/kern_ktrace.c:666 ktrgenio(ffff8000215f0a80,f9,0,ffff8000006c5880,40) at ktrgenio+0x27b ktrwrite2 sys/kern/kern_ktrace.c:630 [inline] ktrgenio(ffff8000215f0a80,f9,0,ffff8000006c5880,40) at ktrgenio+0x27b sys/kern/kern_ktrace.c:265 dofilereadv(ffff8000215f0a80,f9,ffff80002cda3068,0,ffff80002cda3160) at dofilereadv+0x2e0 sys/kern/sys_generic.c:269 sys_read(ffff8000215f0a80,ffff80002cda3100,ffff80002cda3160) at sys_read+0x83 sys/kern/sys_generic.c:173 syscall(ffff80002cda31d0) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcf3a0, count: -10 ddb> machine ddbcpu 1 No such command ddb> trace sblock(fffffd8068d668f8,fffffd8068d66a10,1) at sblock+0x4a soassertlocked sys/kern/uipc_socket2.c:316 [inline] sblock(fffffd8068d668f8,fffffd8068d66a10,1) at sblock+0x4a sys/kern/uipc_socket2.c:371 sosend(fffffd8068d668f8,0,ffff80002cda2e30,0,0,0) at sosend+0x27c sys/kern/uipc_socket.c:520 fifo_write(ffff80002cda2d80) at fifo_write+0x7c sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd8075d44128,ffff80002cda2e30,3,fffffd807f7d7660) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 ktrwriteraw(ffff8000215f0a80,fffffd8075d44128,fffffd807f7d7660,ffff80002cda2ef8,ffff80002cda2ed0) at ktrwriteraw+0x13d sys/kern/kern_ktrace.c:666 ktrgenio(ffff8000215f0a80,f9,0,ffff8000006c5880,40) at ktrgenio+0x27b ktrwrite2 sys/kern/kern_ktrace.c:630 [inline] ktrgenio(ffff8000215f0a80,f9,0,ffff8000006c5880,40) at ktrgenio+0x27b sys/kern/kern_ktrace.c:265 dofilereadv(ffff8000215f0a80,f9,ffff80002cda3068,0,ffff80002cda3160) at dofilereadv+0x2e0 sys/kern/sys_generic.c:269 sys_read(ffff8000215f0a80,ffff80002cda3100,ffff80002cda3160) at sys_read+0x83 sys/kern/sys_generic.c:173 syscall(ffff80002cda31d0) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcf3a0, count: -10