# CVE-2025-40129: sunrpc: fix null pointer dereference on zero-length checksum

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.84%, higher than 55% of CVEs (2026-11-30)
- Published: 2025-11-12T10:23:21.327Z
- Modified: 2026-10-19T21:10:00.160Z
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 0653028e8f1c97fec30710813a001ad8a2ec34f4 before 81cec07d303186d0d8c623ef8b5ecd3b81e94cf6; from 0653028e8f1c97fec30710813a001ad8a2ec34f4 before affc03d44921f493deaae1d33151e3067a6f9f8f; from 0653028e8f1c97fec30710813a001ad8a2ec34f4 before ab9a70cd2386a0d70c164b0905dd66bc9af52e77; from 0653028e8f1c97fec30710813a001ad8a2ec34f4 before 6df164e29bd4e6505c5a2e0e5f1e1f6957a16a42; 6.3 (not affected: before 6.3; from 6.6.112 up to 6.6.*; from 6.12.53 up to 6.12.*; from 6.17.3 up to 6.17.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/81cec07d303186d0d8c623ef8b5ecd3b81e94cf6>
- <https://git.kernel.org/stable/c/affc03d44921f493deaae1d33151e3067a6f9f8f>
- <https://git.kernel.org/stable/c/ab9a70cd2386a0d70c164b0905dd66bc9af52e77>
- <https://git.kernel.org/stable/c/6df164e29bd4e6505c5a2e0e5f1e1f6957a16a42>

## Sources

- CVE List: [CVE-2025-40129](https://www.cve.org/CVERecord?id=CVE-2025-40129), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-40129](https://nvd.nist.gov/vuln/detail/CVE-2025-40129), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-40129 · Whole record: https://cve.day/CVE-2025-40129.json · Rebuilt by cve.day 2026-11-25T22:59:07.546Z
