
Cloud Vulnerability DB
A community-led vulnerabilities database
A vulnerability was discovered in the Linux kernel's netfs subsystem, identified as CVE-2024-36001. The issue affects the netfs_perform_write() function when handling write-through caching operations. The vulnerability was discovered and reported by the kernel test robot, and was fixed in April 2024 (Kernel Git).
The vulnerability occurs in the netfs_perform_write() function when a file is marked with NETFS_ICTX_WRITETHROUGH or when O_*SYNC or RWF_*SYNC flags are specified. The issue arises specifically when writing at or above the EOF position, where the function skips the flush and wait operations. This creates a race condition when there's a partial folio at the end of the file being written out, causing both the existing write and new write operations to attempt clearing the writeback mark (Kernel Git).
When triggered, the vulnerability can lead to kernel warnings and potential system instability. The issue manifests as a warning message indicating 'folio is not under writeback' and can affect the reliability of write operations in the filesystem (Kernel Git).
The vulnerability requires specific conditions to be triggered, particularly when performing write operations at or above the EOF position with write-through caching enabled. It primarily affects systems using the netfs filesystem subsystem (Kernel Git).
The issue has been fixed by making the flush-and-wait operation unconditional and moving the WBC attachment above the flush call. The fix ensures proper handling of write operations regardless of their position relative to EOF. Users should update their Linux kernel to a version containing the fix (Kernel Git).
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."