CVE-2025-38089
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-38089 is a vulnerability discovered in the Linux kernel's sunRPC (Remote Procedure Call) implementation. The vulnerability was disclosed on June 30, 2025, and affects the kernel's RPC server authentication processing. The issue was reported by tianshuo han and involves how the server handles SVC_GARBAGE during service authentication processing (NVD).

Technical details

The vulnerability occurs when a client sends a specially crafted packet to the kernel RPC server. If the RPC reply decoding fails in a way that returns SVCGARBAGE without setting the rqaccept_statp pointer, that pointer can be dereferenced and a value stored there. In cases where it's the first thread processing an RPC, the pointer will be NULL, resulting in a kernel crash. In other scenarios, it could lead to memory corruption (NVD).

Impact

The vulnerability can lead to a remotely-triggerable crash of the Linux kernel when exploited. Additionally, in certain cases, it could result in memory corruption, potentially leading to more severe security implications (NVD).

Mitigation and workarounds

The fix involves modifying how SVCGARBAGE returns are handled during authentication. Instead of sending a GARBAGEARGS reply, the system now handles SVCGARBAGE returns as an AUTHERROR with a reason of AUTHBADCRED. This change prevents the problematic dereferencing of the rpcaccept_statp pointer and avoids the crash condition (NVD).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management