Warning: Permanently added '10.128.1.68' (ED25519) to the list of known hosts. panic: tcp_output Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 79451 40980 0 0x2 0 0 syz-executor2935066602 162435 86737 0 0x12 0x8 1K sshd db_enter() at db_enter+0x18 panic(ffffffff8257b2ef) at panic+0x177 tcp_output(ffff800000bb8300) at tcp_output+0x2cd2 tcp_send(fffffd806e9b0d68,fffffd806d881800,0,fffffd806d881500) at tcp_send+0xc4 sosend(fffffd806e9b0d68,0,ffff8000212c8b20,0,fffffd806d881500,0) at sosend+0x62a sendit(ffff800021233268,3,ffff8000212c8ca0,0,ffff8000212c8d90) at sendit+0x65d sys_sendmsg(ffff800021233268,ffff8000212c8d48,ffff8000212c8d90) at sys_sendmsg+0x198 syscall(ffff8000212c8e10) at syscall+0x4c3 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffec180, 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(ffffffff8257b2ef) at panic+0x177 tcp_output(ffff800000bb8300) at tcp_output+0x2cd2 tcp_send(fffffd806e9b0d68,fffffd806d881800,0,fffffd806d881500) at tcp_send+0xc4 sosend(fffffd806e9b0d68,0,ffff8000212c8b20,0,fffffd806d881500,0) at sosend+0x62a sendit(ffff800021233268,3,ffff8000212c8ca0,0,ffff8000212c8d90) at sendit+0x65d sys_sendmsg(ffff800021233268,ffff8000212c8d48,ffff8000212c8d90) at sys_sendmsg+0x198 syscall(ffff8000212c8e10) at syscall+0x4c3 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffec180, count: -9 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff8000212c8780 rbx 0xffffffff829a1b8f cpu_info_full_primary+0x2b8f rdx 0x3fd rcx 0 rax 0x12 r8 0x101010101010101 r9 0x8080808080808080 r10 0x137b4b27ca6c04a8 r11 0x9d206a6b33001bc6 r12 0xffffffff829a1990 cpu_info_full_primary+0x2990 r13 0 r14 0 r15 0x1 rip 0xffffffff81a16d08 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000212c8770 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor2935066602) pid=79451 stat=onproc flags process=2 proc=0 pri=51, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff800021232fc8,0xffffffff82af9b68 process=0xffff80002129a150 user=0xffff8000212c3000, vmspace=0xfffffd8008752450 estcpu=1, cpticks=1, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND *40980 79451 25339 0 7 0x2 syz-executor2935066602 25339 498431 86737 0 3 0x10008a sigsusp ksh 86737 162435 8576 0 7 0x1a sshd 49731 442725 1 0 3 0x100083 ttyin getty 8576 6081 1 0 3 0x88 kqread sshd 54215 277212 46142 73 3 0x1100090 kqread syslogd 46142 416531 1 0 3 0x100082 netio syslogd 27244 195976 1 0 3 0x100080 kqread resolvd 51591 288959 16768 77 3 0x100092 kqread dhcpleased 95548 317297 16768 77 3 0x100092 kqread dhcpleased 16768 321519 1 0 3 0x80 kqread dhcpleased 43180 133381 0 0 3 0x14200 bored smr 54173 330882 0 0 2 0x14200 zerothread 17695 301127 0 0 3 0x14200 aiodoned aiodoned 62451 389051 0 0 3 0x14200 syncer update 27972 46317 0 0 3 0x14200 cleaner cleaner 77997 265598 0 0 3 0x14200 reaper reaper 46222 13692 0 0 3 0x14200 pgdaemon pagedaemon 89347 25580 0 0 3 0x14200 bored viomb 71367 281177 0 0 3 0x40014200 acpi0 acpi0 61199 262557 0 0 3 0x40014200 idle1 12306 482815 0 0 3 0x14200 bored softnet 5867 504300 0 0 3 0x14200 bored softnet 23685 327665 0 0 2 0x14200 softnet 69286 362167 0 0 3 0x14200 bored softnet 28891 387956 0 0 3 0x14200 bored systqmp 73709 474432 0 0 3 0x14200 bored systq 67071 45028 0 0 3 0x40014200 bored softclock 45999 162928 0 0 3 0x40014200 idle0 1 278722 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 40980 (syz-executor2935066602) thread 0xffff800021233268 (79451) exclusive rwlock netlock r = 0 (0xffffffff8291ebe0) #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 111 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 410 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 52 2K 4K 78643K 1455 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 2346 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 21 0 18 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 26 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 97 0 0 7 0 7 7 0 8 0 art_table 32 98 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 4155 0 4155 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 3789 0 3788 2 1 1 2 0 8 0 plimitpl 152 15 0 9 1 0 1 1 0 8 0 sigapl 424 306 0 276 4 0 4 4 0 8 0 knotepl 120 45 0 0 2 0 2 2 0 8 0 kqueuepl 216 20 0 13 1 0 1 1 0 8 0 pipepl 320 83 0 80 2 1 1 1 0 8 0 fdescpl 496 289 0 276 3 1 2 3 0 8 0 filepl 152 1068 0 1014 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 276 0 276 2 1 1 1 0 8 1 processpl 1064 306 0 276 3 0 3 3 0 8 0 procpl 672 306 0 276 3 0 3 3 0 8 0 sockpl 488 80 0 57 3 0 3 3 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 77 0 0 10 0 10 10 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 142 0 0 8 0 8 8 0 8 0 bufpl 288 1909 0 77 131 0 131 131 0 8 0 anonpl 24 36144 0 34370 14 2 12 13 0 186 1 amapchunkpl 152 2655 0 2567 5 1 4 5 0 158 0 amappl16 200 27 0 26 2 1 1 1 0 8 0 amappl15 192 63 0 59 1 0 1 1 0 8 0 amappl13 176 32 0 31 2 1 1 1 0 8 0 amappl12 168 3 0 3 2 1 1 1 0 8 1 amappl11 160 60 0 47 1 0 1 1 0 8 0 amappl10 152 1 0 0 1 0 1 1 0 8 0 amappl9 144 471 0 468 1 0 1 1 0 8 0 amappl8 136 351 0 350 2 1 1 1 0 8 0 amappl7 128 62 0 55 1 0 1 1 0 8 0 amappl6 120 82 0 76 1 0 1 1 0 8 0 amappl5 112 87 0 78 1 0 1 1 0 8 0 amappl4 104 586 0 568 1 0 1 1 0 8 0 amappl3 96 430 0 407 1 0 1 1 0 8 0 amappl2 88 301 0 274 1 0 1 1 0 8 0 amappl1 80 9191 0 8812 10 1 9 9 0 8 0 amappl 88 1191 0 1155 2 1 1 2 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 289 0 276 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 289 0 276 1 0 1 1 0 8 0 vmmpekpl 168 5992 0 5974 1 0 1 1 0 8 0 vmmpepl 168 25847 0 25071 39 1 38 38 0 357 0 vmsppl 368 288 0 276 2 0 2 2 0 8 0 rwobjpl 56 9398 0 7456 29 0 29 29 0 8 0 pdppl 4096 585 0 552 59 26 33 41 0 8 0 pvpl 32 120038 0 116416 36 3 33 33 0 265 1 pmappl 248 288 0 276 2 1 1 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 408 0 29 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(ffffffff8257b2ef) at panic+0x177 tcp_output(ffff800000bb8300) at tcp_output+0x2cd2 tcp_send(fffffd806e9b0d68,fffffd806d881800,0,fffffd806d881500) at tcp_send+0xc4 sosend(fffffd806e9b0d68,0,ffff8000212c8b20,0,fffffd806d881500,0) at sosend+0x62a sendit(ffff800021233268,3,ffff8000212c8ca0,0,ffff8000212c8d90) at sendit+0x65d sys_sendmsg(ffff800021233268,ffff8000212c8d48,ffff8000212c8d90) at sys_sendmsg+0x198 syscall(ffff8000212c8e10) at syscall+0x4c3 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffec180, count: -9 ddb{0}> machine ddbcpu 1