Vulnerability · Published Aug 19, 2025 · Assigned by Linux
CVE-2025-38571sunrpc: fix client side handling of tls alerts
High 8.2
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.3% (higher than 29% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
In the Linux kernel, the following vulnerability has been resolved: sunrpc: fix client side handling of tls alerts A security exploit was discovered in NFS over TLS in tls_alert_recv due to its assumption that there is valid data in the msghdr's iterator's kvec. Instead, this patch proposes the rework how control messages are setup and used by sock_recvmsg(). If no control message structure is setup, kTLS layer will read and process TLS data record types. As soon as it encounters a TLS control message, it would return an error. At that point, NFS can setup a kvec backed control buffer and read in the control message such as a TLS alert. Scott found that a msg iterator can advance the kvec pointer as a part of the copy process thus we need to revert the iterator before calling into the tls_alert_recv.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | kernel | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-64k | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-64k-core | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-64k-debug | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-64k-debug-core | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-64k-debug-devel | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-64k-debug-devel-matched | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-64k-debug-modules | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-64k-debug-modules-core | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-64k-debug-modules-extra | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-64k-devel | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-64k-devel-matched | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-64k-modules | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-64k-modules-core | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-64k-modules-extra | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:10 | kernel-abi-stablelists | 6.12.0-55.40.1.el10_0 | ALSA-2025:18318 |
| AlmaLinux:9 | kernel-abi-stablelists | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-core | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-cross-headers | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-debug | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-debug-core | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-debug-devel | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-debug-devel-matched | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-debug-modules | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-debug-modules-core | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-debug-modules-extra | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-debug-uki-virt | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-devel | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-devel-matched | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:10 | kernel-doc | 6.12.0-55.40.1.el10_0 | ALSA-2025:18318 |
| AlmaLinux:9 | kernel-doc | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-headers | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-modules | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-modules-core | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-modules-extra | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-rt | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-rt-64k | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-rt-64k-core | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-rt-64k-debug | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-rt-64k-debug-core | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-rt-64k-debug-devel | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-rt-64k-debug-modules | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-rt-64k-debug-modules-core | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-rt-64k-debug-modules-extra | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-rt-64k-devel | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-rt-64k-modules | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-rt-64k-modules-core | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-rt-64k-modules-extra | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-rt-core | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-rt-debug | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-rt-debug-core | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-rt-debug-devel | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-rt-debug-kvm | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-rt-debug-modules | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-rt-debug-modules-core | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-rt-debug-modules-extra | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-rt-devel | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-rt-kvm | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-rt-modules | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-rt-modules-core | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-rt-modules-extra | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-tools | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-tools-libs | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-tools-libs-devel | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-uki-virt | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-uki-virt-addons | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-zfcpdump | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-zfcpdump-core | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-zfcpdump-devel | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-zfcpdump-devel-matched | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-zfcpdump-modules | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-zfcpdump-modules-core | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | kernel-zfcpdump-modules-extra | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | libperf | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | perf | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | python3-perf | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | rtla | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux:9 | rv | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| Debian:13 | linux | 6.12.43-1 | DEBIAN-CVE-2025-38571 |
| Debian:14 | linux | 6.16.3-1 | DEBIAN-CVE-2025-38571 |
| Rocky Linux:10 | kernel | 0:6.12.0-55.40.1.el10_0 | RLSA-2025:18318 |
| Ubuntu:24.04:LTS | linux | 6.8.0-100.100 | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:24.04:LTS | linux-aws | 6.8.0-1046.49 | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:24.04:LTS | linux-aws-6.14 | 6.14.0-1017.17~24.04.1 | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-aws-6.8 | 6.8.0-1046.49~22.04.1 | UBUNTU-CVE-2025-38571 |
| Ubuntu:24.04:LTS | linux-azure | 6.8.0-1046.52 | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:24.04:LTS | linux-azure-6.11 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:24.04:LTS | linux-azure-6.14 | 6.14.0-1017.17~24.04.1 | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-azure-6.8 | 6.8.0-1051.57~22.04.1 | UBUNTU-CVE-2025-38571 |
| Ubuntu:24.04:LTS | linux-azure-fde | 6.8.0-1046.53 | UBUNTU-CVE-2025-38571 |
| Ubuntu:25.10 | linux-azure-fde | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:24.04:LTS | linux-azure-fde-6.14 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.8 | 6.8.0-1046.53~22.04.1 | UBUNTU-CVE-2025-38571 |
| Ubuntu:24.04:LTS | linux-azure-nvidia | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:24.04:LTS | linux-azure-nvidia-6.14 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:24.04:LTS | linux-gcp | 6.8.0-1047.50 | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:24.04:LTS | linux-gcp-6.11 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:24.04:LTS | linux-gcp-6.14 | 6.14.0-1020.21~24.04.1 | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-gcp-6.8 | 6.8.0-1047.50~22.04.2 | UBUNTU-CVE-2025-38571 |
| Ubuntu:24.04:LTS | linux-gke | 6.8.0-1043.48 | UBUNTU-CVE-2025-38571 |
| Ubuntu:24.04:LTS | linux-gkeop | 6.8.0-1030.33 | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:24.04:LTS | linux-hwe-6.11 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-hwe-6.8 | 6.8.0-100.100~22.04.1 | UBUNTU-CVE-2025-38571 |
| Ubuntu:24.04:LTS | linux-ibm | 6.8.0-1044.44 | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-ibm-6.8 | 6.8.0-1044.44~22.04.1 | UBUNTU-CVE-2025-38571 |
| Ubuntu:24.04:LTS | linux-intel | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:24.04:LTS | linux-lowlatency | 6.8.0-100.100.1 | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:24.04:LTS | linux-lowlatency-hwe-6.11 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.8 | 6.8.0-100.100.1~22.04.1 | UBUNTU-CVE-2025-38571 |
| Ubuntu:24.04:LTS | linux-nvidia | 6.8.0-1046.49 | UBUNTU-CVE-2025-38571 |
| Ubuntu:24.04:LTS | linux-nvidia-6.11 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-nvidia-6.8 | 6.8.0-1046.49~22.04.1 | UBUNTU-CVE-2025-38571 |
| Ubuntu:24.04:LTS | linux-nvidia-lowlatency | 6.8.0-1046.49.1 | UBUNTU-CVE-2025-38571 |
| Ubuntu:24.04:LTS | linux-nvidia-tegra | 6.8.0-1020.20 | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:24.04:LTS | linux-oem-6.11 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:24.04:LTS | linux-oem-6.14 | 6.14.0-1016.16 | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:24.04:LTS | linux-oem-6.8 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:24.04:LTS | linux-oracle | 6.8.0-1043.44 | UBUNTU-CVE-2025-38571 |
| Ubuntu:24.04:LTS | linux-oracle-6.14 | 6.14.0-1017.17~24.04.1 | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-oracle-6.8 | 6.8.0-1043.44~22.04.1 | UBUNTU-CVE-2025-38571 |
| Ubuntu:24.04:LTS | linux-raspi | 6.8.0-1047.51 | UBUNTU-CVE-2025-38571 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:24.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:24.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:24.04:LTS | linux-riscv-6.14 | 6.14.0-36.36.1~24.04.1 | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-riscv-6.8 | 6.8.0-100.100~22.04.1 | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | no fix listed | UBUNTU-CVE-2025-38571 |
| Ubuntu:24.04:LTS | linux-xilinx | 6.8.0-1023.24 | UBUNTU-CVE-2025-38571 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | dea034b963c8901bdcc3d3880c04f0d75c95112f – before a55b3d15331859d9fdd261cfa6d34ca2aeb0fb95dea034b963c8901bdcc3d3880c04f0d75c95112f – before c36b2fbd60e8f9c6f975522130998608880c93bedea034b963c8901bdcc3d3880c04f0d75c95112f – before 3ee397eaaca4fa04db21bb98c8f1d0c6cc525368dea034b963c8901bdcc3d3880c04f0d75c95112f – before 3feada5baf4dc96e151ff2ca54630e1d274e5458dea034b963c8901bdcc3d3880c04f0d75c95112f – before cc5d59081fa26506d02de2127ab822f40d88bc5a |
| Linux | Linux | 6.5 |
References
- https://git.kernel.org/stable/c/a55b3d15331859d9fdd261cfa6d34ca2aeb0fb95
- https://git.kernel.org/stable/c/c36b2fbd60e8f9c6f975522130998608880c93be
- https://git.kernel.org/stable/c/3ee397eaaca4fa04db21bb98c8f1d0c6cc525368
- https://git.kernel.org/stable/c/3feada5baf4dc96e151ff2ca54630e1d274e5458
- https://git.kernel.org/stable/c/cc5d59081fa26506d02de2127ab822f40d88bc5a