CVE-2025-39946: critical vulnerability in Linux
tls: make sure to abort the stream if headers are bogus
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
A flaw in Linux kernel's TLS implementation allows an attacker to cause a buffer overflow by sending malformed TLS record headers in small fragments followed by large data, potentially crashing the system or executing code.
The vulnerability exists in TLS record parsing when the kernel buffers incomplete records and attempts to recover by re-parsing with additional socket data. An attacker can exploit this by sending fragmented bogus headers followed by a large payload, causing the parser to overflow the allocated skb space when it retries parsing. The issue occurs because tls_rx_msg_size() fails to abort the stream parser (strp) upon detecting invalid records, allowing continued processing of corrupt data.
In the same product, most dangerous first.