
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2024-26692 affects the Linux kernel's SMB client implementation. The vulnerability was discovered in the netfs code introduced in kernel version 6.3, where a regression occurs when the maximum write size is set to a value that is not a multiple of 4096 bytes. This issue was disclosed on April 3, 2024, and affects Linux kernel versions from 6.3 onwards (Kernel Git).
The vulnerability stems from the netfs code's handling of write operations when the negotiated write size is not a multiple of 4096 bytes (PAGE_SIZE). In such cases, the code can skip the end of the final page during large sequential writes, leading to data corruption. This occurs when either the server negotiates an unexpected write size value or when users override the maximum write size using the 'wsize' mount parameter with a non-4096-byte-aligned value (Kernel Git).
The primary impact of this vulnerability is potential data corruption during large sequential write operations when using the SMB client with non-standard write sizes. This affects data integrity and reliability of file operations over SMB connections (Kernel Git).
The vulnerability requires specific conditions to be exploited, namely the use of non-standard write sizes either negotiated by the server or set manually through the 'wsize' mount parameter. It primarily affects systems using the SMB client functionality in Linux kernels version 6.3 and newer (Kernel Git).
The issue has been fixed by implementing changes that round down the write size to the nearest multiple of PAGE_SIZE (4096 bytes). If the rounded value would be zero, it is set to PAGE_SIZE as a minimum. The fix includes warning messages when a user specifies a non-standard wsize value. Users should update to patched kernel versions that include these fixes (Kernel Git).
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."