Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
495e90fa334828d4119061e2726af51d0a0fb4ed to < 56392b0d5290ff2b05fc673bc07803b8ae4cfd1baffected495e90fa334828d4119061e2726af51d0a0fb4ed to < 607a9478833db656e7ceac8e9e382fa4acfde545affected
Linux Linux
Default version status: affected
7.1affected0 to < 7.1unaffected7.2.7 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected