Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-104031 Overview
CVE-2026-104031 is a memory leak vulnerability in the System Security Services Daemon (SSSD), specifically affecting the autofs responder service. When the autofs responder is enabled, memory allocated during successful request processing is not freed until the client connection terminates. A local attacker with valid credentials can keep a connection open and submit repeated valid requests, causing memory to accumulate until the service exhausts available resources. This condition results in a Denial of Service (DoS) against SSSD, which can disrupt identity, authentication, and automount services on affected Linux systems. The flaw is tracked under CWE-772: Missing Release of Resource after Effective Lifetime.
Critical Impact
A local authenticated attacker can exhaust system memory by repeatedly issuing valid autofs requests over a persistent connection, causing SSSD to become unresponsive and disrupting identity and automount services.
Affected Products
- SSSD (System Security Services Daemon) with the autofs responder service enabled
- Red Hat Enterprise Linux distributions shipping affected SSSD builds (see vendor advisory)
- Linux distributions downstream of SSSD that have not applied the upstream fix
Discovery Timeline
- 2026-10-06 - CVE-2026-104031 published to the National Vulnerability Database (NVD)
- 2026-10-06 - Last updated in NVD database
Technical Details for CVE-2026-104031
Vulnerability Analysis
SSSD is a system service that provides access to remote identity and authentication providers such as LDAP, Kerberos, and Active Directory. One of its responders handles autofs map lookups for on-demand filesystem mounting. The vulnerability lies in how this responder manages memory for request processing contexts.
Under normal operation, each successful autofs request allocates memory to hold intermediate state and response data. The defect is that this memory remains attached to the per-client talloc context for the lifetime of the connection rather than being released once the request completes. A client that keeps a single connection open and iterates through valid requests accumulates allocations indefinitely.
Root Cause
The root cause is a Missing Release of Resource after Effective Lifetime [CWE-772]. Request-scoped allocations in the autofs responder are tied to the connection context instead of a transient request context. Because freeing is deferred to connection teardown, long-lived clients can grow the responder's resident memory until the operating system's out-of-memory killer or allocation failures terminate SSSD or degrade the host.
Attack Vector
Exploitation requires local access with low privileges and no user interaction. An attacker opens a connection to the SSSD autofs responder socket and submits a steady stream of valid lookup requests. Each request contributes additional unreleased memory. The attacker does not need to send malformed input or bypass authentication, which makes exploitation reliable and difficult to distinguish from legitimate heavy automount usage.
No public proof-of-concept exploit is referenced in the vendor advisory, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Technical details for the leak path are described in the Red Hat CVE-2026-104031 Advisory and the associated Red Hat Bug Report #2479418.
Detection Methods for CVE-2026-104031
Indicators of Compromise
- Sustained growth of resident memory (RSS) for the sssd_autofs process without a corresponding increase in legitimate automount activity.
- Long-lived client connections to the SSSD autofs responder socket that issue high volumes of valid lookup requests.
- SSSD responder restarts or OOM-killer events in dmesg or the system journal naming sssd or sssd_autofs.
Detection Strategies
- Baseline normal memory usage of sssd_autofs and alert on deviations that exceed expected working set over a rolling window.
- Monitor the SSSD responder socket for clients with unusually long connection durations combined with high request rates.
- Correlate SSSD service restarts with preceding memory pressure to identify repeated DoS attempts.
Monitoring Recommendations
- Collect per-process memory metrics for all SSSD responders and forward them to a centralized monitoring or SIEM platform.
- Enable SSSD debug logging at a level sufficient to record client connect, request, and disconnect events for the autofs responder.
- Track oom-kill events and SSSD service state transitions via systemd journal collection.
How to Mitigate CVE-2026-104031
Immediate Actions Required
- Apply the SSSD package update provided by your Linux distribution as soon as it is available. Consult the Red Hat CVE-2026-104031 Advisory for Red Hat-specific errata.
- Audit which hosts have the autofs responder enabled in /etc/sssd/sssd.conf and prioritize patching those systems.
- Restrict local shell access on multi-user systems where automount is configured through SSSD.
Patch Information
Refer to the Red Hat CVE-2026-104031 Advisory and Red Hat Bug Report #2479418 for fixed package versions. Rebuild or redeploy container and virtual machine images that bundle SSSD once updated packages are installed.
Workarounds
- Disable the autofs responder if it is not required by removing autofs from the services directive in /etc/sssd/sssd.conf and restarting SSSD.
- Configure a systemd resource limit such as MemoryMax on the SSSD service to contain runaway memory growth and trigger controlled restarts.
- Periodically restart SSSD on hosts that cannot be patched immediately to reclaim leaked memory.
# Disable the autofs responder in SSSD and restart the service
sudo sed -i 's/^\(services\s*=.*\)\bautofs\b,\?//' /etc/sssd/sssd.conf
sudo systemctl restart sssd
# Optional: cap SSSD memory via a systemd override
sudo systemctl edit sssd
# Add the following in the override file:
# [Service]
# MemoryMax=512M
sudo systemctl daemon-reload
sudo systemctl restart sssd
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

