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.

Affected products

VendorProductVersions
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <c3d4d537337f69e405a36fa561e7292ee4148bf7; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <a08e780b6cc1153cbff8be55de9ec9da809e344f; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <460e6486617c17dd19abe8f3fc67d9a6fa25f8ca; 0 to <6.12.111; 0 to <6.18.53
LinuxLinux6.12.111 to <=6.12.*; 6.18.53 to <=6.18.*; 7.2 to <=*

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 25 Sep 2026 07:05 UTC.