Warning: Permanently added '10.128.0.174' (ED25519) to the list of known hosts. executing program panic: tcp_output Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 106603 61254 0 0x2 0 1 syz-executor2184815006 *127302 61254 0 0x2 0x4000000 0 syz-executor2184815006 db_enter() at db_enter+0x18 panic(ffffffff8257befc) at panic+0x177 tcp_output(ffff800000bb8600) at tcp_output+0x2cd2 tcp_send(fffffd806e995b80,fffffd806ee80c00,0,fffffd80793e6200) at tcp_send+0xc4 sosend(fffffd806e995b80,0,ffff8000212ca020,0,fffffd80793e6200,0) at sosend+0x62a sendit(ffff800021232fc8,3,ffff8000212ca1a0,0,ffff8000212ca290) at sendit+0x65d sys_sendmsg(ffff800021232fc8,ffff8000212ca248,ffff8000212ca290) at sys_sendmsg+0x198 syscall(ffff8000212ca310) at syscall+0x4c3 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa337b1b9710, count: 6 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: tcp_output ddb{0}> trace db_enter() at db_enter+0x18 panic(ffffffff8257befc) at panic+0x177 tcp_output(ffff800000bb8600) at tcp_output+0x2cd2 tcp_send(fffffd806e995b80,fffffd806ee80c00,0,fffffd80793e6200) at tcp_send+0xc4 sosend(fffffd806e995b80,0,ffff8000212ca020,0,fffffd80793e6200,0) at sosend+0x62a sendit(ffff800021232fc8,3,ffff8000212ca1a0,0,ffff8000212ca290) at sendit+0x65d sys_sendmsg(ffff800021232fc8,ffff8000212ca248,ffff8000212ca290) at sys_sendmsg+0x198 syscall(ffff8000212ca310) at syscall+0x4c3 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa337b1b9710, count: -9 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff8000212c9c80 rbx 0xffffffff82934b8f cpu_info_full_primary+0x2b8f rdx 0x3fd rcx 0 rax 0x12 r8 0x101010101010101 r9 0x8080808080808080 r10 0x925f1c197a7a0a41 r11 0xfed8affb8d7b6625 r12 0xffffffff82934990 cpu_info_full_primary+0x2990 r13 0 r14 0 r15 0x1 rip 0xffffffff823fc058 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000212c9c70 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor2184815006) pid=127302 stat=onproc flags process=2 proc=4000000 pri=32, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff800021232a88,0xffffffff82a76648 process=0xffff8000ffff4860 user=0xffff8000212c5000, vmspace=0xfffffd807effc000 estcpu=1, cpticks=1, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 61254 106603 38875 0 7 0x2 syz-executor2184815006 *61254 127302 38875 0 7 0x4000002 syz-executor2184815006 38875 451500 39420 0 3 0x10008a sigsusp ksh 39420 258826 31660 0 3 0x9a kqread sshd 20497 143072 1 0 3 0x100083 ttyin getty 31660 141529 1 0 3 0x88 kqread sshd 42145 248732 44623 73 3 0x1100090 kqread syslogd 44623 190816 1 0 3 0x100082 netio syslogd 1272 400467 1 0 3 0x100080 kqread resolvd 76368 430707 56331 77 3 0x100092 kqread dhcpleased 46049 78497 56331 77 3 0x100092 kqread dhcpleased 56331 157402 1 0 3 0x80 kqread dhcpleased 65705 255889 0 0 3 0x14200 bored smr 53216 382432 0 0 3 0x14200 pgzero zerothread 97155 454251 0 0 3 0x14200 aiodoned aiodoned 47062 344135 0 0 3 0x14200 syncer update 64840 37701 0 0 3 0x14200 cleaner cleaner 83611 136715 0 0 3 0x14200 reaper reaper 30851 486960 0 0 3 0x14200 pgdaemon pagedaemon 47450 311497 0 0 3 0x14200 bored viomb 97130 167402 0 0 3 0x40014200 acpi0 acpi0 3272 483137 0 0 3 0x40014200 idle1 60572 40046 0 0 3 0x14200 bored softnet 9504 509266 0 0 3 0x14200 bored softnet 84558 401412 0 0 3 0x14200 bored softnet 97858 70063 0 0 3 0x14200 bored softnet 39293 466481 0 0 3 0x14200 bored systqmp 47166 269364 0 0 3 0x14200 bored systq 74481 111377 0 0 3 0x40014200 bored softclock 79317 404386 0 0 3 0x40014200 idle0 1 224331 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 61254 (syz-executor2184815006) thread 0xffff800021232fc8 (127302) exclusive rwlock netlock r = 0 (0xffffffff8292fbb0) #0 witness_lock+0x44d #1 sosend+0x500 #2 sendit+0x65d #3 sys_sendmsg+0x198 #4 syscall+0x4c3 #5 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10149 6388K 6419K 78643K 11239 0 pcb 13 8K 8K 78643K 13 0 rtable 58 1K 2K 78643K 103 0 ifaddr 25 7K 7K 78643K 25 0 counters 40 33K 33K 78643K 40 0 ioctlops 0 0K 2K 78643K 25 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1166 73K 73K 78643K 1179 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 1K 1K 78643K 2 0 sem 2 0K 0K 78643K 2 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 1 0K 0K 78643K 1 0 proc 55 78K 79K 78643K 226 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 11 0K 0K 78643K 11 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 25 122K 122K 78643K 25 0 exec 0 0K 2K 78643K 390 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 8 62K 62K 78643K 8 0 UVM amap 55 2K 4K 78643K 1405 0 UVM aobj 3 2K 2K 78643K 3 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 3 0K 0K 78643K 3 0 temp 18 4709K 4773K 78643K 2253 0 kqueue 11 16K 18K 78643K 24 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 17 0 14 1 0 1 1 0 8 0 rtentry 112 23 0 1 1 0 1 1 0 8 0 unpcb 144 33 0 20 1 0 1 1 0 8 0 syncache 296 5 0 5 2 1 1 1 0 8 1 tcpcb 768 9 0 5 1 0 1 1 0 8 0 arp 120 2 0 0 1 0 1 1 0 8 0 inpcb 368 27 0 19 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 96 0 0 6 0 6 6 0 8 0 art_table 32 97 0 0 1 0 1 1 0 8 0 art_node 16 22 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1415 0 38 87 0 87 87 0 8 0 ffsino 272 1415 0 38 92 0 92 92 0 8 0 nchpl 144 1600 0 46 58 0 58 58 0 8 0 uvmvnodes 80 1424 0 0 30 0 30 30 0 8 0 vnodes 216 1424 0 0 80 0 80 80 0 8 0 namei 1024 4093 0 4093 2 1 1 1 0 8 1 percpumem 16 32 0 0 1 0 1 1 0 8 0 kstatmem 264 6 0 0 1 0 1 1 0 8 0 scxspl 216 3769 0 3769 2 1 1 2 0 8 1 plimitpl 152 15 0 9 1 0 1 1 0 8 0 sigapl 424 294 0 264 4 0 4 4 0 8 0 futexpl 64 1 0 1 1 0 1 1 0 8 1 knotepl 120 47 0 0 2 0 2 2 0 8 0 kqueuepl 216 20 0 13 1 0 1 1 0 8 0 pipepl 320 79 0 76 2 1 1 1 0 8 0 fdescpl 496 277 0 264 3 1 2 3 0 8 0 filepl 152 1045 0 990 3 0 3 3 0 8 0 lockfpl 104 6 0 4 1 0 1 1 0 8 0 lockfspl 48 4 0 2 1 0 1 1 0 8 0 sessionpl 144 17 0 9 1 0 1 1 0 8 0 pgrppl 48 17 0 9 1 0 1 1 0 8 0 ucredpl 104 64 0 54 1 0 1 1 0 8 0 zombiepl 144 264 0 264 2 1 1 1 0 8 1 processpl 1064 294 0 264 3 0 3 3 0 8 0 procpl 672 295 0 264 3 0 3 3 0 8 0 sockpl 488 77 0 53 3 0 3 3 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 78 0 0 10 0 10 10 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 135 0 0 9 0 9 9 0 8 0 bufpl 288 1919 0 77 132 0 132 132 0 8 0 anonpl 24 35711 0 33786 15 3 12 13 0 186 0 amapchunkpl 152 2597 0 2500 5 1 4 5 0 158 0 amappl16 200 27 0 26 2 1 1 1 0 8 0 amappl15 192 59 0 55 1 0 1 1 0 8 0 amappl14 184 2 0 1 1 0 1 1 0 8 0 amappl13 176 32 0 31 2 1 1 1 0 8 0 amappl12 168 4 0 4 2 1 1 1 0 8 1 amappl11 160 60 0 47 1 0 1 1 0 8 0 amappl9 144 480 0 478 1 0 1 1 0 8 0 amappl8 136 336 0 333 1 0 1 1 0 8 0 amappl7 128 62 0 55 1 0 1 1 0 8 0 amappl6 120 77 0 71 1 0 1 1 0 8 0 amappl5 112 82 0 73 1 0 1 1 0 8 0 amappl4 104 572 0 552 1 0 1 1 0 8 0 amappl3 96 401 0 376 1 0 1 1 0 8 0 amappl2 88 285 0 258 1 0 1 1 0 8 0 amappl1 80 8833 0 8442 11 2 9 9 0 8 0 amappl 88 1151 0 1113 1 0 1 1 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 277 0 264 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 277 0 264 1 0 1 1 0 8 0 vmmpekpl 168 5948 0 5933 1 0 1 1 0 8 0 vmmpepl 168 25017 0 24192 41 3 38 38 0 357 2 vmsppl 368 276 0 264 2 0 2 2 0 8 0 rwobjpl 56 9086 0 7125 29 0 29 29 0 8 0 pdppl 4096 561 0 528 48 15 33 41 0 8 0 pvpl 32 116544 0 112758 36 3 33 33 0 265 2 pmappl 248 276 0 264 2 1 1 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 398 0 18 11 0 11 11 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x18 panic(ffffffff8257befc) at panic+0x177 tcp_output(ffff800000bb8600) at tcp_output+0x2cd2 tcp_send(fffffd806e995b80,fffffd806ee80c00,0,fffffd80793e6200) at tcp_send+0xc4 sosend(fffffd806e995b80,0,ffff8000212ca020,0,fffffd80793e6200,0) at sosend+0x62a sendit(ffff800021232fc8,3,ffff8000212ca1a0,0,ffff8000212ca290) at sendit+0x65d sys_sendmsg(ffff800021232fc8,ffff8000212ca248,ffff8000212ca290) at sys_sendmsg+0x198 syscall(ffff8000212ca310) at syscall+0x4c3 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa337b1b9710, count: -9 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020dd8ff0) at x86_ipi_db+0x1a x86_ipi_handler() at x86_ipi_handler+0xb7 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 end of kernel end trace frame: 0x7f7ffffe8210, count: 12 ddb{1}> trace x86_ipi_db(ffff800020dd8ff0) at x86_ipi_db+0x1a x86_ipi_handler() at x86_ipi_handler+0xb7 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 end of kernel end trace frame: 0x7f7ffffe8210, count: -3 ddb{1}>