CVE-2025-38566
sunrpc: fix handling of server side tls alerts
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 5e052dda121e2870dd87181783da4a95d7d2927b, < b1df394621710b312f0393e3f240fdac0764f968; >= 5e052dda121e2870dd87181783da4a95d7d2927b, < 25bb3647d30a20486b5fe7cff2b0e503c16c9692; >= 5e052dda121e2870dd87181783da4a95d7d2927b, < 3b549da875414989f480b66835d514be80a0bd9c; >= 5e052dda121e2870dd87181783da4a95d7d2927b, < 6b33c31cc788073bfbed9297e1f4486ed73d87da; >= 5e052dda121e2870dd87181783da4a95d7d2927b, < bee47cb026e762841f3faece47b51f985e215edb
- Anyone running Linux 6.4
Vulnerability facts
- Affected
- Linux >= 5e052dda121e2870dd87181783da4a95d7d2927b, < b1df394621710b312f0393e3f240fdac0764f968; >= 5e052dda121e2870dd87181783da4a95d7d2927b, < 25bb3647d30a20486b5fe7cff2b0e503c16c9692; >= 5e052dda121e2870dd87181783da4a95d7d2927b, < 3b549da875414989f480b66835d514be80a0bd9c; >= 5e052dda121e2870dd87181783da4a95d7d2927b, < 6b33c31cc788073bfbed9297e1f4486ed73d87da; >= 5e052dda121e2870dd87181783da4a95d7d2927b, < bee47cb026e762841f3faece47b51f985e215edb; Linux 6.4
- Fixed in
- Linux 25bb3647d30a20486b5fe7cff2b0e503c16c9692, Linux 3b549da875414989f480b66835d514be80a0bd9c, Linux 6b33c31cc788073bfbed9297e1f4486ed73d87da
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 1.06% chance of exploitation in 30 days (percentile 64, 2026-11-26)
- CWE
- CWE-754
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 5e052dda121e2870dd87181783da4a95d7d2927b, < b1df394621710b312f0393e3f240fdac0764f968; >= 5e052dda121e2870dd87181783da4a95d7d2927b, < 25bb3647d30a20486b5fe7cff2b0e503c16c9692; >= 5e052dda121e2870dd87181783da4a95d7d2927b, < 3b549da875414989f480b66835d514be80a0bd9c; >= 5e052dda121e2870dd87181783da4a95d7d2927b, < 6b33c31cc788073bfbed9297e1f4486ed73d87da; >= 5e052dda121e2870dd87181783da4a95d7d2927b, < bee47cb026e762841f3faece47b51f985e215edb | — | cvelist |
| Linux | 6.4 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-38566. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-38566.md Affected: Linux >= 5e052dda121e2870dd87181783da4a95d7d2927b, < b1df394621710b312f0393e3f240fdac0764f968; >= 5e052dda121e2870dd87181783da4a95d7d2927b, < 25bb3647d30a20486b5fe7cff2b0e503c16c9692; >= 5e052dda121e2870dd87181783da4a95d7d2927b, < 3b549da875414989f480b66835d514be80a0bd9c; >= 5e052dda121e2870dd87181… Fixed in: Linux 25bb3647d30a20486b5fe7cff2b0e503c16c9692, Linux 3b549da875414989f480b66835d514be80a0bd9c, Linux 6b33c31cc788073bfbed9297e1f4486ed73d87da Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- 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
FAQ
Is CVE-2025-38566 being exploited?
There is no confirmed exploitation: CVE-2025-38566 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.06% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-38566?
Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2025-38566?
Linux >= 5e052dda121e2870dd87181783da4a95d7d2927b, < b1df394621710b312f0393e3f240fdac0764f968; >= 5e052dda121e2870dd87181783da4a95d7d2927b, < 25bb3647d30a20486b5fe7cff2b0e503c16c9692; >= 5e052dda121e2870dd87181783da4a95d7d2927b, < 3b549da875414989f480b66835d514be80a0bd9c; >= 5e052dda121e2870dd87181783da4a95d7d2927b, < 6b33c31cc788073bfbed9297e1f4486ed73d87da; >= 5e052dda121e2870dd87181783da4a95d7d2927b, < bee47cb026e762841f3faece47b51f985e215edb; Linux 6.4.
Is there a fix for CVE-2025-38566?
Yes. Fixed in Linux 25bb3647d30a20486b5fe7cff2b0e503c16c9692, Linux 3b549da875414989f480b66835d514be80a0bd9c, Linux 6b33c31cc788073bfbed9297e1f4486ed73d87da. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-38566?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.