What’s Vulnerable › Vulnerabilities
CVE-2025-40129: sunrpc: fix null pointer dereference on zero-length checksum
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-11-12 · updated 2026-10-19
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
- Linux kernel: 6.3 — fixed in 6.18
How to fix
Upgrade to a fixed version: Linux kernel 6.18. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/6df164e29bd4e6505c5a2e0e5f1e1f6957a16a42
- https://git.kernel.org/stable/c/81cec07d303186d0d8c623ef8b5ecd3b81e94cf6
- https://git.kernel.org/stable/c/ab9a70cd2386a0d70c164b0905dd66bc9af52e77
- https://git.kernel.org/stable/c/affc03d44921f493deaae1d33151e3067a6f9f8f
Get alerted when CVE-2025-40129 or the next vulnerability affects your stack