7.5high
SUNRPC: svcauth_gss: avoid NULL deref on zero length gss_token in gss_read_proxy_verf
- Severity
- 7.5high CVSS:3.1 by Linux
- Exploit likelihood
- 0.56% (higher than 48% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 5866efa8cbfbadf3905072798e96652faf02dbe8 before a8f1e445ce3545c90d69c9e8ff8f7821825fe810, from 5866efa8cbfbadf3905072798e96652faf02dbe8 before 4dedb6a11243a5c9eb9dbb97bca3c98bd725e83d, from 5866efa8cbfbadf3905072798e96652faf02dbe8 before f9e53f69ac3bc4ef568b08d3542edac02e83fefd, from 5866efa8cbfbadf3905072798e96652faf02dbe8 before 7452d53f293379e2c38cfa8ad0694aa46fc4788b, from 5866efa8cbfbadf3905072798e96652faf02dbe8 before a2c6f25ab98b423f99ccd94874d655b8bcb01a19, from 5866efa8cbfbadf3905072798e96652faf02dbe8 before 1c8bb965e9b0559ff0f5690615a527c30f651dd8, from 5866efa8cbfbadf3905072798e96652faf02dbe8 before d4b69a6186b215d2dc1ebcab965ed88e8d41768d, 66ed7b413d31c6ff23901ac4443b1cc1af2f6113 and 4 more Not affected: before 5.5, from 5.10.248 up to 5.10.*, from 5.15.198 up to 5.15.*, from 6.1.160 up to 6.1.*, from 6.6.120 up to 6.6.*, from 6.12.64 up to 6.12.* | CVE List |
| linux linux_kernel | from 4.19.99 before 4.20, from 5.4.15 before 5.5, from 5.5.1 before 5.10.248, from 5.11 before 5.15.198, from 5.16 before 6.1.160, from 6.2 before 6.6.120, from 6.7 before 6.12.64, from 6.13 before 6.18.3 and 2 more | NVD |
All scores
| Linux | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: SUNRPC: svcauth_gss: evitar desreferenciación de NULL en gss_token de longitud cero en gss_read_proxy_verf Un gss_token de longitud cero resulta en pages == 0 y in_token->pages[0] es NULL. El código evalúa incondicionalmente page_address(in_token->pages[0]) para el memcpy inicial, lo que puede desreferenciar NULL incluso cuando la longitud de la copia es 0. Proteger el primer memcpy para que solo se ejecute cuando length > 0.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-71120 changed 2026-11-10 | CVE Terms of Use |
| NVD | CVE-2025-71120 changed 2026-11-10 | Public domain |