CVE-2026-99607

ext2: preserve IOMAP_F_DIRTY for extending direct writes

State
Published
Severity
Not scored
Published
Nov 20, 2026
Updated
Nov 20, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

ext2: preserve IOMAP_F_DIRTY for extending direct writes

ext2_iomap_begin() sets IOMAP_F_DIRTY for writes that may extend i_size, but clears the flag after ext2_get_blocks(). When the write uses an existing mapped block, iomap can then use FUA and skip generic_write_sync(), even though ext2_dio_write_end_io() updates the inode size. An O_DSYNC write can therefore return without persisting the new size.

For example, on a FUA-capable device, a 512-byte O_DIRECT|O_DSYNC write at offset 512 into a fsynced one-byte file returns successfully and extends the in-memory size to 1024, while an immediate read of the on-disk inode still shows size 1. An explicit fsync persists the new size.

Move setting of IOMAP_F_DIRTY after the initialization.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • fb5de4358e1aa4753dce73c4dc1aca73ff39cedd to before 45d79b40621212ae720d3712d36f31eb3ea1a2d5Affected
  • fb5de4358e1aa4753dce73c4dc1aca73ff39cedd to before 6a5200c0f46ab94d0c29ff9934c81d0de6f7b47aAffected
  • fb5de4358e1aa4753dce73c4dc1aca73ff39cedd to before 2e114662c376f5a5342f2f997c459971dbdf836bAffected
  • fb5de4358e1aa4753dce73c4dc1aca73ff39cedd to before 4f91b042af212ca0b610e43f9a975ddc7f0d0923Affected
LinuxLinux
  • 6.5Affected
  • before 6.5Not affected
  • 6.12.118 through 6.12.*Not affected
  • 6.18.64 through 6.18.*Not affected
  • 7.3.5 through 7.3.*Not affected
  • 7.4-rc2 and laterNot affected

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.