Skip to content
CVE PROGRAM SOURCE RECORD7.1 High

CVE-2026-89840

f2fs: validate MOVE_RANGE destination size

Description

In the Linux kernel, the following vulnerability has been resolved: f2fs: validate MOVE_RANGE destination size F2FS_IOC_MOVE_RANGE checks the source range, but not the destination end before updating i_size. A source hole can expose this: __clone_blkaddrs() skips NULL_ADDR entries and returns success, so the caller can still extend the destination inode with unchecked pos_out + len. Reject destination overflow and use inode_newsize_ok() before extending the destination inode.

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

  • 4dd6f977fc778e5a0da604e5f8cb2f36d163d27b to < 54c587f3f95ce2d6932a16566db83f73cc4313e1affected
  • 4dd6f977fc778e5a0da604e5f8cb2f36d163d27b to < bca61ee5192ea47003722486ae9588a2a4bb47b6affected
  • 4dd6f977fc778e5a0da604e5f8cb2f36d163d27b to < db13064669526494cd78ba3a4394063b740e940caffected
  • 4dd6f977fc778e5a0da604e5f8cb2f36d163d27b to < dcae1eeda53149f219dd6af93b3083b7271c1c63affected
  • 4dd6f977fc778e5a0da604e5f8cb2f36d163d27b to < e533889fc26aea0cd83c90327063f272061dd820affected

Linux Linux

Default version status: affected

  • 4.8affected
  • 0 to < 4.8unaffected
  • 6.6.160 to ≤ 6.6.*unaffected
  • 6.12.112 to ≤ 6.12.*unaffected
  • 6.18.53 to ≤ 6.18.*unaffected
  • 7.2.5 to ≤ 7.2.*unaffected
  • 7.3 to ≤ *unaffected

References