Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: ntfs: treat any nonzero dio zero-range return as an error ntfs_dio_zero_range() returns either 0 or a negative errno from blkdev_issue_zeroout(); it never returns a positive value. The zeroing failure check in ntfs_attr_fallocate() therefore never fired, so a failed zeroing operation was silently ignored: the loop kept going, the newly allocated clusters were folded into initialized_size and the write could succeed leaving stale on-disk data. Treat any nonzero return as an error and abort the allocation.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 495e90fa334828d4119061e2726af51d0a0fb4ed before 56392b0d5290ff2b05fc673bc07803b8ae4cfd1b; affected 495e90fa334828d4119061e2726af51d0a0fb4ed before 607a9478833db656e7ceac8e9e382fa4acfde545 |
| Linux / Linux | affected 7.1; unaffected 0 before 7.1; unaffected 7.2.7 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.