{"id":"CVE-2025-38571","revision":"576260785f8d4462aa2d6f86ce3ed13c","records":[{"revision":"576260785f8d4462aa2d6f86ce3ed13c","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2025-38571","aliases":[],"title":"sunrpc: fix client side handling of tls alerts","description":"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.","state":0,"publishedAt":"2025-08-19T17:02:51.62+00:00","modifiedAt":"2026-10-15T22:02:25.809+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"net/sunrpc/xprtsock.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"dea034b963c8901bdcc3d3880c04f0d75c95112f\",\n                            \"lessThan\": \"a55b3d15331859d9fdd261cfa6d34ca2aeb0fb95\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"dea034b963c8901bdcc3d3880c04f0d75c95112f\",\n                            \"lessThan\": \"c36b2fbd60e8f9c6f975522130998608880c93be\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"dea034b963c8901bdcc3d3880c04f0d75c95112f\",\n                            \"lessThan\": \"3ee397eaaca4fa04db21bb98c8f1d0c6cc525368\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"dea034b963c8901bdcc3d3880c04f0d75c95112f\",\n                            \"lessThan\": \"3feada5baf4dc96e151ff2ca54630e1d274e5458\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"dea034b963c8901bdcc3d3880c04f0d75c95112f\",\n                            \"lessThan\": \"cc5d59081fa26506d02de2127ab822f40d88bc5a\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"net/sunrpc/xprtsock.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.5\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.5\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.102\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.42\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.15.10\",\n                            \"lessThanOrEqual\": \"6.15.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.16.1\",\n                            \"lessThanOrEqual\": \"6.16.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.17\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","score":8.2,"severity":"HIGH"}],"references":["https://git.kernel.org/stable/c/a55b3d15331859d9fdd261cfa6d34ca2aeb0fb95","https://git.kernel.org/stable/c/c36b2fbd60e8f9c6f975522130998608880c93be","https://git.kernel.org/stable/c/3ee397eaaca4fa04db21bb98c8f1d0c6cc525368","https://git.kernel.org/stable/c/3feada5baf4dc96e151ff2ca54630e1d274e5458","https://git.kernel.org/stable/c/cc5d59081fa26506d02de2127ab822f40d88bc5a"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-38571","license":"CVE Program Terms of Use","key":"cve-program:CVE-2025-38571","identifiers":["CVE-2025-38571"]},"retained":false,"historicalAffected":[]}],"coverage":[]}