CVE-2024-49885
Linux Kernel vulnerability analysis and mitigation

Overview

In the Linux kernel, a vulnerability (CVE-2024-49885) has been identified and resolved in the memory management subsystem, specifically in the SLUB allocator. The issue was introduced by commit 946fa0dbf2d8 which extended redzone checks to extra allocated kmalloc space. When initonfree=1 is set, the system would clear the full object size including the redzone, and additionally clear the object metadata including the stored origsize, causing it to become zero. This would lead to checkobject() treating the whole object as a redzone (Kernel Patch).

Technical details

The vulnerability occurs in the SLUB memory allocator's handling of kmalloc redzones. When initonfree=1 is enabled along with slubdebug=FUZ, the system improperly zeroes the entire object including the redzone area and metadata. This causes the checkobject() function to incorrectly interpret the object boundaries, leading to false positive detections of redzone overwrites. The issue affects Linux kernel versions from 6.2 through 6.10.14 and 6.11 through 6.11.3 (NVD).

Impact

The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium), with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. The primary impact is a potential denial of service condition through system crashes when certain memory operations trigger false positive redzone overwrite detections (NVD).

Mitigation and workarounds

The issue has been fixed in Linux kernel versions 6.10.14 and 6.11.3. The patch modifies the memory initialization process to use origsize for clearing the used area and properly restore the origsize value after clearing the remaining area. This prevents the false positive redzone overwrite detections while maintaining the security benefits of memory initialization (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