CVE-2025-38089
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.
Weakness
- CWE-476: NULL Pointer Dereference
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2026-10-15 |
Timeline
- 2025-06-30Published by the CNA07:29 UTC
- 2026-10-15CISA SSVC decision recorded472 days after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| linux linux_kernel | from 6.4 before 6.12.35fixed in 6.12.35from 6.7 before 6.12.35fixed in 6.12.35from 6.13 before 6.15.4fixed in 6.15.4from 6.4 before 6.15.4fixed in 6.15.4from 6.4 before 6.16fixed in 6.16(+6 more) | 6.12.356.12.356.15.46.15.46.16 |
References
- 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
- http://www.openwall.com/lists/oss-security/2025/07/02/2
- https://www.openwall.com/lists/oss-security/2025/07/02/2
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2025-38089'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2025-38089'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2025-38089'curl 'https://api.contrastcyber.com/cve_products/CVE-2025-38089'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).