CVE-2024-36288

SUNRPC: Fix loop termination condition in gss_free_in_token_pages()

9.8 critical EPSS 0.74%

Published 21 Jun 2024 Updated 15 Oct 2026 CNA: Linux

Check your servers for CVE-2024-36288

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-36288 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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]

Severity (CVSS)

9.8 critical CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.74%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 55.9% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 21 Jun 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from ab8466d4e26806a4ae82c282762c4545eecf45ef, before 57ff6c0a175930856213b2aa39f8c845a53e5b1c
affected from 4420b73c7f26fd5fcb37bbce5313dd356ef1b3ca, before 6ed45d20d30005bed94c8c527ce51d5ad8121018
affected from f148a95f68c66c1b097391b68e153d5a46f0e780, before 4cefcd0af7458bdeff56a9d8dfc6868ce23d128a
affected from fe0b474974fee7af1df286e0edd5a1460c811865, before b4878ea99f2b40ef1925720b1b4ca7f4af1ba785
affected from c1d8c429e4d2ce85ec5c92cf71cb419baf75c56f, before af628d43a822b78ad8d4a58d8259f8bf8bc71115
affected from 8ca148915670a2921afcc255af9e1dc80f37b052, before 0a1cb0c6102bb4fd310243588d39461da49497ad
affected from bafa6b4d95d97877baa61883ff90f7e374427fae, before 4a77c3dead97339478c7422eb07bf4bf63577008
affected a3c1afd5d7ad59e34a275d80c428952f83c8c1f0
affected from 6.8.12, before 6.9
Other versions: unaffected
Linux
affected from 6.9.3, before 6.9.4
Other versions: unaffected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-36288 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-36288

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-36288
trivy image --scanners vuln IMAGE | grep CVE-2024-36288

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-36288 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.