Vulnerability · Published Aug 22, 2025 · Assigned by Linux
CVE-2025-38616tls: handle data disappearing from under the TLS ULP
High 7.8
In plain English
A high-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 11% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
In the Linux kernel, the following vulnerability has been resolved: tls: handle data disappearing from under the TLS ULP TLS expects that it owns the receive queue of the TCP socket. This cannot be guaranteed in case the reader of the TCP socket entered before the TLS ULP was installed, or uses some non-standard read API (eg. zerocopy ones). Replace the WARN_ON() and a buggy early exit (which leaves anchor pointing to a freed skb) with real error handling. Wipe the parsing state and tell the reader to retry. We already reload the anchor every time we (re)acquire the socket lock, so the only condition we need to avoid is an out of bounds read (not having enough bytes in the socket for previously parsed record len). If some data was read from under TLS but there's enough in the queue we'll reload and decrypt what is most likely not a valid TLS record. Leading to some undefined behavior from TLS perspective (corrupting a stream? missing an alert? missing an attack?) but no kernel crash should take place.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 6.1.187-1 | DEBIAN-CVE-2025-38616 |
| Debian:13 | linux | 6.12.43-1 | DEBIAN-CVE-2025-38616 |
| Debian:14 | linux | 6.16.3-1 | DEBIAN-CVE-2025-38616 |
| Ubuntu:24.04:LTS | linux | 6.8.0-88.89 | UBUNTU-CVE-2025-38616 |
| Ubuntu:24.04:LTS | linux | 6.8.0-88.89 | USN-7889-1 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:24.04:LTS | linux-aws | 6.8.0-1043.45 | USN-7889-1 |
| Ubuntu:24.04:LTS | linux-aws | 6.8.0-1043.45 | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:24.04:LTS | linux-aws-6.14 | 6.14.0-1017.17~24.04.1 | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-aws-6.8 | 6.8.0-1043.45~22.04.1 | USN-7889-1 |
| Ubuntu:22.04:LTS | linux-aws-6.8 | 6.8.0-1043.45~22.04.1 | UBUNTU-CVE-2025-38616 |
| Ubuntu:24.04:LTS | linux-azure | 6.8.0-1044.50 | UBUNTU-CVE-2025-38616 |
| Ubuntu:24.04:LTS | linux-azure | 6.8.0-1044.50 | USN-7935-1 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:24.04:LTS | linux-azure-6.11 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:24.04:LTS | linux-azure-6.14 | 6.14.0-1017.17~24.04.1 | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-azure-6.8 | 6.8.0-1044.50~22.04.1 | USN-7935-1 |
| Ubuntu:22.04:LTS | linux-azure-6.8 | 6.8.0-1044.50~22.04.1 | UBUNTU-CVE-2025-38616 |
| Ubuntu:24.04:LTS | linux-azure-fde | 6.8.0-1046.53 | UBUNTU-CVE-2025-38616 |
| Ubuntu:25.10 | linux-azure-fde | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:24.04:LTS | linux-azure-fde-6.14 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.8 | 6.8.0-1046.53~22.04.1 | UBUNTU-CVE-2025-38616 |
| Ubuntu:24.04:LTS | linux-azure-nvidia | 6.8.0-1029.32 | UBUNTU-CVE-2025-38616 |
| Ubuntu:24.04:LTS | linux-azure-nvidia-6.14 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:24.04:LTS | linux-gcp | 6.8.0-1044.47 | USN-7889-4 |
| Ubuntu:24.04:LTS | linux-gcp | 6.8.0-1044.47 | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:24.04:LTS | linux-gcp-6.11 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:24.04:LTS | linux-gcp-6.14 | 6.14.0-1020.21~24.04.1 | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-gcp-6.8 | 6.8.0-1044.47~22.04.1 | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-gcp-6.8 | 6.8.0-1044.47~22.04.1 | USN-7889-4 |
| Ubuntu:24.04:LTS | linux-gke | 6.8.0-1040.45 | UBUNTU-CVE-2025-38616 |
| Ubuntu:24.04:LTS | linux-gke | 6.8.0-1040.45 | USN-7889-4 |
| Ubuntu:24.04:LTS | linux-gkeop | 6.8.0-1027.30 | USN-7889-4 |
| Ubuntu:24.04:LTS | linux-gkeop | 6.8.0-1027.30 | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:24.04:LTS | linux-hwe-6.11 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-hwe-6.8 | 6.8.0-88.89~22.04.2 | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-hwe-6.8 | 6.8.0-88.89~22.04.2 | USN-7889-6 |
| Ubuntu:24.04:LTS | linux-ibm | 6.8.0-1041.41 | UBUNTU-CVE-2025-38616 |
| Ubuntu:24.04:LTS | linux-ibm | 6.8.0-1041.41 | USN-7889-1 |
| Ubuntu:22.04:LTS | linux-ibm-6.8 | 6.8.0-1041.41~22.04.1 | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-ibm-6.8 | 6.8.0-1041.41~22.04.1 | USN-7889-5 |
| Ubuntu:24.04:LTS | linux-intel | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:24.04:LTS | linux-lowlatency | 6.8.0-88.89.1 | UBUNTU-CVE-2025-38616 |
| Ubuntu:24.04:LTS | linux-lowlatency | 6.8.0-88.89.1 | USN-7889-1 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:24.04:LTS | linux-lowlatency-hwe-6.11 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.8 | 6.8.0-88.89.1~22.04.1 | USN-7889-1 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.8 | 6.8.0-88.89.1~22.04.1 | UBUNTU-CVE-2025-38616 |
| Ubuntu:24.04:LTS | linux-nvidia | 6.8.0-1043.46 | UBUNTU-CVE-2025-38616 |
| Ubuntu:24.04:LTS | linux-nvidia | 6.8.0-1043.46 | USN-7889-1 |
| Ubuntu:24.04:LTS | linux-nvidia-6.11 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-nvidia-6.8 | 6.8.0-1043.46~22.04.1 | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-nvidia-6.8 | 6.8.0-1043.46~22.04.1 | USN-7889-1 |
| Ubuntu:24.04:LTS | linux-nvidia-lowlatency | 6.8.0-1043.46.1 | USN-7889-1 |
| Ubuntu:24.04:LTS | linux-nvidia-lowlatency | 6.8.0-1043.46.1 | UBUNTU-CVE-2025-38616 |
| Ubuntu:24.04:LTS | linux-nvidia-tegra | 6.8.0-1013.13 | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:24.04:LTS | linux-oem-6.11 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:24.04:LTS | linux-oem-6.14 | 6.14.0-1016.16 | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:24.04:LTS | linux-oem-6.8 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:24.04:LTS | linux-oracle | 6.8.0-1040.41 | USN-7889-1 |
| Ubuntu:24.04:LTS | linux-oracle | 6.8.0-1040.41 | UBUNTU-CVE-2025-38616 |
| Ubuntu:24.04:LTS | linux-oracle-6.14 | 6.14.0-1017.17~24.04.1 | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-oracle-6.8 | 6.8.0-1040.41~22.04.1 | USN-7889-6 |
| Ubuntu:22.04:LTS | linux-oracle-6.8 | 6.8.0-1040.41~22.04.1 | UBUNTU-CVE-2025-38616 |
| Ubuntu:24.04:LTS | linux-raspi | 6.8.0-1043.47 | USN-7889-7 |
| Ubuntu:24.04:LTS | linux-raspi | 6.8.0-1043.47 | UBUNTU-CVE-2025-38616 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:24.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:24.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:24.04:LTS | linux-riscv-6.14 | 6.14.0-36.36.1~24.04.1 | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-riscv-6.8 | 6.8.0-88.89~22.04.1 | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | no fix listed | UBUNTU-CVE-2025-38616 |
| Ubuntu:24.04:LTS | linux-xilinx | 6.8.0-1020.21 | UBUNTU-CVE-2025-38616 |
| Ubuntu:24.04:LTS | linux-xilinx | 6.8.0-1020.21 | USN-7889-7 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 84c61fe1a75b4255df1e1e7c054c9e6d048da417 – before ef50eaab631f9bf519ddbdfa42ccb0528adc1fc884c61fe1a75b4255df1e1e7c054c9e6d048da417 – before f1fe99919f629f980d0b8a7ff16950bffe06a85984c61fe1a75b4255df1e1e7c054c9e6d048da417 – before eb0336f213fe88bbdb7d2b19c9c9ec19245a315584c61fe1a75b4255df1e1e7c054c9e6d048da417 – before db3658a12d5ec4db7185ae7476151a50521b720784c61fe1a75b4255df1e1e7c054c9e6d048da417 – before 2fb97ed9e2672b4f6e24ce206ac1a875ce4bcb3884c61fe1a75b4255df1e1e7c054c9e6d048da417 – before 6db015fc4b5d5f63a64a193f65d98da3a7fc811d |
| Linux | Linux | 6.0 |
References
- https://git.kernel.org/stable/c/ef50eaab631f9bf519ddbdfa42ccb0528adc1fc8
- https://git.kernel.org/stable/c/f1fe99919f629f980d0b8a7ff16950bffe06a859
- https://git.kernel.org/stable/c/eb0336f213fe88bbdb7d2b19c9c9ec19245a3155
- https://git.kernel.org/stable/c/db3658a12d5ec4db7185ae7476151a50521b7207
- https://git.kernel.org/stable/c/2fb97ed9e2672b4f6e24ce206ac1a875ce4bcb38
- https://git.kernel.org/stable/c/6db015fc4b5d5f63a64a193f65d98da3a7fc811d