Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2024-38599
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-38599 addresses a vulnerability in the Linux kernel's JFFS2 (Journalling Flash File System version 2) filesystem implementation. The vulnerability was discovered by the Linux Verification Center (linuxtesting.org) using the Syzkaller fuzzing tool and was disclosed in June 2024. The issue affects the xattr (extended attributes) handling in JFFS2, where xattr nodes could potentially overflow the eraseblock boundaries (Kernel Git).

Technical details

The vulnerability stems from a lack of size validation in JFFS2's xattr node handling. Unlike regular inode nodes, xattr nodes aren't split across multiple eraseblocks. When an xattr value is too large, it can spill onto the next eraseblock, overwriting existing nodes. This occurs because there was no check to ensure the requested xattr node size was smaller than the eraseblock minus the cleanmarker size. The issue was fixed by adding a size validation check in the do_jffs2_setxattr function (Kernel Git).

Impact

When exploited, this vulnerability can lead to filesystem corruption and system instability. The overflow can cause various error conditions including CRC failures, node header corruption, and incorrect block placement. In more severe cases, it can trigger KASAN (Kernel Address Sanitizer) crashes due to slab-out-of-bounds memory access (NVD).

Exploitability

The vulnerability can be triggered by attempting to set extended attributes (xattr) with values large enough to overflow the eraseblock boundary. The issue was discovered through fuzzing testing, indicating it could be exploited through local access to a system with a mounted JFFS2 filesystem (Kernel Git).

Mitigation and workarounds

The vulnerability has been patched in the Linux kernel by adding a size validation check that ensures xattr nodes cannot exceed the eraseblock size minus the cleanmarker size. The fix returns an -ERANGE error when an attempt is made to create an oversized xattr node. Users should update their Linux kernel to a version containing the fix (Kernel Git).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux: 6.1.94-1

Fixed

bullseye

linux: 5.10.221-1

Fixed

sid

linux: 6.8.12-1

Fixed

trixie

linux: 6.8.12-1

Fixed

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-90048CRITICAL9.8
  • Linux Kernel logoLinux Kernel
  • linux-nvidia-lowlatency
NoYesSep 16, 2026
CVE-2026-90042CRITICAL9.8
  • Linux Kernel logoLinux Kernel
  • linux-ibm
NoNoSep 16, 2026
CVE-2026-90049CRITICAL9.3
  • Linux Kernel logoLinux Kernel
  • linux-nvidia-7.0
NoYesSep 16, 2026
CVE-2026-90041HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-azure-nvidia
NoYesSep 16, 2026
CVE-2026-90039NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-hwe-6.14
NoNoSep 16, 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