CVE-2024-36964
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-36964 affects the Linux kernel's 9P filesystem implementation. The vulnerability was discovered and disclosed on June 3, 2024, and involves a permission translation issue in the fs/9p subsystem. Specifically, the vulnerability affects how plain 9P2000's permission bits are handled, allowing unintended permission bits (including the suid bit) to be set (NVD).

Technical details

The vulnerability exists in the p9mode2perm function within fs/9p/vfs_inode.c where garbage bits in plain 9P2000's permission bits were allowed through. The issue stems from using S_IALLUGO instead of limiting the permission mask to 0777 (S_IRWXUGO) for RWX permissions. This implementation flaw allows setting extended permission bits, including the suid bit, which was not intended for plain 9P2000 protocol (Kernel Commit).

Impact

The vulnerability could allow setting unintended permission bits, including the suid bit, which could potentially lead to privilege escalation. This is particularly concerning as the unix extended bits are supposed to be handled explicitly and conditionally on .u extension (NVD).

Exploitability

The vulnerability requires access to a system using the 9P filesystem implementation in the Linux kernel. The issue specifically affects the permission translation mechanism when using plain 9P2000 protocol (Kernel Commit).

Mitigation and workarounds

The vulnerability has been fixed in various Linux kernel versions through a patch that modifies the permission translation to only use the RWX bits (0777) for plain 9P2000. Multiple Linux distributions have released updates incorporating this fix, including Ubuntu which has patched various kernel versions (Ubuntu Security).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-74583NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug
NoYesAug 21, 2026
CVE-2026-74582NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel.src
NoYesAug 21, 2026
CVE-2026-74581NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-internal
NoYesAug 21, 2026
CVE-2026-74580NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug
NoYesAug 21, 2026
CVE-2025-30156NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-devel-matched
NoYesAug 21, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management