LiveActive security incident?Get immediate response
CVE Record

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.

HighCVSS 7.5Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

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.
Prepared
Confidence
medium
Sources
6

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.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

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.

ScoreVersionSeverityVectorExploitImpactSource
7.5CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H3.93.6Linux

Vulnerability scoring details

Base CVSS 3.1 score

7.5High
CVSS 3.1 vector shape for CVE-2025-40129Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux0653028e8f1c97fec30710813a001ad8a2ec34f4, 0653028e8f1c97fec30710813a001ad8a2ec34f4, 0653028e8f1c97fec30710813a001ad8a2ec34f4, 0653028e8f1c97fec30710813a001ad8a2ec34f4unaffected
LinuxLinux6.3, 0, 6.6.112, 6.12.53, 6.17.3, 6.18affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.