← CVE Intelligence

CVE-2025-40129

sunrpc: fix null pointer dereference on zero-length checksum PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 0653028e8f1c97fec30710813a001ad8a2ec34f4 before 81cec07d303186d0d8c623ef8b5ecd3b81e94cf6; affected 0653028e8f1c97fec30710813a001ad8a2ec34f4 before affc03d44921f493deaae1d33151e3067a6f9f8f; affected 0653028e8f1c97fec30710813a001ad8a2ec34f4 before ab9a70cd2386a0d70c164b0905dd66bc9af52e77; affected 0653028e8f1c97fec30710813a001ad8a2ec34f4 before 6df164e29bd4e6505c5a2e0e5f1e1f6957a16a42
Linux / Linuxaffected 6.3; unaffected 0 before 6.3; unaffected 6.6.112 through 6.6.*; unaffected 6.12.53 through 6.12.*; unaffected 6.17.3 through 6.17.*; unaffected 6.18 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.