{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-38571","id":"CVE-2025-38571","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","descriptionLong":"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.","published":"2025-08-19T17:02:51.620Z","updated":"2026-10-28T02:31:09.067382992Z","reserved":"2025-04-16T04:51:24.025Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"dea034b963c8901bdcc3d3880c04f0d75c95112f","lessThan":"a55b3d15331859d9fdd261cfa6d34ca2aeb0fb95","status":"affected","versionType":"git"},{"version":"dea034b963c8901bdcc3d3880c04f0d75c95112f","lessThan":"c36b2fbd60e8f9c6f975522130998608880c93be","status":"affected","versionType":"git"},{"version":"dea034b963c8901bdcc3d3880c04f0d75c95112f","lessThan":"3ee397eaaca4fa04db21bb98c8f1d0c6cc525368","status":"affected","versionType":"git"},{"version":"dea034b963c8901bdcc3d3880c04f0d75c95112f","lessThan":"3feada5baf4dc96e151ff2ca54630e1d274e5458","status":"affected","versionType":"git"},{"version":"dea034b963c8901bdcc3d3880c04f0d75c95112f","lessThan":"cc5d59081fa26506d02de2127ab822f40d88bc5a","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.5","status":"affected"},{"version":"0","lessThan":"6.5","status":"unaffected","versionType":"semver"},{"version":"6.6.102","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.42","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.15.10","lessThanOrEqual":"6.15.*","status":"unaffected","versionType":"semver"},{"version":"6.16.1","lessThanOrEqual":"6.16.*","status":"unaffected","versionType":"semver"},{"version":"6.17","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/a55b3d15331859d9fdd261cfa6d34ca2aeb0fb95","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c36b2fbd60e8f9c6f975522130998608880c93be","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/3ee397eaaca4fa04db21bb98c8f1d0c6cc525368","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/3feada5baf4dc96e151ff2ca54630e1d274e5458","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/cc5d59081fa26506d02de2127ab822f40d88bc5a","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38571.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38571","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.0037,"epssPercentile":0.31537,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-38571","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38571","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-38571","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-38571","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}