[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025111254-CVE-2025-40129-fbb4@gregkh>
Date: Wed, 12 Nov 2025 19:24:05 +0900
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-40129: sunrpc: fix null pointer dereference on zero-length checksum
From: Greg Kroah-Hartman <gregkh@...nel.org>
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.
The Linux kernel CVE team has assigned CVE-2025-40129 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.3 with commit 0653028e8f1c97fec30710813a001ad8a2ec34f4 and fixed in 6.6.112 with commit 81cec07d303186d0d8c623ef8b5ecd3b81e94cf6
Issue introduced in 6.3 with commit 0653028e8f1c97fec30710813a001ad8a2ec34f4 and fixed in 6.12.53 with commit affc03d44921f493deaae1d33151e3067a6f9f8f
Issue introduced in 6.3 with commit 0653028e8f1c97fec30710813a001ad8a2ec34f4 and fixed in 6.17.3 with commit ab9a70cd2386a0d70c164b0905dd66bc9af52e77
Issue introduced in 6.3 with commit 0653028e8f1c97fec30710813a001ad8a2ec34f4 and fixed in 6.18-rc1 with commit 6df164e29bd4e6505c5a2e0e5f1e1f6957a16a42
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2025-40129
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
net/sunrpc/auth_gss/svcauth_gss.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/81cec07d303186d0d8c623ef8b5ecd3b81e94cf6
https://git.kernel.org/stable/c/affc03d44921f493deaae1d33151e3067a6f9f8f
https://git.kernel.org/stable/c/ab9a70cd2386a0d70c164b0905dd66bc9af52e77
https://git.kernel.org/stable/c/6df164e29bd4e6505c5a2e0e5f1e1f6957a16a42
Powered by blists - more mailing lists