CVE-2026-99355: SUNRPC: fix oversized GSS proxy token copy
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
SUNRPC: fix oversized GSS proxy token copy
gss_read_proxy_verf() allocates one page per token chunk, but it copies the entire linear head of an RPC request into in_token->pages[0]. A UDP datagram can leave more than PAGE_SIZE bytes in the linear head, so a large RPCSEC_GSS INIT token overwrites following pages.
Copy the linear head in page-sized chunks before switching to the request page array. The linear head itself can span multiple pages.
The Linux kernel CVE team has assigned CVE-2026-99355 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.5 with commit 5866efa8cbfbadf3905072798e96652faf02dbe8 and fixed in 6.12.117 with commit 213fba11c0508f2e7d37ce8592072eed28ca0171 Issue introduced in 5.5 with commit 5866efa8cbfbadf3905072798e96652faf02dbe8 and fixed in 6.18.61 with commit 1cc4b3089eabec479b9cce2d6999ab2263d7def2 Issue introduced in 5.5 with commit 5866efa8cbfbadf3905072798e96652faf02dbe8 and fixed in 7.3.2 with commit 147a30e2e482c9764acf529ba22916cf1212d7ed Issue introduced in 5.5 with commit 5866efa8cbfbadf3905072798e96652faf02dbe8 and fixed in 7.4-rc1 with commit 62319c2534b603b416fa2aa2f3ef18c311f75010 Issue introduced in 4.19.99 with commit 66ed7b413d31c6ff23901ac4443b1cc1af2f6113 Issue introduced in 5.4.15 with commit 7be8c165dc81564705e8e0b72d398ef708f67eaa
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-2026-99355
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/213fba11c0508f2e7d37ce8592072eed28ca0171 https://git.kernel.org/stable/c/1cc4b3089eabec479b9cce2d6999ab2263d7def2 https://git.kernel.org/stable/c/147a30e2e482c9764acf529ba22916cf1212d7ed https://git.kernel.org/stable/c/62319c2534b603b416fa2aa2f3ef18c311f75010