CVE-2025-38566
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| rhel | 9 | fixed | |
| sles | affected | | |
| debian | bookworm | fixed | 0 |
| debian | bullseye | fixed | 0 |
| debian | forky | fixed | 6.16.3-1 |
| debian | sid | fixed | 6.16.3-1 |
| debian | trixie | fixed | 6.12.43-1 |
| almalinux | 9 | fixed | kernel-devel-5.14.0-570.55.1.el9_6.aarch64.rpm |
References
- https://access.redhat.com/errata/RHSA-2025:18281
- https://access.redhat.com/errata/RHSA-2025:21112
- https://www.suse.com/security/cve/CVE-2025-38566.html
- https://security-tracker.debian.org/tracker/CVE-2025-38566
- https://bugzilla.redhat.com/2360224
- https://bugzilla.redhat.com/2373539
- https://bugzilla.redhat.com/2389480
- https://bugzilla.redhat.com/2389487
- https://bugzilla.redhat.com/2395805
- https://bugzilla.redhat.com/2396928
- https://bugzilla.redhat.com/2396944
- https://errata.almalinux.org/9/ALSA-2025-18281.html
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.