CVE-2025-40129

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinux0653028e8f1c97fec30710813a001ad8a2ec34f4 < 81cec07d303186d0d8c623ef8b5ecd3b81e94cf6affected
LinuxLinux0653028e8f1c97fec30710813a001ad8a2ec34f4 < affc03d44921f493deaae1d33151e3067a6f9f8faffected
LinuxLinux0653028e8f1c97fec30710813a001ad8a2ec34f4 < ab9a70cd2386a0d70c164b0905dd66bc9af52e77affected
LinuxLinux0653028e8f1c97fec30710813a001ad8a2ec34f4 < 6df164e29bd4e6505c5a2e0e5f1e1f6957a16a42affected
LinuxLinux6.3affected
LinuxLinux0 < 6.3unaffected
LinuxLinux6.6.112 <= 6.6.*unaffected
LinuxLinux6.12.53 <= 6.12.*unaffected
LinuxLinux6.17.3 <= 6.17.*unaffected
LinuxLinux6.18 <= *unaffected

Weaknesses

References