Skip to content
CVE PROGRAM SOURCE RECORD7.5 High

CVE-2025-40129

sunrpc: fix null pointer dereference on zero-length checksum

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 0653028e8f1c97fec30710813a001ad8a2ec34f4 to < 81cec07d303186d0d8c623ef8b5ecd3b81e94cf6affected
  • 0653028e8f1c97fec30710813a001ad8a2ec34f4 to < affc03d44921f493deaae1d33151e3067a6f9f8faffected
  • 0653028e8f1c97fec30710813a001ad8a2ec34f4 to < ab9a70cd2386a0d70c164b0905dd66bc9af52e77affected
  • 0653028e8f1c97fec30710813a001ad8a2ec34f4 to < 6df164e29bd4e6505c5a2e0e5f1e1f6957a16a42affected

Linux Linux

Default version status: affected

  • 6.3affected
  • 0 to < 6.3unaffected
  • 6.6.112 to ≤ 6.6.*unaffected
  • 6.12.53 to ≤ 6.12.*unaffected
  • 6.17.3 to ≤ 6.17.*unaffected
  • 6.18 to ≤ *unaffected

References