Skip to content

x/crypto/ssh: prevent DoS on deadlocked undecided channel #81316

Closed

Description

@thatnealpatel

Previously, a channel registered in the mux's chanList is
not usable until it is established. A malicious peer was
able flood the channel's incomingRequests, deadlocking the
entire connection.

Now, we add an atomic established state, set when a channel
becomes usable. Until such a time, handlePacket drops every
packet other than the open confirmation/failure, without
blocking and without tearing down the connection.

Thanks to Will Mortensen for reporting this issue.

This is CVE-2026-78662 and Go issue https://go.dev/issue/81316.


This was a PRIVATE originally tracked in http://b/553516417.

Activity

  1. gopherbot commented on Sep 2, 2026

    @gopherbot
    Contributor

    Change https://go.dev/cl/826504 mentions this issue: ssh: drop traffic on undecided channels

  2. changed the title [-]security: fix CVE-2026-78662[/-] [+]x/crypto/ssh: prevent DoS on deadlocked undecided channel[/+] on Sep 2, 2026
  3. added a commit that references this issue on Sep 2, 2026
    a6cdac6
  4. added this to the Unreleased milestone on Sep 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions