CVE-2025-38089
published critical CVSS 3.1 · 9.8sunrpc: handle SVC_GARBAGE during svc auth processing as auth error
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux29cd2927fb914cc53b5ba4f67d2b74695c994ba4 to < 599c489eea793821232a2f69a00fa57d82b0ac98 · 29cd2927fb914cc53b5ba4f67d2b74695c994ba4 to < 353e75b55e583635bf71cde6abcec274dba05edd · 29cd2927fb914cc53b5ba4f67d2b74695c994ba4 to < c90459cd58bb421d275337093d8e901e0ba748dd · 29cd2927fb914cc53b5ba4f67d2b74695c994ba4 to < 94d10a4dba0bc482f2b01e39f06d5513d0f75742 · 9b59f5c4911e87264507e0934cd2bb277390c560 · 6.3.4 to < 6.4 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.4 (affected) · 0 to < 6.4 (unaffected · semver) · 6.6.95 through 6.6.* (unaffected · semver) · 6.12.35 through 6.12.* (unaffected · semver) · 6.15.4 through 6.15.* (unaffected · semver) · 6.16 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-1080 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | kernel-abi-stablelists | Advisory build | 6.12.0-55.22.1.el10_0 | ALSA-2025:11428 |
| Oracle Linux | 10 | kernelx86_64 | Advisory build | 0:6.12.0-55.22.1.0.1.el10_0 | ELSA-2025-11428 |
| AlmaLinux | 10 | kernel-doc | Advisory build | 6.12.0-55.22.1.el10_0 | ALSA-2025:11428 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-64k | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-64k-core | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-64k-debug | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-64k-debug-core | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-64k-debug-devel | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-core | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-extra | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-64k-devel | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-64k-modules | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-64k-modules-core | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-64k-modules-extra | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-debug-kvm | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-kvm | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-uki-virt-addons | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-570.28.1.el9_6 | ALSA-2025:11411 |
| Oracle Linux | 10 | kernel-abi-stablelistsx86_64 | Advisory build | 0:6.12.0-55.22.1.0.1.el10_0 | ELSA-2025-11428 |
| Oracle Linux | 10 | kernel-corex86_64 | Advisory build | 0:6.12.0-55.22.1.0.1.el10_0 | ELSA-2025-11428 |
| Oracle Linux | 10 | kernel-cross-headersaarch64 | Advisory build | 0:6.12.0-55.22.1.0.1.el10_0 | ELSA-2025-11428 |
| Oracle Linux | 10 | kernel-cross-headersx86_64 | Advisory build | 0:6.12.0-55.22.1.0.1.el10_0 | ELSA-2025-11428 |
| Oracle Linux | 10 | kernel-debugx86_64 | Advisory build | 0:6.12.0-55.22.1.0.1.el10_0 | ELSA-2025-11428 |
| Oracle Linux | 10 | kernel-debug-corex86_64 | Advisory build | 0:6.12.0-55.22.1.0.1.el10_0 | ELSA-2025-11428 |
| Oracle Linux | 10 | kernel-debug-develx86_64 | Advisory build | 0:6.12.0-55.22.1.0.1.el10_0 | ELSA-2025-11428 |
| Oracle Linux | 10 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:6.12.0-55.22.1.0.1.el10_0 | ELSA-2025-11428 |
| Oracle Linux | 10 | kernel-debug-modulesx86_64 | Advisory build | 0:6.12.0-55.22.1.0.1.el10_0 | ELSA-2025-11428 |
| Oracle Linux | 10 | kernel-debug-modules-corex86_64 | Advisory build | 0:6.12.0-55.22.1.0.1.el10_0 | ELSA-2025-11428 |
| Oracle Linux | 10 | kernel-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-55.22.1.0.1.el10_0 | ELSA-2025-11428 |
| Oracle Linux | 10 | kernel-debug-uki-virtx86_64 | Advisory build | 0:6.12.0-55.22.1.0.1.el10_0 | ELSA-2025-11428 |
| Oracle Linux | 10 | kernel-develx86_64 | Advisory build | 0:6.12.0-55.22.1.0.1.el10_0 | ELSA-2025-11428 |
| Oracle Linux | 10 | kernel-devel-matchedx86_64 | Advisory build | 0:6.12.0-55.22.1.0.1.el10_0 | ELSA-2025-11428 |
| Oracle Linux | 10 | kernel-docx86_64 | Advisory build | 0:6.12.0-55.22.1.0.1.el10_0 | ELSA-2025-11428 |
| Oracle Linux | 10 | kernel-headersaarch64 | Advisory build | 0:6.12.0-55.22.1.0.1.el10_0 | ELSA-2025-11428 |
| Oracle Linux | 10 | kernel-headersx86_64 | Advisory build | 0:6.12.0-55.22.1.0.1.el10_0 | ELSA-2025-11428 |
| Oracle Linux | 10 | kernel-modulesx86_64 | Advisory build | 0:6.12.0-55.22.1.0.1.el10_0 | ELSA-2025-11428 |
| Oracle Linux | 10 | kernel-modules-corex86_64 | Advisory build | 0:6.12.0-55.22.1.0.1.el10_0 | ELSA-2025-11428 |
| Oracle Linux | 10 | kernel-modules-extrax86_64 | Advisory build | 0:6.12.0-55.22.1.0.1.el10_0 | ELSA-2025-11428 |
| Oracle Linux | 10 | kernel-toolsaarch64 | Advisory build | 0:6.12.0-55.22.1.0.1.el10_0 | ELSA-2025-11428 |
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: handle SVC_GARBAGE during svc auth processing as auth error tianshuo han reported a remotely-triggerable crash if the client sends a kernel RPC server a specially crafted packet. If decoding the RPC reply fails in such a way that SVC_GARBAGE is returned without setting the rq_accept_statp pointer, then that pointer can be dereferenced and a value stored there. If it's the first time the thread has processed an RPC, then that pointer will be set to NULL and the kernel will crash. In other cases, it could create a memory scribble. The server sunrpc code treats a SVC_GARBAGE return from svc_authenticate or pg_authenticate as if it should send a GARBAGE_ARGS reply. RFC 5531 says that if authentication fails that the RPC should be rejected instead with a status of AUTH_ERR. Handle a SVC_GARBAGE return as an AUTH_ERROR, with a reason of AUTH_BADCRED instead of returning GARBAGE_ARGS in that case. This sidesteps the whole problem of touching the rpc_accept_statp pointer in this situation and avoids the crash.
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
- 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 bug is in the shared kernel RPC server core (net/sunrpc/svc.c) used by nfsd, lockd, and the NFS callback service, and is triggered purely by the bytes of an inbound RPC call arriving on TCP/UDP 2049. Any host that can reach the listening socket, including across the internet, can send the malformed record. AC:L - The attacker sends a single truncated RPC message that ends before the credential flavor field; decode failure and the bad store are deterministic, with no race and no memory-layout precondition. Fresh nfsd threads (server start or pool growth) give the NULL-pointer variant reliably, and every other thread yields the write-after-free variant. PR:N - The crash occurs inside svc_authenticate() itself, before any credential is decoded and long before svc_set_client()/export checks, so no RPC credential, mount, or account is needed. A bare TCP connect to the RPC port is sufficient. UI:N - The server processes the malformed RPC automatically on receipt. No action by any local user or administrator is involved. S:U - The faulting store and its consequences are confined to the kernel's own memory and the RPC service; no VM, IOMMU, or sandbox boundary is crossed. C:H - In the stale-pointer case this is a write into a freed and reallocated page, i.e. memory corruption of arbitrary kernel objects that can be groomed into that slot; corrupting a length or index field in a neighboring structure yields subsequent over-reads and disclosure of kernel memory. I:H - The vulnerable store writes a 32-bit value into a page that has already been released to the allocator and may hold any kernel object, at an offset the attacker can influence via the previous reply's verifier length. That is a remote pre-auth write-after-free primitive usable to corrupt pointers, credentials, or control data. A:H - The NULL-pointer variant oopses the nfsd kernel thread on the very first malformed RPC a thread sees, and can be repeated to kill the whole thread pool, taking down NFS service entirely (full panic where panic_on_oops is set). The write-after-free variant additionally causes unpredictable crashes in unrelated subsystems.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 29cd2927fb914cc53b5ba4f67d2b74695c994ba4 to < 599c489eea793821232a2f69a00fa57d82b0ac98 (affected · git)29cd2927fb914cc53b5ba4f67d2b74695c994ba4 to < 353e75b55e583635bf71cde6abcec274dba05edd (affected · git)29cd2927fb914cc53b5ba4f67d2b74695c994ba4 to < c90459cd58bb421d275337093d8e901e0ba748dd (affected · git)29cd2927fb914cc53b5ba4f67d2b74695c994ba4 to < 94d10a4dba0bc482f2b01e39f06d5513d0f75742 (affected · git)9b59f5c4911e87264507e0934cd2bb277390c560 (affected · git)6.3.4 to < 6.4 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.4 (affected)0 to < 6.4 (unaffected · semver)6.6.95 through 6.6.* (unaffected · semver)6.12.35 through 6.12.* (unaffected · semver)6.15.4 through 6.15.* (unaffected · semver)6.16 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
7- http://www.openwall.com/lists/oss-security/2025/07/02/2
- https://git.kernel.org/stable/c/353e75b55e583635bf71cde6abcec274dba05edd
- https://git.kernel.org/stable/c/599c489eea793821232a2f69a00fa57d82b0ac98
- https://git.kernel.org/stable/c/94d10a4dba0bc482f2b01e39f06d5513d0f75742
- https://git.kernel.org/stable/c/c90459cd58bb421d275337093d8e901e0ba748dd
- https://github.com/keymaker-arch/NFSundown
- https://www.openwall.com/lists/oss-security/2025/07/02/2
Provider assertions
3Linux · cna
sunrpc: handle SVC_GARBAGE during svc auth processing as auth error
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b4bacc56040867f8387dcc87fa0c764424290807259d2264eca0a56e2a8b688d
- Ingested
- 15 Oct 2026, 23:26:24 UTC
- Source record
- Official CVE record