CVE-2024-36964

fs/9p: only translate RWX permissions for plain 9P2000

8.8 high EPSS 0.50%

Published 3 Jun 2024 Updated 5 Aug 2026 CNA: Linux

Check your servers for CVE-2024-36964

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-36964 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:

fs/9p: only translate RWX permissions for plain 9P2000

Garbage in plain 9P2000's perm bits is allowed through, which causes it to be able to set (among others) the suid bit. This was presumably not the intent since the unix extended bits are handled explicitly and conditionally on .u.

Severity (CVSS)

8.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/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
required: a user has to do something, such as open a link or a file
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.50%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 44.6% 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 45089142b1497dab2327d60f6c71c40766fc3ea4, before e90bc596a74bb905e0a45bf346038c3f9d1e868d
affected from 45089142b1497dab2327d60f6c71c40766fc3ea4, before df1962a199783ecd66734d563caf0fedecf08f96
affected from 45089142b1497dab2327d60f6c71c40766fc3ea4, before 5a605930e19f451294bd838754f7d66c976a8a2c
affected from 45089142b1497dab2327d60f6c71c40766fc3ea4, before ad4f65328661392de74e3608bb736fedf3b67e32
affected from 45089142b1497dab2327d60f6c71c40766fc3ea4, before ca9b5c81f0c918c63d73d962ed8a8e231f840bc8
affected from 45089142b1497dab2327d60f6c71c40766fc3ea4, before e55c601af3b1223a84f9f27f9cdbd2af5e203bf3
affected from 45089142b1497dab2327d60f6c71c40766fc3ea4, before 157d468e34fdd3cb1ddc07c2be32fb3b02826b02
affected from 45089142b1497dab2327d60f6c71c40766fc3ea4, before cd25e15e57e68a6b18dc9323047fe9c68b99290b
affected 29a3e8657d2a2640384166e3fe29a086d235fc33
affected from 3.0.5, before 3.1
Other versions: unaffected
Linux
affected 3.1
unaffected before 3.1
unaffected from 4.19.314 up to and including 4.19.*
unaffected from 5.4.276 up to and including 5.4.*
unaffected from 5.10.217 up to and including 5.10.*
unaffected from 5.15.159 up to and including 5.15.*
unaffected from 6.1.91 up to and including 6.1.*
unaffected from 6.6.31 up to and including 6.6.*
unaffected from 6.8.10 up to and including 6.8.*
unaffected 6.9 and later
Other versions: affected

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-36964 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-36964

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-36964
trivy image --scanners vuln IMAGE | grep CVE-2024-36964

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-36964 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.