CVE-2025-40129
sunrpc: fix null pointer dereference on zero-length checksum
Reported by linux · Published November 12, 2025
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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 0653028e8f1c97fec30710813a001ad8a2ec34f4, 0653028e8f1c97fec30710813a001ad8a2ec34f4, 0653028e8f1c97fec30710813a001ad8a2ec34f4 |
| Linux | Linux | 6.3, 0, 6.6.112 |
| Linux | Linux | 0653028e8f1c97fec30710813a001ad8a2ec34f4, 6.3, 0653028e8f1c97fec30710813a001ad8a2ec34f4 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.12-libbpf | 0 |
| amazon:2023 | kernel6.12-libbpf-devel | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| linux | linux_kernel | 6.3, 6.3, 6.3 |
| amazon:2023 | kernel-livepatch-6.12.53-69.119 | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel6.12-libbpf-static | 0 |
Timeline
- Oct 12, 2025 PoC Published (12 in total, the first dated here)
- Oct 27, 2025 CVE Published
- Nov 12, 2025 EPSS Score (30 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (187 in total, the first dated here)
- Mar 29, 2026 Security Advisory (193 in total, the first dated here)
- Jun 8, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-40129
vulnetix vdb fixes CVE-2025-40129
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-40129/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart