SUNRPC: Fix loop termination condition in gss_free_in_token_pages()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 8ca148915670a2921afcc255af9e1dc80f37b052 · < 0a1cb0c6102bb4fd310243588d39461da49497ad| No fix yet |
| Linux Linux |
| No fix yet |
In the Linux kernel, the following vulnerability has been resolved:
SUNRPC: Fix loop termination condition in gss_free_in_token_pages()
The in_token->pages[] array is not NULL terminated. This results in the following KASAN splat:
KASAN: maybe wild-memory-access in range [0x04a2013400000008-0x04a201340000000f]
From the CVE record · Linux
The SUNRPC gss_free_in_token_pages() function uses an incorrect loop termination condition because the in_token->pages[] array is not NULL-terminated. This can cause wild memory access reported by KASAN. The input does not specify how an attacker could trigger it or whether network access, authentication, or user interaction is required.
Anyone running the Linux kernel should check their version against the vendor advisory; affected versions are not specified in the input.