SUNRPC: svcauth_gss: avoid NULL deref on zero length gss_token in gss_read_proxy_verf
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 4.20, Kernel 5.15.198, Kernel 6.1.160 and 12 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=4.19.99 <4.20, >=5.11 <5.15.198, >=5.16 <6.1.160, >=5.4.15 <5.5, >=5.5.1 <5.10.248, >=6.13 <6.18.3, >=6.2 <6.6.120, >=6.7 <6.12.64, =5.5, =6.19, >=5866efa8cbfbadf3905072798e96652faf02dbe8 <1c8bb965e9b0559ff0f5690615a527c30f651dd8, >=5866efa8cbfbadf3905072798e96652faf02dbe8 <4dedb6a11243a5c9eb9dbb97bca3c98bd725e83d, >=5866efa8cbfbadf3905072798e96652faf02dbe8 <7452d53f293379e2c38cfa8ad0694aa46fc4788b, >=5866efa8cbfbadf3905072798e96652faf02dbe8 <a2c6f25ab98b423f99ccd94874d655b8bcb01a19, >=5866efa8cbfbadf3905072798e96652faf02dbe8 <a8f1e445ce3545c90d69c9e8ff8f7821825fe810, >=5866efa8cbfbadf3905072798e96652faf02dbe8 <d4b69a6186b215d2dc1ebcab965ed88e8d41768d, >=5866efa8cbfbadf3905072798e96652faf02dbe8 <f9e53f69ac3bc4ef568b08d3542edac02e83fefd, =66ed7b413d31c6ff23901ac4443b1cc1af2f6113, =7be8c165dc81564705e8e0b72d398ef708f67eaa | 4.20, 5.15.198, 6.1.160, 5.5, 5.10.248, 6.18.3, 6.6.120, 6.12.64, 1c8bb965e9b0559ff0f5690615a527c30f651dd8, 4dedb6a11243a5c9eb9dbb97bca3c98bd725e83d, 7452d53f293379e2c38cfa8ad0694aa46fc4788b, a2c6f25ab98b423f99ccd94874d655b8bcb01a19, a8f1e445ce3545c90d69c9e8ff8f7821825fe810, d4b69a6186b215d2dc1ebcab965ed88e8d41768d, f9e53f69ac3bc4ef568b08d3542edac02e83fefd |
| linux-kernel: Kernel | >=4.19.99 <4.20, >=5.11.0 <5.15.198, >=5.16.0 <6.1.160, >=5.4.15 <5.5, >=5.5.0 <5.10.248, >=6.13.0 <6.18.3, >=6.2.0 <6.6.120, >=6.7.0 <6.12.64 | 4.20, 5.15.198, 6.1.160, 5.5, 5.10.248, 6.18.3, 6.6.120, 6.12.64 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket