CVE-2024-46748
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-46748 affects the Linux kernel's cachefiles subsystem. The vulnerability was discovered and disclosed in September 2024, relating to improper handling of maximum subrequest sizes for cache writes. The issue specifically involves the cachefiles component not properly setting the maximum size limit for write operations to the backing filesystem (Kernel Git).

Technical details

The vulnerability stems from a misconfiguration in the cachefiles subsystem where the maximum size of a subrequest that writes to cachefiles was set to ULONGMAX instead of the more appropriate MAXRWCOUNT value. This could potentially lead to overrunning the maximum write capacity that can be made to the backing filesystem. The fix involves modifying the subreq->maxlen parameter in the cachefilespreparewritesubreq function to use MAXRW_COUNT as the limit (Kernel Git).

Impact

The vulnerability could potentially allow write operations that exceed the backing filesystem's maximum supported write size, which may lead to system instability or potential data corruption when writing to cached files (Kernel Git).

Mitigation and workarounds

The issue has been resolved through a patch that properly sets the maximum subrequest size for cache writes to MAXRWCOUNT. Users should update their Linux kernel to a version that includes this security fix (Kernel Git).

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-40300N/AN/A
  • Linux KernelLinux Kernel
  • perf-debuginfo
NoYesSep 11, 2025
CVE-2025-39791N/AN/A
  • Linux KernelLinux Kernel
  • kernel
NoNoSep 11, 2025
CVE-2025-39790N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-debug-modules-partner
NoNoSep 11, 2025
CVE-2025-39784N/AN/A
  • Linux KernelLinux Kernel
  • kernel-kdump
NoNoSep 11, 2025
CVE-2025-39782N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-debug
NoNoSep 11, 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