CVE-2025-38571
published high CVSS 3.1 · 8.2sunrpc: fix client side handling of tls alerts
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxdea034b963c8901bdcc3d3880c04f0d75c95112f to < a55b3d15331859d9fdd261cfa6d34ca2aeb0fb95 · dea034b963c8901bdcc3d3880c04f0d75c95112f to < c36b2fbd60e8f9c6f975522130998608880c93be · dea034b963c8901bdcc3d3880c04f0d75c95112f to < 3ee397eaaca4fa04db21bb98c8f1d0c6cc525368 · dea034b963c8901bdcc3d3880c04f0d75c95112f to < 3feada5baf4dc96e151ff2ca54630e1d274e5458 · dea034b963c8901bdcc3d3880c04f0d75c95112f to < cc5d59081fa26506d02de2127ab822f40d88bc5a · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.5 (affected) · 0 to < 6.5 (unaffected · semver) · 6.6.102 through 6.6.* (unaffected · semver) · 6.12.42 through 6.12.* (unaffected · semver) · 6.15.10 through 6.15.* (unaffected · semver) · 6.16.1 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1208 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | kernel-abi-stablelists | Advisory build | 6.12.0-55.40.1.el10_0 | ALSA-2025:18318 |
| Oracle Linux | 10 | kernelx86_64 | Advisory build | 0:6.12.0-55.40.1.0.1.el10_0 | ELSA-2025-18318 |
| AlmaLinux | 10 | kernel-doc | Advisory build | 6.12.0-55.40.1.el10_0 | ALSA-2025:18318 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-rt-64k | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-rt-64k-core | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-rt-64k-debug | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-rt-64k-debug-core | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-rt-64k-debug-devel | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-core | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-extra | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-rt-64k-devel | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-rt-64k-modules | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-rt-64k-modules-core | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-rt-64k-modules-extra | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-rt-debug-kvm | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-rt-kvm | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-uki-virt-addons | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-570.55.1.el9_6 | ALSA-2025:18281 |
| Oracle Linux | 10 | kernel-abi-stablelistsx86_64 | Advisory build | 0:6.12.0-55.40.1.0.1.el10_0 | ELSA-2025-18318 |
| Oracle Linux | 10 | kernel-corex86_64 | Advisory build | 0:6.12.0-55.40.1.0.1.el10_0 | ELSA-2025-18318 |
| Oracle Linux | 10 | kernel-cross-headersaarch64 | Advisory build | 0:6.12.0-55.40.1.0.1.el10_0 | ELSA-2025-18318 |
| Oracle Linux | 10 | kernel-cross-headersx86_64 | Advisory build | 0:6.12.0-55.40.1.0.1.el10_0 | ELSA-2025-18318 |
| Oracle Linux | 10 | kernel-debugx86_64 | Advisory build | 0:6.12.0-55.40.1.0.1.el10_0 | ELSA-2025-18318 |
| Oracle Linux | 10 | kernel-debug-corex86_64 | Advisory build | 0:6.12.0-55.40.1.0.1.el10_0 | ELSA-2025-18318 |
| Oracle Linux | 10 | kernel-debug-develx86_64 | Advisory build | 0:6.12.0-55.40.1.0.1.el10_0 | ELSA-2025-18318 |
| Oracle Linux | 10 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:6.12.0-55.40.1.0.1.el10_0 | ELSA-2025-18318 |
| Oracle Linux | 10 | kernel-debug-modulesx86_64 | Advisory build | 0:6.12.0-55.40.1.0.1.el10_0 | ELSA-2025-18318 |
| Oracle Linux | 10 | kernel-debug-modules-corex86_64 | Advisory build | 0:6.12.0-55.40.1.0.1.el10_0 | ELSA-2025-18318 |
| Oracle Linux | 10 | kernel-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-55.40.1.0.1.el10_0 | ELSA-2025-18318 |
| Oracle Linux | 10 | kernel-debug-uki-virtx86_64 | Advisory build | 0:6.12.0-55.40.1.0.1.el10_0 | ELSA-2025-18318 |
| Oracle Linux | 10 | kernel-develx86_64 | Advisory build | 0:6.12.0-55.40.1.0.1.el10_0 | ELSA-2025-18318 |
| Oracle Linux | 10 | kernel-devel-matchedx86_64 | Advisory build | 0:6.12.0-55.40.1.0.1.el10_0 | ELSA-2025-18318 |
| Oracle Linux | 10 | kernel-docx86_64 | Advisory build | 0:6.12.0-55.40.1.0.1.el10_0 | ELSA-2025-18318 |
| Oracle Linux | 10 | kernel-headersaarch64 | Advisory build | 0:6.12.0-55.40.1.0.1.el10_0 | ELSA-2025-18318 |
| Oracle Linux | 10 | kernel-headersx86_64 | Advisory build | 0:6.12.0-55.40.1.0.1.el10_0 | ELSA-2025-18318 |
| Oracle Linux | 10 | kernel-modulesx86_64 | Advisory build | 0:6.12.0-55.40.1.0.1.el10_0 | ELSA-2025-18318 |
| Oracle Linux | 10 | kernel-modules-corex86_64 | Advisory build | 0:6.12.0-55.40.1.0.1.el10_0 | ELSA-2025-18318 |
| Oracle Linux | 10 | kernel-modules-extrax86_64 | Advisory build | 0:6.12.0-55.40.1.0.1.el10_0 | ELSA-2025-18318 |
| Oracle Linux | 10 | kernel-toolsaarch64 | Advisory build | 0:6.12.0-55.40.1.0.1.el10_0 | ELSA-2025-18318 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
- Scenarios
- en: AV:N - The vulnerable code is the SUNRPC/NFS client's TCP-with-TLS receive path, driven entirely by records arriving from the remote RPC peer over the network. A malicious NFS server — or, with `xprtsec=tls` (anonymous TLS, `tls_client_hello_anon`), any on-path attacker impersonating it — triggers the bug purely by sending crafted RPC framing followed by a TLS alert record. AC:L - The attacker controls both halves of the trigger: an RPC fragment with a bogus calldir or unmatched XID forces the client into the `ITER_DISCARD` path, and an ordinary TLS alert record (even a close_notify) is then sent at will, yielding a deterministic NULL dereference with no race, no memory-layout guessing, and no reliance on victim state. PR:N - No credentials or privileges on the victim client are needed; the attacker acts as the TLS peer. With `xprtsec=tls` the peer is entirely unauthenticated (RFC 9289 opportunistic TLS), so even an unauthenticated MITM qualifies, and alerts are processed regardless of RPC-level authentication. UI:N - Exploitation needs no action from any user or administrator at attack time — the NFS-over-TLS mount is pre-existing, and the bug fires from the `xprtiod` workqueue receive path as soon as the attacker's records arrive. S:U - The faulting code, the corrupted read, and the resulting crash are all inside the kernel's own security authority; no VM, IOMMU, or sandbox boundary is crossed. C:L - On the bvec and past-the-end-kvec paths `tls_alert_recv()` reads two bytes through a type-confused or out-of-bounds pointer (a `struct page *` mistaken for `iov_base`, or an adjacent stack/heap word), leaking kernel memory into the `tls_alert_recv` tracepoint and into a fatal/non-fatal error oracle. The disclosure is real but strictly bounded to two bytes and is not returned to the attacker in bulk. I:N - `tls_alert_recv()` only reads through the bad pointer — there is no out-of-bounds write, no use-after-free, and no type confusion that yields a write primitive. The only effect is a bogus alert level selecting `-EACCES` versus `-EAGAIN` in the client's error handling. A:H - The `ITER_DISCARD` path dereferences a NULL kvec (and the exhausted-kvec path dereferences a garbage pointer read past the array), producing a kernel oops in the `xprtiod` kworker that kills the RPC receive worker and wedges all NFS I/O on that transport, or panics the machine outright where `panic_on_oops` is set.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | dea034b963c8901bdcc3d3880c04f0d75c95112f to < a55b3d15331859d9fdd261cfa6d34ca2aeb0fb95 (affected · git)dea034b963c8901bdcc3d3880c04f0d75c95112f to < c36b2fbd60e8f9c6f975522130998608880c93be (affected · git)dea034b963c8901bdcc3d3880c04f0d75c95112f to < 3ee397eaaca4fa04db21bb98c8f1d0c6cc525368 (affected · git)dea034b963c8901bdcc3d3880c04f0d75c95112f to < 3feada5baf4dc96e151ff2ca54630e1d274e5458 (affected · git)dea034b963c8901bdcc3d3880c04f0d75c95112f to < cc5d59081fa26506d02de2127ab822f40d88bc5a (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.5 (affected)0 to < 6.5 (unaffected · semver)6.6.102 through 6.6.* (unaffected · semver)6.12.42 through 6.12.* (unaffected · semver)6.15.10 through 6.15.* (unaffected · semver)6.16.1 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
5- https://git.kernel.org/stable/c/3ee397eaaca4fa04db21bb98c8f1d0c6cc525368
- https://git.kernel.org/stable/c/3feada5baf4dc96e151ff2ca54630e1d274e5458
- https://git.kernel.org/stable/c/a55b3d15331859d9fdd261cfa6d34ca2aeb0fb95
- https://git.kernel.org/stable/c/c36b2fbd60e8f9c6f975522130998608880c93be
- https://git.kernel.org/stable/c/cc5d59081fa26506d02de2127ab822f40d88bc5a
Provider assertions
2Linux · cna
sunrpc: fix client side handling of tls alerts
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6fd321ae50b46c1fad1952ed4db10beb3b8476ab534c286beb08648b9bfa2bc3
- Ingested
- 15 Oct 2026, 23:26:24 UTC
- Source record
- Official CVE record