CVE-2025-39946

In the Linux kernel, the following vulnerability has been resolved: tls: make sure to abort the stream if headers are bogus Normally we wait for the socket to buffer up the whole record before we service it. If the socket has a tiny buffer, however, we read out the data sooner, to prevent connection stalls. Make sure that we abort the connection when we find out late that the record is actually invalid. Retrying the parsing is fine in itself but since we copy some more data each time before we parse we can overflow the allocated skb space. Constructing a scenario in which we're under pressure without enough data in the socket to parse the length upfront is quite hard. syzbot figured out a way to do this by serving us the header in small OOB sends, and then filling in the recvbuf with a large normal send. Make sure that tls_rx_msg_size() aborts strp, if we reach an invalid record there's really no way to recover.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc6:*:*:*:*:*:*

History

19 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: tls: asegurarse de abortar el flujo si los encabezados son inválidos Normalmente esperamos a que el socket almacene en búfer todo el registro antes de procesarlo. Sin embargo, si el socket tiene un búfer diminuto, leemos los datos antes para evitar bloqueos de conexión. Asegurarse de que abortamos la conexión cuando descubrimos tarde que el registro es realmente inválido. Reintentar el análisis está bien en sí mismo, pero dado que copiamos más datos cada vez antes de analizar, podemos desbordar el espacio skb asignado. Construir un escenario en el que estamos bajo presión sin suficientes datos en el socket para analizar la longitud de antemano es bastante difícil. syzbot encontró una manera de hacer esto sirviéndonos el encabezado en pequeños envíos OOB, y luego llenando el recvbuf con un envío normal grande. Asegurarse de que tls_rx_msg_size() aborta strp; si llegamos a un registro inválido, realmente no hay forma de recuperarse.

Information

Published : 2025-10-04 08:15

Updated : 2026-10-19 21:10


NVD link : CVE-2025-39946

Mitre link : CVE-2025-39946

CVE.ORG link : CVE-2025-39946


JSON object : View

Products Affected

linux

  • linux_kernel