tls: reject the combination of TLS and sockmap
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 460e6486617c17dd19abe8f3fc67d9a6fa25f8ca, Kernel a08e780b6cc1153cbff8be55de9ec9da809e344f, Kernel c3d4d537337f69e405a36fa561e7292ee4148bf7 and 2 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =4.20, >=d3b18ad31f93d0b6bae105c679018a1ba7daa9ca <460e6486617c17dd19abe8f3fc67d9a6fa25f8ca, >=d3b18ad31f93d0b6bae105c679018a1ba7daa9ca <a08e780b6cc1153cbff8be55de9ec9da809e344f, >=d3b18ad31f93d0b6bae105c679018a1ba7daa9ca <c3d4d537337f69e405a36fa561e7292ee4148bf7, >=d3b18ad31f93d0b6bae105c679018a1ba7daa9ca <c4896592744f30ff026f799947c5978bcfd7c8c7, >=d3b18ad31f93d0b6bae105c679018a1ba7daa9ca <e26aa709454d48c3b3ef8d3100c8a04e7d9fd94e | 460e6486617c17dd19abe8f3fc67d9a6fa25f8ca, a08e780b6cc1153cbff8be55de9ec9da809e344f, c3d4d537337f69e405a36fa561e7292ee4148bf7, c4896592744f30ff026f799947c5978bcfd7c8c7, e26aa709454d48c3b3ef8d3100c8a04e7d9fd94e |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket