Vulnerability · Published Aug 19, 2025 · Assigned by Linux
CVE-2025-38566sunrpc: fix handling of server side tls alerts
Critical 9.8
In plain English
A critical-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.6% (higher than 51% 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 handling of server side tls alerts Scott Mayhew discovered a security exploit in NFS over TLS in tls_alert_recv() due to its assumption it can read data from the msg iterator's kvec.. kTLS implementation splits TLS non-data record payload between the control message buffer (which includes the type such as TLS aler or TLS cipher change) and the rest of the payload (say TLS alert's level/description) which goes into the msg payload buffer. This patch proposes to 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 msg buffer and read in the control message such as a TLS alert. 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.34.1.el10_0 | ALSA-2025:16354 |
| 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.34.1.el10_0 | ALSA-2025:16354 |
| 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-38566 |
| Debian:14 | linux | 6.16.3-1 | DEBIAN-CVE-2025-38566 |
| Rocky Linux:10 | kernel | 0:6.12.0-55.34.1.el10_0 | RLSA-2025:16354 |
| Ubuntu:24.04:LTS | linux | 6.8.0-100.100 | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:24.04:LTS | linux-aws | 6.8.0-1046.49 | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:24.04:LTS | linux-aws-6.14 | 6.14.0-1017.17~24.04.1 | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-aws-6.8 | 6.8.0-1046.49~22.04.1 | UBUNTU-CVE-2025-38566 |
| Ubuntu:24.04:LTS | linux-azure | 6.8.0-1046.52 | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:24.04:LTS | linux-azure-6.11 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:24.04:LTS | linux-azure-6.14 | 6.14.0-1017.17~24.04.1 | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-azure-6.8 | 6.8.0-1051.57~22.04.1 | UBUNTU-CVE-2025-38566 |
| Ubuntu:24.04:LTS | linux-azure-fde | 6.8.0-1046.53 | UBUNTU-CVE-2025-38566 |
| Ubuntu:25.10 | linux-azure-fde | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:24.04:LTS | linux-azure-fde-6.14 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.8 | 6.8.0-1046.53~22.04.1 | UBUNTU-CVE-2025-38566 |
| Ubuntu:24.04:LTS | linux-azure-nvidia | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:24.04:LTS | linux-azure-nvidia-6.14 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:24.04:LTS | linux-gcp | 6.8.0-1047.50 | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:24.04:LTS | linux-gcp-6.11 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:24.04:LTS | linux-gcp-6.14 | 6.14.0-1020.21~24.04.1 | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-gcp-6.8 | 6.8.0-1047.50~22.04.2 | UBUNTU-CVE-2025-38566 |
| Ubuntu:24.04:LTS | linux-gke | 6.8.0-1043.48 | UBUNTU-CVE-2025-38566 |
| Ubuntu:24.04:LTS | linux-gkeop | 6.8.0-1030.33 | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:24.04:LTS | linux-hwe-6.11 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-hwe-6.8 | 6.8.0-100.100~22.04.1 | UBUNTU-CVE-2025-38566 |
| Ubuntu:24.04:LTS | linux-ibm | 6.8.0-1044.44 | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-ibm-6.8 | 6.8.0-1044.44~22.04.1 | UBUNTU-CVE-2025-38566 |
| Ubuntu:24.04:LTS | linux-intel | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:24.04:LTS | linux-lowlatency | 6.8.0-100.100.1 | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:24.04:LTS | linux-lowlatency-hwe-6.11 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.8 | 6.8.0-100.100.1~22.04.1 | UBUNTU-CVE-2025-38566 |
| Ubuntu:24.04:LTS | linux-nvidia | 6.8.0-1046.49 | UBUNTU-CVE-2025-38566 |
| Ubuntu:24.04:LTS | linux-nvidia-6.11 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-nvidia-6.8 | 6.8.0-1046.49~22.04.1 | UBUNTU-CVE-2025-38566 |
| Ubuntu:24.04:LTS | linux-nvidia-lowlatency | 6.8.0-1046.49.1 | UBUNTU-CVE-2025-38566 |
| Ubuntu:24.04:LTS | linux-nvidia-tegra | 6.8.0-1020.20 | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:24.04:LTS | linux-oem-6.11 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:24.04:LTS | linux-oem-6.14 | 6.14.0-1016.16 | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:24.04:LTS | linux-oem-6.8 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:24.04:LTS | linux-oracle | 6.8.0-1043.44 | UBUNTU-CVE-2025-38566 |
| Ubuntu:24.04:LTS | linux-oracle-6.14 | 6.14.0-1017.17~24.04.1 | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-oracle-6.8 | 6.8.0-1043.44~22.04.1 | UBUNTU-CVE-2025-38566 |
| Ubuntu:24.04:LTS | linux-raspi | 6.8.0-1047.51 | UBUNTU-CVE-2025-38566 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:24.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:24.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:24.04:LTS | linux-riscv-6.14 | 6.14.0-36.36.1~24.04.1 | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-riscv-6.8 | 6.8.0-100.100~22.04.1 | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | no fix listed | UBUNTU-CVE-2025-38566 |
| Ubuntu:24.04:LTS | linux-xilinx | 6.8.0-1023.24 | UBUNTU-CVE-2025-38566 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 5e052dda121e2870dd87181783da4a95d7d2927b – before b1df394621710b312f0393e3f240fdac0764f9685e052dda121e2870dd87181783da4a95d7d2927b – before 25bb3647d30a20486b5fe7cff2b0e503c16c96925e052dda121e2870dd87181783da4a95d7d2927b – before 3b549da875414989f480b66835d514be80a0bd9c5e052dda121e2870dd87181783da4a95d7d2927b – before 6b33c31cc788073bfbed9297e1f4486ed73d87da5e052dda121e2870dd87181783da4a95d7d2927b – before bee47cb026e762841f3faece47b51f985e215edb |
| Linux | Linux | 6.4 |
References
- https://git.kernel.org/stable/c/b1df394621710b312f0393e3f240fdac0764f968
- https://git.kernel.org/stable/c/25bb3647d30a20486b5fe7cff2b0e503c16c9692
- https://git.kernel.org/stable/c/3b549da875414989f480b66835d514be80a0bd9c
- https://git.kernel.org/stable/c/6b33c31cc788073bfbed9297e1f4486ed73d87da
- https://git.kernel.org/stable/c/bee47cb026e762841f3faece47b51f985e215edb