Skip to main content
← All vulnerabilities
CVE-2025-40129

sunrpc: fix null pointer dereference on zero-length checksum

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.6.112, 6.12.53, 6.17.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From 0653028e8f1c97fec30710813a001ad8a2ec34f4 · fixed in 81cec07d303186d0d8c623ef8b5ecd3b81e94cf6; From 0653028e8f1c97fec30710813a001ad8a2ec34f4 · fixed in affc03d44921f493deaae1d33151e3067a6f9f8f; From 0653028e8f1c97fec30710813a001ad8a2ec34f4 · fixed in ab9a70cd2386a0d70c164b0905dd66bc9af52e77; From 0653028e8f1c97fec30710813a001ad8a2ec34f4 · fixed in 6df164e29bd4e6505c5a2e0e5f1e1f6957a16a42

  • Linux Linux

    6.3

  • KernelLinux

    From 6.3.0 · fixed in 6.6.112; From 6.7.0 · fixed in 6.12.53; From 6.13.0 · fixed in 6.17.3

References 4

git.kernel.org