Linux
SUNRPC: svcauth_gss: avoid NULL deref on zero length gss_token in gss_read_proxy_verf
In the Linux kernel, the following vulnerability has been resolved: SUNRPC: svcauth_gss: avoid NULL deref on zero length gss_token in gss_read_proxy_verf A zero length gss_token results in pages == 0 and in_token->pages[0] is NULL. The code unconditionally evaluates page_address(in_token->pages[0]) for the initial memcpy, which can dereference NULL even when the copy length is 0. Guard the first memcpy so it only runs when length > 0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 5866efa8cbfbadf3905072798e96652faf02dbe8, < a8f1e445ce3545c90d69c9e8ff8f7821825fe810
- >= 5866efa8cbfbadf3905072798e96652faf02dbe8, < 4dedb6a11243a5c9eb9dbb97bca3c98bd725e83d
- >= 5866efa8cbfbadf3905072798e96652faf02dbe8, < f9e53f69ac3bc4ef568b08d3542edac02e83fefd
- >= 5866efa8cbfbadf3905072798e96652faf02dbe8, < 7452d53f293379e2c38cfa8ad0694aa46fc4788b
- >= 5866efa8cbfbadf3905072798e96652faf02dbe8, < a2c6f25ab98b423f99ccd94874d655b8bcb01a19
- >= 5866efa8cbfbadf3905072798e96652faf02dbe8, < 1c8bb965e9b0559ff0f5690615a527c30f651dd8
- >= 5866efa8cbfbadf3905072798e96652faf02dbe8, < d4b69a6186b215d2dc1ebcab965ed88e8d41768d
- 66ed7b413d31c6ff23901ac4443b1cc1af2f6113
- 7be8c165dc81564705e8e0b72d398ef708f67eaa
- >= 4.19.99, < 4.20
- >= 5.4.15, < 5.5
Fixed in a8f1e445ce3545c90d69c9e8ff8f7821825fe810, 4dedb6a11243a5c9eb9dbb97bca3c98bd725e83d, f9e53f69ac3bc4ef568b08d3542edac02e83fefd, 7452d53f293379e2c38cfa8ad0694aa46fc4788b, a2c6f25ab98b423f99ccd94874d655b8bcb01a19, 1c8bb965e9b0559ff0f5690615a527c30f651dd8, d4b69a6186b215d2dc1ebcab965ed88e8d41768d, 4.20, 5.5
- 5.5
Fixed in 0, 5.10.248, 5.15.198, 6.1.160, 6.6.120, 6.12.64, 6.18.3, 6.19
Mitigation
Upgrade Linux to a8f1e445ce3545c90d69c9e8ff8f7821825fe810 or 4dedb6a11243a5c9eb9dbb97bca3c98bd725e83d or f9e53f69ac3bc4ef568b08d3542edac02e83fefd or 7452d53f293379e2c38cfa8ad0694aa46fc4788b or a2c6f25ab98b423f99ccd94874d655b8bcb01a19 or 1c8bb965e9b0559ff0f5690615a527c30f651dd8 or d4b69a6186b215d2dc1ebcab965ed88e8d41768d or 4.20 or 5.5 or later.
Upgrade Linux to 0 or 5.10.248 or 5.15.198 or 6.1.160 or 6.6.120 or 6.12.64 or 6.18.3 or 6.19 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.