Impact
The Linux kernel SMB client mishandles the FALLOC_FL_KEEP_SIZE flag for small interior ranges in smb3_simple_fallocate_range(). Before querying the server for allocated ranges, it fails to force the Windows server to commit written data. The client then zero‑fills any sub‑range reported as an unallocated hole, overwriting live data. This flaw triggers data loss on SMB shares and is an improper handling of memory allocation ranges (CWE-820).
Affected Systems
Linux kernels that have not yet incorporated the SMB client patch are affected. Any distribution using the generic Linux kernel is at risk, especially when accessing Windows 2022 files via SMB3. The vulnerability resides in the kernel’s SMB client code and is limited to environments that use SMB3 file operations.
Risk and Exploitability
Based on the description, it is inferred that the attack vector requires an attacker to write data to a Windows file via SMB3 and then access that file or query allocated ranges before the Windows server has committed the data. This scenario demands specific timing and SMB3 access, indicating a low probability of exploitation with an EPSS score of < 1%. The vulnerability is not listed in the CISA KEV catalog, and its CVSS score is 2.5. Consequently, the data corruption risk manifests when the Linux SMB client zero‑fills a range that the server reports as a hole but has already been written to.
OpenCVE Enrichment