CVE-2024-36964·Kernel vulnerability
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
- medium
- Software
- Kernel
- Fixed in
- 6.8.10
- Published
- 2024-06-03
Affected versions
From: 6.7
Until: 6.8.10
Fixed in: 6.8.10
How to fix this CVE
Update your Linux kernel to version 6.8.10 or later to resolve a permission validation flaw in the 9P filesystem driver. The vulnerability allows improperly filtered permission bits (including setuid) to pass through in plain 9P2000 protocol implementations, potentially enabling unauthorized privilege escalation on systems using this filesystem. Apply the kernel update immediately if your deployment relies on 9P mounts.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version with: uname -r — verify it is below 6.8.10 or in the affected range (6.7–6.8.9)
- List mounted 9P filesystems with: mount | grep 9p — confirm if any 9P mounts are active on the system
- Review filesystem permissions on 9P mounts using: ls -l /mount/point — look for unexpected setuid or setgid bits that should not be present
- After applying the kernel update, reboot and verify the new version with: uname -r — confirm it is 6.8.10 or later
FAQ
What is CVE-2024-36964?
CVE-2024-36964 is a permission validation bypass in the Linux kernel's 9P filesystem driver that allows arbitrary permission bits (including setuid and setgid) to be set on files when using the plain 9P2000 protocol, bypassing the intended security restrictions.
Is CVE-2024-36964 being actively exploited?
No, CVE-2024-36964 is not listed in CISA's Known Exploited Vulnerabilities catalog and no public exploits are currently available.
What versions of Kernel are affected by CVE-2024-36964?
Linux kernel versions 6.7 through 6.8.9 are affected; kernel version 6.8.10 and later contain the fix.
How do I check if my server is vulnerable to CVE-2024-36964?
Run uname -r to display your kernel version and compare it against the affected range (6.7–6.8.9); additionally, use mount | grep 9p to determine if 9P filesystems are in use on your system.
Does Defensia detect CVE-2024-36964?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2024-36964 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/157d468e34fdd3cb1ddc07c2be32fb3b02826b02
- https://git.kernel.org/stable/c/5a605930e19f451294bd838754f7d66c976a8a2c
- https://git.kernel.org/stable/c/ad4f65328661392de74e3608bb736fedf3b67e32
- https://git.kernel.org/stable/c/ca9b5c81f0c918c63d73d962ed8a8e231f840bc8
- https://git.kernel.org/stable/c/cd25e15e57e68a6b18dc9323047fe9c68b99290b
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-36964. Free for 1 server.
Get started free