Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-93824

tls: reject the combination of TLS and sockmap

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • d3b18ad31f93d0b6bae105c679018a1ba7daa9ca to < c4896592744f30ff026f799947c5978bcfd7c8c7affected
  • d3b18ad31f93d0b6bae105c679018a1ba7daa9ca to < e26aa709454d48c3b3ef8d3100c8a04e7d9fd94eaffected
  • d3b18ad31f93d0b6bae105c679018a1ba7daa9ca to < c3d4d537337f69e405a36fa561e7292ee4148bf7affected
  • d3b18ad31f93d0b6bae105c679018a1ba7daa9ca to < a08e780b6cc1153cbff8be55de9ec9da809e344faffected
  • d3b18ad31f93d0b6bae105c679018a1ba7daa9ca to < 460e6486617c17dd19abe8f3fc67d9a6fa25f8caaffected

Linux Linux

Default version status: affected

  • 4.20affected
  • 0 to < 4.20unaffected
  • 6.1.189 to ≤ 6.1.*unaffected
  • 6.6.158 to ≤ 6.6.*unaffected
  • 6.12.111 to ≤ 6.12.*unaffected
  • 6.18.53 to ≤ 6.18.*unaffected
  • 7.2 to ≤ *unaffected

References