CVE-2026-98137 PUBLISHED

ntfs: treat any nonzero dio zero-range return as an error

Assigner: Linux
Reserved: 25.09.2026 Published: 25.09.2026 Updated: 25.09.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 495e90fa334828d4119061e2726af51d0a0fb4ed to 56392b0d5290ff2b05fc673bc07803b8ae4cfd1b (excl.)
  • affected from 495e90fa334828d4119061e2726af51d0a0fb4ed to 607a9478833db656e7ceac8e9e382fa4acfde545 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 7.1 is affected
  • unaffected from 0 to 7.1 (excl.)
  • unaffected from 7.2.7 to 7.2.* (incl.)
  • unaffected from 7.3-rc2 to * (incl.)

References