CVE-2024-57850
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-57850 addresses a vulnerability in the Linux kernel's JFFS2 filesystem component, specifically in the rtime decompression routine. The vulnerability was discovered and disclosed on January 11, 2025. The issue affects multiple versions of the Linux kernel, including versions from 5.11 through 6.12.5 (NVD).

Technical details

The vulnerability stems from incomplete bounds checking during the rtime decompression process in the JFFS2 filesystem. The rtime decompression routine fails to fully verify bounds throughout the entire decompression pass, which can lead to memory corruption outside the decompression buffer when processing corrupted compressed data. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, indicating local access requirements but high impact potential (NVD).

Impact

When exploited, this vulnerability can cause memory corruption outside the designated decompression buffer, potentially leading to system instability or unauthorized access to memory regions. The high CVSS score reflects the potential for significant impact on system confidentiality, integrity, and availability when the vulnerability is successfully exploited (NVD).

Mitigation and workarounds

A patch has been developed and committed to the Linux kernel that adds the required boundary checks to prevent memory corruption. The fix involves adding validation to ensure the decompression operation stays within the intended buffer limits. The patch has been backported to multiple kernel versions and is available through various distribution security updates (Kernel Patch).

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-2025-40258HIGH7
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-devel-matched
NoNoDec 04, 2025
CVE-2025-40259MEDIUM6.2
  • Linux KernelLinux Kernel
  • kernel-rt-64k
NoNoDec 04, 2025
CVE-2025-40264MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-64k-modules-extra
NoNoDec 04, 2025
CVE-2025-40254MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-64k-devel-matched
NoNoDec 04, 2025
CVE-2025-40253MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-64k-debug-modules-partner
NoNoDec 04, 2025

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