CVE-2025-38571

MediumCVSS 5.5/10Last modified Oct 15, 2026

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.

Metrics

CVSS 3.1 5.5/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected software

VendorProductVersions
LinuxLinux>= dea034b963c8901bdcc3d3880c04f0d75c95112f, < a55b3d15331859d9fdd261cfa6d34ca2aeb0fb95; >= dea034b963c8901bdcc3d3880c04f0d75c95112f, < c36b2fbd60e8f9c6f975522130998608880c93be; >= dea034b963c8901bdcc3d3880c04f0d75c95112f, < 3ee397eaaca4fa04db21bb98c8f1d0c6cc525368; >= dea034b963c8901bdcc3d3880c04f0d75c95112f, < 3feada5baf4dc96e151ff2ca54630e1d274e5458; >= dea034b963c8901bdcc3d3880c04f0d75c95112f, < cc5d59081fa26506d02de2127ab822f40d88bc5a
LinuxLinux6.5

References

Timeline

Published
Aug 19, 2025
Last modified
Oct 15, 2026
NVD status
Modified

Related CVEs from 2025

CVE-2025-385727.8In the Linux kernel, the following vulnerability has been resolved: ipv6: reject malicious packets in ipv6_gso_segment() syzbot was able tCVE-2025-385735.5In the Linux kernel, the following vulnerability has been resolved: spi: cs42l43: Property entry should be a null-terminated array The sofCVE-2025-385747.8In the Linux kernel, the following vulnerability has been resolved: pptp: ensure minimal skb length in pptp_xmit() Commit aabc6596ffb3 ("nCVE-2025-385755.5In the Linux kernel, the following vulnerability has been resolved: ksmbd: use aead_request_free to match aead_request_alloc Use aead_requCVE-2025-385765.5In the Linux kernel, the following vulnerability has been resolved: powerpc/eeh: Make EEH driver device hotplug safe Multiple race conditiCVE-2025-385775.5In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to avoid panic in f2fs_evict_inode As syzbot [1] reported asCVE-2025-385785.5In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to avoid UAF in f2fs_sync_inode_meta() syzbot reported an UACVE-2025-385797.8In the Linux kernel, the following vulnerability has been resolved: f2fs: fix KMSAN uninit-value in extent_info usage KMSAN reported a useCVE-2025-38585.4The Formality plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘align’ parameter in all versions up to, and includiCVE-2025-385807.8In the Linux kernel, the following vulnerability has been resolved: ext4: fix inode use after free in ext4_end_io_rsv_work() In ext4_io_enCVE-2025-385815.5In the Linux kernel, the following vulnerability has been resolved: crypto: ccp - Fix crash when rebind ccp device for ccp.ko When CONFIG_CVE-2025-385827.8In the Linux kernel, the following vulnerability has been resolved: RDMA/hns: Fix double destruction of rsv_qp rsv_qp may be double destro
CVE-2025-38571: Medium severity, CVSS 5.5 | Vulnix