{"id":"CVE-2025-38571","published":"2025-08-19T17:02:51Z","modified":"2026-10-15T22:02:25Z","title":"sunrpc: fix client side handling of tls alerts","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsunrpc: fix client side handling of tls alerts\n\nA security exploit was discovered in NFS over TLS in tls_alert_recv\ndue to its assumption that there is valid data in the msghdr's\niterator's kvec.\n\nInstead, this patch proposes the rework how control messages are\nsetup and used by sock_recvmsg().\n\nIf no control message structure is setup, kTLS layer will read and\nprocess TLS data record types. As soon as it encounters a TLS control\nmessage, it would return an error. At that point, NFS can setup a kvec\nbacked control buffer and read in the control message such as a TLS\nalert. Scott found that a msg iterator can advance the kvec pointer\nas a part of the copy process thus we need to revert the iterator\nbefore calling into the tls_alert_recv.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00397,"percentile":0.34806,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/a55b3d15331859d9fdd261cfa6d34ca2aeb0fb95","tags":[]},{"url":"https://git.kernel.org/stable/c/c36b2fbd60e8f9c6f975522130998608880c93be","tags":[]},{"url":"https://git.kernel.org/stable/c/3ee397eaaca4fa04db21bb98c8f1d0c6cc525368","tags":[]},{"url":"https://git.kernel.org/stable/c/3feada5baf4dc96e151ff2ca54630e1d274e5458","tags":[]},{"url":"https://git.kernel.org/stable/c/cc5d59081fa26506d02de2127ab822f40d88bc5a","tags":[]}],"priority":{"score":12.7,"factors":[{"name":"EPSS percentile","points":6.96},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= dea034b963c8901bdcc3d3880c04f0d75c95112f, < a55b3d15331859d9fdd261cfa6d34ca2aeb0fb95",">= dea034b963c8901bdcc3d3880c04f0d75c95112f, < c36b2fbd60e8f9c6f975522130998608880c93be",">= dea034b963c8901bdcc3d3880c04f0d75c95112f, < 3ee397eaaca4fa04db21bb98c8f1d0c6cc525368",">= dea034b963c8901bdcc3d3880c04f0d75c95112f, < 3feada5baf4dc96e151ff2ca54630e1d274e5458",">= dea034b963c8901bdcc3d3880c04f0d75c95112f, < cc5d59081fa26506d02de2127ab822f40d88bc5a"]},{"vendor":"Linux","product":"Linux","versions":["6.5"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-15T21:51:48.078418Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-27909","exploited":false,"provenance":"source"}}