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(fffffd806e537e10,fffffd806e537f28,1) at sblock+0x4a soassertlocked sys/kern/uipc_socket2.c:323 [inline] sblock(fffffd806e537e10,fffffd806e537f28,1) at sblock+0x4a sys/kern/uipc_socket2.c:378 sosend(fffffd806e537e10,0,ffff800023139630,0,0,0) at sosend+0x280 sys/kern/uipc_socket.c:527 fifo_write(ffff800023139580) at fifo_write+0x7c sys/miscfs/fifofs/fifo_vnops.c:288 VOP_WRITE(fffffd8068e46d58,ffff800023139630,3,fffffd807f7d75a0) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002165fcf0,fffffd8068e46d58,fffffd807f7d75a0,ffff8000231396f0,ffff8000231396d0) at ktrwriteraw+0x13d sys/kern/kern_ktrace.c:666 ktrgenio(ffff80002165fcf0,f9,0,ffff8000006c3400,40) at ktrgenio+0x26b ktrwrite2 sys/kern/kern_ktrace.c:630 [inline] ktrgenio(ffff80002165fcf0,f9,0,ffff8000006c3400,40) at ktrgenio+0x26b sys/kern/kern_ktrace.c:265 dofilereadv(ffff80002165fcf0,f9,ffff800023139868,0,ffff800023139960) at dofilereadv+0x2e0 sys/kern/sys_generic.c:268 sys_read(ffff80002165fcf0,ffff800023139900,ffff800023139960) at sys_read+0x83 sys/kern/sys_generic.c:172 syscall(ffff8000231399d0) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffeb120, count: -10 ddb> show registers rdi 0 rsi 0 rbp 0xffff800023139440 rbx 0xfffffd806e537f28 rdx 0 rcx 0xffff80002165fcf4 rax 0x4fa547b7c302a699 r8 0 r9 0 r10 0xa40edbf02b4117bb r11 0x6d7c92c9c1955a59 r12 0xfffffd806e537e01 r13 0x1 r14 0xfffffd806e537f78 r15 0xfffffd806e537e10 rip 0xffffffff81b8434a sblock+0x4a cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000231393e0 ss 0x10 sblock+0x4a: movq 0x8(%rax),%rax ddb> show proc PROC (syz-executor.2) pid=203922 stat=onproc flags process=2 proc=1 pri=24, usrpri=63, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff9a48,0xffff80002166f510 process=0xffff800021640bc8 user=0xffff800023134000, vmspace=0xfffffd8075821de0 estcpu=13, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 12602 135798 19344 0 2 0x2 syz-executor.3 22264 3003 0 0 3 0x14280 nfsidl nfsio 75210 402569 0 0 3 0x14280 nfsidl nfsio 41918 87317 0 0 3 0x14280 nfsidl nfsio 40183 523700 0 0 3 0x14280 nfsidl nfsio 67679 345231 0 0 3 0x14280 nfsidl nfsio 17045 138612 0 0 3 0x14280 nfsidl nfsio 69346 466691 0 0 3 0x14200 bored sosplice 87643 123325 19344 0 3 0x82 piperd syz-executor.1 *71927 203922 19344 0 7 0x3 syz-executor.2 57320 428792 19344 0 2 0x83 syz-executor.0 19344 44743 6603 0 3 0x82 thrsleep syz-fuzzer 19344 351267 6603 0 3 0x4000082 nanoslp syz-fuzzer 19344 380222 6603 0 3 0x4000082 thrsleep syz-fuzzer 19344 129062 6603 0 3 0x4000082 thrsleep syz-fuzzer 19344 246760 6603 0 3 0x4000082 thrsleep syz-fuzzer 19344 62501 6603 0 3 0x4000082 kqread syz-fuzzer 19344 469017 6603 0 2 0x4000083 syz-fuzzer 6603 169899 5360 0 3 0x10008a sigsusp ksh 5360 44566 11111 0 3 0x9a poll sshd 43935 56254 1 0 3 0x100083 ttyin getty 11111 459109 1 0 3 0x88 poll sshd 74133 192587 7397 73 3 0x100090 kqread syslogd 7397 447331 1 0 3 0x100082 netio syslogd 89799 486450 1 0 3 0x100080 kqread resolvd 80045 515978 96181 77 3 0x100092 kqread dhcpleased 98492 259774 96181 77 3 0x100092 kqread dhcpleased 96181 423155 1 0 3 0x80 kqread dhcpleased 13029 478434 0 0 3 0x14200 bored smr 95688 151708 0 0 2 0x14200 zerothread 79324 466799 0 0 3 0x14200 aiodoned aiodoned 24551 241877 0 0 3 0x14200 syncer update 37132 292544 0 0 3 0x14200 cleaner cleaner 13015 140838 0 0 3 0x14200 reaper reaper 82647 434582 0 0 3 0x14200 pgdaemon pagedaemon 96320 455327 0 0 3 0x14200 bored viomb 37253 95424 0 0 3 0x40014200 acpi0 acpi0 12494 292760 0 0 3 0x14200 bored softnet 92545 170879 0 0 3 0x14200 bored systqmp 75549 448492 0 0 3 0x14200 bored systq 46059 577 0 0 3 0x40014200 bored softclock 65533 188898 0 0 3 0x40014200 idle0 1 376913 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 10141 6388K 6980K 78643K 13045 0 pcb 13 12K 14K 78643K 261 0 rtable 142 7K 8K 78643K 352 0 ifaddr 53 13K 14K 78643K 82 0 counters 22 16K 16K 78643K 26 0 ioctlops 0 0K 4K 78643K 157 0 iov 0 0K 12K 78643K 21 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1296 81K 82K 78643K 1762 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 0K 78643K 30 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 6 17K 45K 78643K 487 0 proc 57 55K 71K 78643K 453 0 subproc 52 3K 3K 78643K 91 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 9 0 in_multi 44 2K 3K 78643K 97 0 ether_multi 1 0K 0K 78643K 4 0 mrt 0 0K 0K 78643K 6 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 49 228K 228K 78643K 49 0 exec 0 0K 2K 78643K 522 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 199 92K 93K 78643K 6885 0 UVM aobj 9 2K 2K 78643K 12 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 22 0 NDP 6 0K 1K 78643K 24 0 temp 59 4183K 4255K 78643K 12189 0 kqueue 10 14K 16K 78643K 24 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 72 0 69 2 0 2 2 0 8 1 rtentry 112 103 0 48 2 0 2 2 0 8 0 unpcb 136 210 0 197 3 2 1 3 0 8 0 syncache 296 4 0 4 1 1 0 1 0 8 0 tcpqe 32 123 0 123 1 1 0 1 0 8 0 tcpcb 736 495 0 491 9 2 7 9 0 8 6 arp 88 16 0 8 1 0 1 1 0 8 0 inpcb 304 937 0 930 11 4 7 11 0 8 6 rttmr 72 3 0 3 1 1 0 1 0 8 0 nd6 48 21 0 12 1 0 1 1 0 8 0 kcovpl 48 7 0 3 1 0 1 1 0 8 0 pfrktable 1344 9 0 2 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfrule 1360 104 0 86 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 408 0 176 18 0 18 18 0 8 1 art_table 32 409 0 176 3 0 3 3 0 8 0 art_node 16 102 0 52 1 0 1 1 0 8 0 semupl 112 6 0 6 1 1 0 1 0 8 0 semapl 112 25 0 15 1 0 1 1 0 8 0 shmpl 112 9 0 3 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1931 0 525 89 0 89 89 0 8 0 ffsino 240 1931 0 525 83 0 83 83 0 8 0 nchpl 144 2718 0 1124 61 0 61 61 0 8 0 uvmvnodes 80 2482 0 0 51 0 51 51 0 8 0 vnodes 224 2482 0 0 146 0 146 146 0 8 0 namei 1024 9073 0 9073 1 0 1 1 0 8 1 vcpupl 1984 4 0 0 1 0 1 1 0 8 0 vmpool 528 8 0 4 1 0 1 1 0 8 0 pfiaddrpl 120 9 0 0 1 0 1 1 0 8 0 scxspl 216 7790 0 7790 9 7 2 8 0 8 2 plimitpl 152 169 0 159 1 0 1 1 0 8 0 sigapl 424 703 0 666 6 1 5 5 0 8 0 futexpl 64 4691 0 4691 1 0 1 1 0 8 1 knotepl 112 478 0 428 2 0 2 2 0 8 0 kqueuepl 184 115 0 109 4 3 1 4 0 8 0 pipepl 304 157 0 141 2 0 2 2 0 8 0 fdescpl 432 683 0 666 3 0 3 3 0 8 0 filepl 120 4536 0 4391 10 3 7 10 0 8 2 lockfpl 104 62 0 60 1 0 1 1 0 8 0 lockfspl 48 31 0 29 1 0 1 1 0 8 0 sessionpl 144 22 0 10 1 0 1 1 0 8 0 pgrppl 48 22 0 10 1 0 1 1 0 8 0 ucredpl 96 339 0 329 1 0 1 1 0 8 0 zombiepl 144 666 0 665 1 0 1 1 0 8 0 processpl 1000 703 0 665 6 0 6 6 0 8 0 procpl 672 1425 0 1381 6 0 6 6 0 8 0 sosppl 168 9 0 9 1 0 1 1 0 8 1 sockpl 448 1219 0 1196 19 8 11 18 0 8 8 mcl64k 65536 41 0 41 1 0 1 1 0 8 1 mcl16k 16384 4 0 4 1 1 0 1 0 8 0 mcl12k 12288 10 0 10 1 0 1 1 0 8 1 mcl9k 9216 4 0 4 2 1 1 1 0 8 1 mcl8k 8192 37 0 37 1 0 1 1 0 8 1 mcl4k 4096 58 0 58 1 0 1 1 0 8 1 mcl2k2 2112 7 0 7 2 1 1 1 0 8 1 mcl2k 2048 77132 0 77090 17 10 7 17 0 8 0 mtagpl 96 35 0 22 2 1 1 1 0 8 0 mbufpl 256 126037 0 125844 17 1 16 17 0 8 0 bufpl 288 4060 0 150 280 0 280 280 0 8 0 anonpl 24 163586 0 149642 117 6 111 116 0 188 0 amapchunkpl 152 16654 0 16120 29 2 27 28 0 158 3 amappl16 200 1675 0 1025 37 2 35 37 0 8 0 amappl15 192 2 0 0 1 0 1 1 0 8 0 amappl14 184 4 0 0 1 0 1 1 0 8 0 amappl13 176 70 0 69 1 0 1 1 0 8 0 amappl12 168 113 0 109 1 0 1 1 0 8 0 amappl11 160 106 0 94 1 0 1 1 0 8 0 amappl10 152 45 0 39 1 0 1 1 0 8 0 amappl9 144 695 0 689 1 0 1 1 0 8 0 amappl8 136 397 0 361 2 0 2 2 0 8 0 amappl7 128 80 0 73 1 0 1 1 0 8 0 amappl6 120 398 0 381 1 0 1 1 0 8 0 amappl5 112 597 0 584 1 0 1 1 0 8 0 amappl4 104 697 0 672 1 0 1 1 0 8 0 amappl3 96 276 0 259 1 0 1 1 0 8 0 amappl2 88 398 0 357 2 0 2 2 0 8 0 amappl1 80 15234 0 14817 12 1 11 12 0 8 1 amappl 88 6523 0 6380 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 11 0 3 1 0 1 1 0 8 0 uaddrrnd 24 691 0 670 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 691 0 670 1 0 1 1 0 8 0 vmmpekpl 168 10581 0 10549 2 0 2 2 0 8 0 vmmpepl 168 68819 0 66993 118 2 116 116 0 357 25 vmsppl 272 690 0 670 3 1 2 2 0 8 0 rwobjpl 24 19809 0 15934 24 0 24 24 0 8 0 pdppl 4096 1389 0 1344 77 24 53 55 0 8 8 pvpl 32 362967 0 345780 187 7 180 187 0 265 3 pmappl 216 690 0 670 2 0 2 2 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 626 0 49 17 0 17 17 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sblock(fffffd806e537e10,fffffd806e537f28,1) at sblock+0x4a soassertlocked sys/kern/uipc_socket2.c:323 [inline] sblock(fffffd806e537e10,fffffd806e537f28,1) at sblock+0x4a sys/kern/uipc_socket2.c:378 sosend(fffffd806e537e10,0,ffff800023139630,0,0,0) at sosend+0x280 sys/kern/uipc_socket.c:527 fifo_write(ffff800023139580) at fifo_write+0x7c sys/miscfs/fifofs/fifo_vnops.c:288 VOP_WRITE(fffffd8068e46d58,ffff800023139630,3,fffffd807f7d75a0) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002165fcf0,fffffd8068e46d58,fffffd807f7d75a0,ffff8000231396f0,ffff8000231396d0) at ktrwriteraw+0x13d sys/kern/kern_ktrace.c:666 ktrgenio(ffff80002165fcf0,f9,0,ffff8000006c3400,40) at ktrgenio+0x26b ktrwrite2 sys/kern/kern_ktrace.c:630 [inline] ktrgenio(ffff80002165fcf0,f9,0,ffff8000006c3400,40) at ktrgenio+0x26b sys/kern/kern_ktrace.c:265 dofilereadv(ffff80002165fcf0,f9,ffff800023139868,0,ffff800023139960) at dofilereadv+0x2e0 sys/kern/sys_generic.c:268 sys_read(ffff80002165fcf0,ffff800023139900,ffff800023139960) at sys_read+0x83 sys/kern/sys_generic.c:172 syscall(ffff8000231399d0) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffeb120, count: -10 ddb> machine ddbcpu 1 No such command ddb> trace sblock(fffffd806e537e10,fffffd806e537f28,1) at sblock+0x4a soassertlocked sys/kern/uipc_socket2.c:323 [inline] sblock(fffffd806e537e10,fffffd806e537f28,1) at sblock+0x4a sys/kern/uipc_socket2.c:378 sosend(fffffd806e537e10,0,ffff800023139630,0,0,0) at sosend+0x280 sys/kern/uipc_socket.c:527 fifo_write(ffff800023139580) at fifo_write+0x7c sys/miscfs/fifofs/fifo_vnops.c:288 VOP_WRITE(fffffd8068e46d58,ffff800023139630,3,fffffd807f7d75a0) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002165fcf0,fffffd8068e46d58,fffffd807f7d75a0,ffff8000231396f0,ffff8000231396d0) at ktrwriteraw+0x13d sys/kern/kern_ktrace.c:666 ktrgenio(ffff80002165fcf0,f9,0,ffff8000006c3400,40) at ktrgenio+0x26b ktrwrite2 sys/kern/kern_ktrace.c:630 [inline] ktrgenio(ffff80002165fcf0,f9,0,ffff8000006c3400,40) at ktrgenio+0x26b sys/kern/kern_ktrace.c:265 dofilereadv(ffff80002165fcf0,f9,ffff800023139868,0,ffff800023139960) at dofilereadv+0x2e0 sys/kern/sys_generic.c:268 sys_read(ffff80002165fcf0,ffff800023139900,ffff800023139960) at sys_read+0x83 sys/kern/sys_generic.c:172 syscall(ffff8000231399d0) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffeb120, count: -10