CVE-2025-38089: sunrpc: handle SVC_GARBAGE during svc auth processing as auth error

Published Jun 30, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

sunrpc: handle SVCGARBAGE 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 SVCGARBAGE is returned without setting the rqacceptstatp 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 SVCGARBAGE return from svcauthenticate or pgauthenticate as if it should send a GARBAGEARGS reply. RFC 5531 says that if authentication fails that the RPC should be rejected instead with a status of AUTHERR.

Handle a SVCGARBAGE return as an AUTHERROR, with a reason of AUTHBADCRED instead of returning GARBAGEARGS in that case. This sidesteps the whole problem of touching the rpcacceptstatp pointer in this situation and avoids the crash.

Affected Software

13 affected components
Linux Kernel
Linux Linux kernel>=6.3.4<6.4
Linux Linux kernel>=6.4.1<6.6.95
Linux Linux kernel>=6.7<6.12.35
Linux Linux kernel>=6.13<6.15.4
Linux Linux kernel=6.4
Linux Linux kernel=6.4-rc3
Linux Linux kernel=6.4-rc4
Linux Linux kernel=6.4-rc5
Linux Linux kernel=6.4-rc6
Linux Linux kernel=6.4-rc7
Linux Linux kernel=6.16-rc1
Linux Linux kernel=6.16-rc2

Event History

Jun 30, 2025
CVE Published
via MITRE·07:29 AM
Data Sourced
via MITRE·07:29 AM
DescriptionSeverity
Data Sourced
via Red Hat·08:01 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·08:15 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-38089?

CVE-2025-38089 has been rated as a critical severity vulnerability due to its potential for remote exploitation leading to a crash of the kernel RPC server.

2

How do I fix CVE-2025-38089?

To mitigate CVE-2025-38089, users should update their Linux kernel to a version where the vulnerability has been patched.

3

Who reported CVE-2025-38089?

CVE-2025-38089 was reported by Tianshuo Han, highlighting a remotely-triggerable crash risk.

4

What types of systems are affected by CVE-2025-38089?

CVE-2025-38089 affects systems running the Linux kernel that utilize the kernel RPC server functionality.

5

What is the impact of exploiting CVE-2025-38089?

Exploitation of CVE-2025-38089 can lead to a denial of service due to a crash of the kernel RPC server upon receiving a specially crafted packet.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203