CVE-2026-93824: tls: reject the combination of TLS and sockmap
In the Linux kernel, the following vulnerability has been resolved:
tls: reject the combination of TLS and sockmap
TLS and sockmap (BPF psock) integration hides a lot of latent bugs. Bugs which may be more or less relevant for real users but they are definitely exploitable.
We could not find anyone actively using this integration so let's reject this config. Adding a TLS socket to a sockmap was already rejected by skpsockinit() through the inetcskhasulp() check. We need to reject the attempts to configure the TLS keys (rather than adding the ULP itself) because checking prior to the ULP installation is tricky without risking a race with sockmap getting added in parallel (sockmap does not hold the socket lock).
This patch is a minimal rejection of the feature. Subsequent patch in the series will do a light dead code removal. Full cleanup would require a major rewrite of the Tx path, we don't need skmsg any more.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Reject configurations that combine TLS sockets with sockmap (BPF psock), including attempts to configure TLS keys for sockets already associated with sockmap.
Event History
Frequently Asked Questions
Who is realistically exposed to this issue?
Exposure is limited to systems that combine kernel TLS with sockmap/BPF psock integration. The provided information states that no active users of this integration were found.
What attacker capability is needed to exploit it?
An attacker would need to be able to cause TLS keys to be configured on a socket while it is associated with sockmap, or otherwise exercise the TLS-and-sockmap combination. The issue concerns latent bugs in that integration rather than ordinary TLS use alone.
Are default Linux TLS configurations affected?
The vulnerability data only identifies the combination of TLS and sockmap as affected. It does not indicate that TLS without sockmap, or a default configuration that does not use this integration, is affected.
What is the mitigation if the kernel fix cannot be deployed immediately?
Avoid using TLS sockets with sockmap/BPF psock integration, including configuring TLS keys for sockets that may be added to sockmap. The resolution described rejects this configuration.