Skip to contentSkip to conversation

CVE-2026-93824: tls: reject the combination of TLS and sockmap

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 24

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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 sk_psock_init() through the inet_csk_has_ulp() 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.

The Linux kernel CVE team has assigned CVE-2026-93824 to this issue.

Affected and fixed versions
===========================

	Fixed in 6.12.111 with commit c3d4d537337f69e405a36fa561e7292ee4148bf7
	Fixed in 6.18.53 with commit a08e780b6cc1153cbff8be55de9ec9da809e344f
	Fixed in 7.2 with commit 460e6486617c17dd19abe8f3fc67d9a6fa25f8ca

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-93824

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
net/tls/tls_main.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/c3d4d537337f69e405a36fa561e7292ee4148bf7
	https://git.kernel.org/stable/c/a08e780b6cc1153cbff8be55de9ec9da809e344f
	https://git.kernel.org/stable/c/460e6486617c17dd19abe8f3fc67d9a6fa25f8ca