OpenSSH Server Signal Handler Race Condition Unauthenticated Root RCE (regreSSHion)
An async-signal-safety race condition in OpenSSH's sshd (8.5p1 through 9.7p1) on glibc-based Linux systems allows unauthenticated remote attackers to achieve root code execution when LoginGraceTime expires.
Product
Affected Versions
Upstream Patched Versions
OpenSSH
8.5p1 - 9.7p1 (glibc Linux 系统)
9.8p1 (及 Ubuntu/Debian/RHEL 安全更新包)
Trigger Conditions & Triage Notes
Affects glibc-based Linux systems running OpenSSH 8.5p1 to 9.7p1, particularly when port 22 is exposed to untrusted networks.
Mitigation & Workarounds
Apply your Linux vendor's backported openssh-server security update via apt/dnf, restrict SSH ingress by IP allowlist, or temporarily set `LoginGraceTime 0` in sshd_config.
Linux Distribution Backport Notice: If you install packages (such as OpenSSL, Nginx, or PHP) via Ubuntu/Debian apt or RHEL/AlmaLinux dnf, security patches are typically backported into older upstream version numbers. Verify your OS vendor security tracker before compiling from source.