All reports
Medium

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

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-40129

Probability of exploitation in the next 30 days: 0.57%

FIRST EPSS · 2026-11-18

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.

A flaw was found in the sunrpc component in the Linux kernel. A zero-length checksum can cause a NULL pointer dereference when the checksum data is accessed by gss_krb5_verify_mic_v2(). This issue can cause a crash and result in a denial of service.