Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-38566

published critical CVSS 3.1 · 9.8

sunrpc: fix handling of server side tls alerts

Published
19 Aug 2025, 17:02:42 UTC
Updated
15 Oct 2026, 21:52:19 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux5e052dda121e2870dd87181783da4a95d7d2927b to < b1df394621710b312f0393e3f240fdac0764f968 · 5e052dda121e2870dd87181783da4a95d7d2927b to < 25bb3647d30a20486b5fe7cff2b0e503c16c9692 · 5e052dda121e2870dd87181783da4a95d7d2927b to < 3b549da875414989f480b66835d514be80a0bd9c · 5e052dda121e2870dd87181783da4a95d7d2927b to < 6b33c31cc788073bfbed9297e1f4486ed73d87da · 5e052dda121e2870dd87181783da4a95d7d2927b to < bee47cb026e762841f3faece47b51f985e215edb · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.4 (affected) · 0 to < 6.4 (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.34.1.el10_0 ALSA-2025:16354
Oracle Linux 10 kernelx86_64 Advisory build 0:6.12.0-55.34.1.0.1.el10_0 ELSA-2025-16354
AlmaLinux 10 kernel-doc Advisory build 6.12.0-55.34.1.el10_0 ALSA-2025:16354
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
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.34.1.0.1.el10_0 ELSA-2025-16354
Oracle Linux 10 kernel-corex86_64 Advisory build 0:6.12.0-55.34.1.0.1.el10_0 ELSA-2025-16354
Oracle Linux 10 kernel-cross-headersaarch64 Advisory build 0:6.12.0-55.34.1.0.1.el10_0 ELSA-2025-16354
Oracle Linux 10 kernel-cross-headersx86_64 Advisory build 0:6.12.0-55.34.1.0.1.el10_0 ELSA-2025-16354
Oracle Linux 10 kernel-debugx86_64 Advisory build 0:6.12.0-55.34.1.0.1.el10_0 ELSA-2025-16354
Oracle Linux 10 kernel-debug-corex86_64 Advisory build 0:6.12.0-55.34.1.0.1.el10_0 ELSA-2025-16354
Oracle Linux 10 kernel-debug-develx86_64 Advisory build 0:6.12.0-55.34.1.0.1.el10_0 ELSA-2025-16354
Oracle Linux 10 kernel-debug-devel-matchedx86_64 Advisory build 0:6.12.0-55.34.1.0.1.el10_0 ELSA-2025-16354
Oracle Linux 10 kernel-debug-modulesx86_64 Advisory build 0:6.12.0-55.34.1.0.1.el10_0 ELSA-2025-16354
Oracle Linux 10 kernel-debug-modules-corex86_64 Advisory build 0:6.12.0-55.34.1.0.1.el10_0 ELSA-2025-16354
Oracle Linux 10 kernel-debug-modules-extrax86_64 Advisory build 0:6.12.0-55.34.1.0.1.el10_0 ELSA-2025-16354
Oracle Linux 10 kernel-debug-uki-virtx86_64 Advisory build 0:6.12.0-55.34.1.0.1.el10_0 ELSA-2025-16354
Oracle Linux 10 kernel-develx86_64 Advisory build 0:6.12.0-55.34.1.0.1.el10_0 ELSA-2025-16354
Oracle Linux 10 kernel-devel-matchedx86_64 Advisory build 0:6.12.0-55.34.1.0.1.el10_0 ELSA-2025-16354
Oracle Linux 10 kernel-docx86_64 Advisory build 0:6.12.0-55.34.1.0.1.el10_0 ELSA-2025-16354
Oracle Linux 10 kernel-headersaarch64 Advisory build 0:6.12.0-55.34.1.0.1.el10_0 ELSA-2025-16354
Oracle Linux 10 kernel-headersx86_64 Advisory build 0:6.12.0-55.34.1.0.1.el10_0 ELSA-2025-16354
Oracle Linux 10 kernel-modulesx86_64 Advisory build 0:6.12.0-55.34.1.0.1.el10_0 ELSA-2025-16354
Oracle Linux 10 kernel-modules-corex86_64 Advisory build 0:6.12.0-55.34.1.0.1.el10_0 ELSA-2025-16354
Oracle Linux 10 kernel-modules-extrax86_64 Advisory build 0:6.12.0-55.34.1.0.1.el10_0 ELSA-2025-16354
Oracle Linux 10 kernel-toolsaarch64 Advisory build 0:6.12.0-55.34.1.0.1.el10_0 ELSA-2025-16354

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 handling of server side tls alerts Scott Mayhew discovered a security exploit in NFS over TLS in tls_alert_recv() due to its assumption it can read data from the msg iterator's kvec.. kTLS implementation splits TLS non-data record payload between the control message buffer (which includes the type such as TLS aler or TLS cipher change) and the rest of the payload (say TLS alert's level/description) which goes into the msg payload buffer. This patch proposes to 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 msg buffer and read in the control message such as a TLS alert. 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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

75

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.8 / 10
Severity
critical
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:N - The vulnerable code is nfsd's server-side RPC-over-TLS receive path (net/sunrpc/svcsock.c), driven entirely by TLS records arriving on the TCP/2049 listener; a remote peer triggers it by sending a TLS alert record. AC:L - The attacker deterministically controls every precondition — complete the TLS handshake, send exactly 2 bytes of an RPC fragment marker to set sk_tcplen=2, then send any TLS alert, which exactly consumes the 2-byte kvec and forces the iterator past the end of the stack array; it can be repeated on unlimited connections. PR:N - svcauth_tls_accept() processes the AUTH_TLS STARTTLS probe on the NULL procedure with no credentials, and svc_tcp_handshake_done() enables kTLS even when the peer presents no certificate (TLS_NO_PEERID); export/mtls policy is only enforced far later, so the bug is reachable entirely pre-authentication. UI:N - The nfsd service threads process incoming TLS records autonomously; no local user or administrator action is needed once the server is listening. S:U - The out-of-bounds read and pointer dereference occur within the kernel's own memory and security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - tls_alert_recv() reads kernel memory through an out-of-bounds kvec element (stack contents reinterpreted as a pointer) and, in the bvec path, through a struct page * reinterpreted as a data buffer — an unbounded-address kernel read whose result is reflected back to the attacker as an observable connection-teardown oracle (-ENOTCONN vs -EAGAIN). I:H - This is a genuine type confusion (struct bio_vec / stale stack memory consumed as struct kvec) plus an out-of-bounds array access, and attacker-supplied alert bytes are written into kernel RPC state (svsk->sk_marker, rq_pages) outside the protocol's intended flow, with the confused read steering kernel control flow. A:H - Dereferencing the pointer-sized value read past the end of the stack-allocated kvec (frequently NULL or a non-canonical/unmapped address) faults inside an nfsd service thread, producing a kernel oops and taking down the NFS server.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 5e052dda121e2870dd87181783da4a95d7d2927b to < b1df394621710b312f0393e3f240fdac0764f968 (affected · git)5e052dda121e2870dd87181783da4a95d7d2927b to < 25bb3647d30a20486b5fe7cff2b0e503c16c9692 (affected · git)5e052dda121e2870dd87181783da4a95d7d2927b to < 3b549da875414989f480b66835d514be80a0bd9c (affected · git)5e052dda121e2870dd87181783da4a95d7d2927b to < 6b33c31cc788073bfbed9297e1f4486ed73d87da (affected · git)5e052dda121e2870dd87181783da4a95d7d2927b to < bee47cb026e762841f3faece47b51f985e215edb (affected · git)Default: unaffected Linux · cna
Linux Linux 6.4 (affected)0 to < 6.4 (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

0

No weakness assertions.

References

5

Provider assertions

2

Linux · cna

sunrpc: fix handling of server side tls alerts

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
024335965feb1d4731f7317ab9a00c55314d3c2b876d3027bad1abab6be41d7d
Ingested
15 Oct 2026, 23:26:24 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected