
OpenSSH Server (sshd) Signal Handler Race Condition (regreSSHion)
Affected Product: OpenSSH sshd (8.5p1–9.7p1 on glibc Linux)
A regression in OpenSSH signal handling creates an unauthenticated remote code execution race condition as root on glibc Linux hosts.
CVE-2024-6387, scored 8.1 High under CVSS v3.1, reintroduces a signal handler race condition in sshd when a client fails to authenticate within LoginGraceTime (default 120 seconds). Affecting OpenSSH versions 8.5p1 through 9.7p1 on glibc-based Linux systems, successful exploitation yields root code execution without credentials.
The vulnerability was fixed in OpenSSH 9.8p1 and backported across major Linux distributions; setting LoginGraceTime to 0 in sshd_config mitigates the race condition at the trade-off of potential connection-slot exhaustion.




