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

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 05-12-2026)
- Next step: Check applicability: affected before 6df164e29bd4e6505c5a2e0e5f1e1f6957a16a42, 81cec07d303186d0d8c623ef8b5ecd3b81e94cf6, ab9a70cd2386a0d70c164b0905dd66bc9af52e77, affc03d44921f493deaae1d33151e3067a6f9f8f (CNA); fix release not confirmed
- Status: published
- Published: 2025-11-12 · Modified: 2026-10-15
- Aliases: UBUNTU-CVE-2025-40129, DEBIAN-CVE-2025-40129
- Record: https://cvemate.com/vulnerability/CVE-2025-40129 · JSON: https://cvemate.com/vulnerability/CVE-2025-40129/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.566%, percentile 48.396%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 130)

- debian linux (Debian): \< 6.12.57-1 \| \< 6.17.6-1
- ubuntu linux (Ubuntu): \< 6.8.0-106.106 \| \< 6.17.0-14.14
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 6.8.0-1050.53 \| \< 6.17.0-1007.7
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): \< 6.17.0-1007.7~24.04.1
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1050.53~22.04.1
- ubuntu linux-aws-fips (Ubuntu): \< 6.8.0-1050.53+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1051.57 \| \< 6.17.0-1008.8
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 23)

- <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>
- <https://ubuntu.com/security/CVE-2025-40129>
- <https://www.cve.org/CVERecord?id=CVE-2025-40129>
- <https://git.kernel.org/linus/6df164e29bd4e6505c5a2e0e5f1e1f6957a16a42>
- <https://ubuntu.com/security/notices/USN-8029-1>
- <https://ubuntu.com/security/notices/USN-8030-1>
- <https://ubuntu.com/security/notices/USN-8029-2>
- <https://ubuntu.com/security/notices/USN-8048-1>
- <https://ubuntu.com/security/notices/USN-8029-3>
- <https://ubuntu.com/security/notices/USN-8095-1>
- <https://ubuntu.com/security/notices/USN-8100-1>
- <https://ubuntu.com/security/notices/USN-8095-2>
- <https://ubuntu.com/security/notices/USN-8095-3>
- <https://ubuntu.com/security/notices/USN-8095-4>
- <https://ubuntu.com/security/notices/USN-8125-1>
- <https://ubuntu.com/security/notices/USN-8126-1>
- <https://ubuntu.com/security/notices/USN-8095-5>

---

Data as of 2026-12-06T04:48:42.825Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
