CVE-2025-38471

Severity CVSS v4.0:
Pending analysis
Type:
CWE-416 Use After Free
Publication date:
28/07/2025
Last modified:
12/05/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> tls: always refresh the queue when reading sock<br /> <br /> After recent changes in net-next TCP compacts skbs much more<br /> aggressively. This unearthed a bug in TLS where we may try<br /> to operate on an old skb when checking if all skbs in the<br /> queue have matching decrypt state and geometry.<br /> <br /> BUG: KASAN: slab-use-after-free in tls_strp_check_rcv+0x898/0x9a0 [tls]<br /> (net/tls/tls_strp.c:436 net/tls/tls_strp.c:530 net/tls/tls_strp.c:544)<br /> Read of size 4 at addr ffff888013085750 by task tls/13529<br /> <br /> CPU: 2 UID: 0 PID: 13529 Comm: tls Not tainted 6.16.0-rc5-virtme<br /> Call Trace:<br /> kasan_report+0xca/0x100<br /> tls_strp_check_rcv+0x898/0x9a0 [tls]<br /> tls_rx_rec_wait+0x2c9/0x8d0 [tls]<br /> tls_sw_recvmsg+0x40f/0x1aa0 [tls]<br /> inet_recvmsg+0x1c3/0x1f0<br /> <br /> Always reload the queue, fast path is to have the record in the queue<br /> when we wake, anyway (IOW the path going down "if !strp-&gt;stm.full_len").

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.0.6 (including) 6.1 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.1.1 (including) 6.1.147 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.6.100 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.12.40 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.13 (including) 6.15.8 (excluding)
cpe:2.3:o:linux:linux_kernel:6.1:-:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc7:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc8:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*