CVE-2025-40129: sunrpc: fix null pointer dereference on zero-length checksum
In the Linux kernel, the following vulnerability has been resolved:
sunrpc: fix null pointer dereference on zero-length checksum
In xdr_stream_decode_opaque_auth(), zero-length checksum.len causes
checksum.data to be set to NULL. This triggers a NPD when accessing
checksum.data in gss_krb5_verify_mic_v2(). This patch ensures that
the value of checksum.len is not less than XDR_UNIT.
Security readout for executives and security teams
Plain-English summary
A malformed zero-length authentication checksum can make the Linux kernel dereference a null pointer while processing SUNRPC Kerberos authentication. A successful attack can crash or disrupt an affected system, causing service downtime. The supplied CVSS score is 7.5 because the issue is network-reachable, requires no privileges or user interaction, and affects availability rather than data confidentiality or integrity.
Executive priority
Prioritize remediation for exposed SUNRPC infrastructure because the documented outcome is remotely triggered system disruption. Accelerate patching where outages would affect critical operations. Maintain normal risk-based scheduling for systems without reachable SUNRPC services, while confirming vendor-specific exposure because the supplied affected-version data is incomplete.
Technical view
In xdr_stream_decode_opaque_auth(), a zero-length checksum sets checksum.data to NULL. gss_krb5_verify_mic_v2() subsequently accesses that pointer, causing a kernel null-pointer dereference. The kernel fix rejects checksums shorter than XDR_UNIT. The supplied vector is CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
Likely exposure
Exposure is most relevant to affected Linux systems running network-accessible SUNRPC services that process Kerberos-backed GSS authentication. The bundle lists affected Linux versions but does not clearly define complete version ranges or distribution package status. Confirm exposure using each distribution’s kernel advisory and whether the cited stable fix is included.
Exploitation context
The supplied record describes network-based, low-complexity, unauthenticated availability impact. It does not establish code execution, data theft, or privilege escalation. The CVE is not identified as CISA KEV in the bundle, and no cited source reports active exploitation or a public exploit. Treat exploitation status as unconfirmed.
Researcher notes
The failure chain is specifically zero-length opaque-auth checksum handling followed by MIC verification. The fix enforces checksum.len >= XDR_UNIT before the pointer is consumed. Four Linux stable commits are cited, likely covering separate maintained branches. The bundle does not provide reliable branch-to-version mapping, exploit evidence, crash reproducibility details, or distribution backport status.
Mitigation direction
Install a vendor-supported kernel update containing the cited zero-length checksum validation fix.
Prioritize internet-facing or untrusted-network SUNRPC systems using Kerberos authentication.
Restrict unnecessary network access to SUNRPC services until affected systems are updated.
Check Linux distribution advisories for exact package versions and reboot requirements.
Validation and detection
Inventory kernel versions on systems providing SUNRPC services.
Determine whether RPCSEC_GSS or Kerberos authentication is enabled and network-reachable.
Confirm the installed kernel contains the applicable cited stable fix.
Verify patched systems booted into the updated kernel after maintenance.
Monitor kernel logs for null-pointer faults involving the named SUNRPC and GSS functions.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2025-40129 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
0ADP providers
5Source links
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.