CVE-2025-37756
JSON

7.8high

net: tls: explicitly disallow disconnect

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.31% (higher than 25% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: net: tls: explicitly disallow disconnect syzbot discovered that it can disconnect a TLS socket and then run into all sort of unexpected corner cases. I have a vague recollection of Eric pointing this out to us a long time ago. Supporting disconnect is really hard, for one thing if offload is enabled we'd need to wait for all packets to be _acked_. Disconnect is not commonly used, disallow it. The immediate problem syzbot run into is the warning in the strp, but that's just the easiest bug to trigger: WARNING: CPU: 0 PID: 5834 at net/tls/tls_strp.c:486 tls_strp_msg_load+0x72e/0xa80 net/tls/tls_strp.c:486 RIP: 0010:tls_strp_msg_load+0x72e/0xa80 net/tls/tls_strp.c:486 Call Trace: <TASK> tls_rx_rec_wait+0x280/0xa60 net/tls/tls_sw.c:1363 tls_sw_recvmsg+0x85c/0x1c30 net/tls/tls_sw.c:2043 inet6_recvmsg+0x2c9/0x730 net/ipv6/af_inet6.c:678 sock_recvmsg_nosec net/socket.c:1023 [inline] sock_recvmsg+0x109/0x280 net/socket.c:1045 __sys_recvfrom+0x202/0x380 net/socket.c:2237

Affected

Product or packageVersionsReported by
Linux Linuxfrom 3c4d7559159bfe1e3b94df3a657b2cda3a34e218 before 7bdcf5bc35ae59fc4a0fa23276e84b4d1534a3cf, from 3c4d7559159bfe1e3b94df3a657b2cda3a34e218 before ac91c6125468be720eafde9c973994cb45b61d44, from 3c4d7559159bfe1e3b94df3a657b2cda3a34e218 before f3ce4d3f874ab7919edca364c147ac735f9f1d04, from 3c4d7559159bfe1e3b94df3a657b2cda3a34e218 before 2bcad8fefcecdd5f005d8c550b25d703c063c34a, from 3c4d7559159bfe1e3b94df3a657b2cda3a34e218 before 9fcbca0f801580cbb583e9cb274e2c7fbe766ca6, from 3c4d7559159bfe1e3b94df3a657b2cda3a34e218 before c665bef891e8972e1d3ce5bbc0d42a373346a2c3, from 3c4d7559159bfe1e3b94df3a657b2cda3a34e218 before 8513411ec321942bd3cfed53d5bb700665c67d86, from 3c4d7559159bfe1e3b94df3a657b2cda3a34e218 before 5071a1e606b30c0c11278d3c6620cd6a24724cf6 and 1 more
Not affected: before 4.13, from 5.10.237 up to 5.10.*, from 5.15.181 up to 5.15.*, from 6.1.135 up to 6.1.*, from 6.6.88 up to 6.6.*, from 6.12.24 up to 6.12.*
CVE List
linux linux_kernelfrom 4.13 before 5.10.237, from 5.11 before 5.15.181, from 5.16 before 6.1.135, from 6.2 before 6.6.88, from 6.7 before 6.12.24, from 6.13 before 6.13.12, from 6.14 before 6.14.3, 6.15NVD
debian debian_linux11.0NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: net: tls: explicitly disallow disconnect syzbot discovered that it can disconnect a TLS socket and then run into all sort of unexpected corner cases. I have a vague recollection of Eric pointing this out to us a long time ago. Supporting disconnect is really hard, for one thing if offload is enabled we'd need to wait for all packets to be _acked_. Disconnect is not commonly used, disallow it. The immediate problem syzbot run into is the warning in the strp, but that's just the easiest bug to trigger: WARNING: CPU: 0 PID: 5834 at net/tls/tls_strp.c:486 tls_strp_msg_load+0x72e/0xa80 net/tls/tls_strp.c:486 RIP: 0010:tls_strp_msg_load+0x72e/0xa80 net/tls/tls_strp.c:486 Call Trace: <TASK> tls_rx_rec_wait+0x280/0xa60 net/tls/tls_sw.c:1363 tls_sw_recvmsg+0x85c/0x1c30 net/tls/tls_sw.c:2043 inet6_recvmsg+0x2c9/0x730 net/ipv6/af_inet6.c:678 sock_recvmsg_nosec net/socket.c:1023 [inline] sock_recvmsg+0x109/0x280 net/socket.c:1045 __sys_recvfrom+0x202/0x380 net/socket.c:2237

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: tls: explícitamente deshabilitar la desconexión. syzbot descubrió que puede desconectar un socket TLS y luego encontrarse con todo tipo de casos inesperados. Recuerdo vagamente que Eric nos lo señaló hace mucho tiempo. Admitir la desconexión es muy difícil; por ejemplo, si la descarga está habilitada, tendríamos que esperar a que se ackearan todos los paquetes. La desconexión no se usa comúnmente; deshabilitarla. El problema inmediato con el que se encuentra syzbot es la advertencia en el strp, pero ese es simplemente el error más fácil de activar: ADVERTENCIA: CPU: 0 PID: 5834 en net/tls/tls_strp.c:486 tls_strp_msg_load+0x72e/0xa80 net/tls/tls_strp.c:486 RIP: 0010:tls_strp_msg_load+0x72e/0xa80 net/tls/tls_strp.c:486 Rastreo de llamada: tls_rx_rec_wait+0x280/0xa60 net/tls/tls_sw.c:1363 tls_sw_recvmsg+0x85c/0x1c30 net/tls/tls_sw.c:2043 inet6_recvmsg+0x2c9/0x730 net/ipv6/af_inet6.c:678 sock_recvmsg_nosec net/socket.c:1023 [en línea] sock_recvmsg+0x109/0x280 net/socket.c:1045 __sys_recvfrom+0x202/0x380 net/socket.c:2237

References

https://git.kernel.org/stable/c/7bdcf5bc35ae59fc4a0fa23276e84b4d1534a3cfpatch
https://git.kernel.org/stable/c/ac91c6125468be720eafde9c973994cb45b61d44patch
https://git.kernel.org/stable/c/f3ce4d3f874ab7919edca364c147ac735f9f1d04patch
https://git.kernel.org/stable/c/2bcad8fefcecdd5f005d8c550b25d703c063c34apatch
https://git.kernel.org/stable/c/9fcbca0f801580cbb583e9cb274e2c7fbe766ca6patch
https://git.kernel.org/stable/c/c665bef891e8972e1d3ce5bbc0d42a373346a2c3patch
https://git.kernel.org/stable/c/8513411ec321942bd3cfed53d5bb700665c67d86patch
https://git.kernel.org/stable/c/5071a1e606b30c0c11278d3c6620cd6a24724cf6patch
https://lists.debian.org/debian-lts-announce/2025/05/msg00045.htmlmailing-list
https://lists.debian.org/debian-lts-announce/2025/05/msg00030.htmlmailing-list
http://www.openwall.com/lists/oss-security/2026/05/07/1

Sources

SourceRecordLicence
CVE ListCVE-2025-37756 changed 2026-10-15CVE Terms of Use
NVDCVE-2025-37756 changed 2026-10-15Public domain