CVE-2025-40129

sunrpc: fix null pointer dereference on zero-length checksum

State
Published
Severity
7.5 High
Published
Nov 12, 2025
Updated
Oct 15, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 0653028e8f1c97fec30710813a001ad8a2ec34f4 to before 81cec07d303186d0d8c623ef8b5ecd3b81e94cf6Affected
  • 0653028e8f1c97fec30710813a001ad8a2ec34f4 to before affc03d44921f493deaae1d33151e3067a6f9f8fAffected
  • 0653028e8f1c97fec30710813a001ad8a2ec34f4 to before ab9a70cd2386a0d70c164b0905dd66bc9af52e77Affected
  • 0653028e8f1c97fec30710813a001ad8a2ec34f4 to before 6df164e29bd4e6505c5a2e0e5f1e1f6957a16a42Affected
LinuxLinux
  • 6.3Affected
  • before 6.3Not affected
  • 6.6.112 through 6.6.*Not affected
  • 6.12.53 through 6.12.*Not affected
  • 6.17.3 through 6.17.*Not affected
  • 6.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.