CVE-2026-89840: f2fs: validate MOVE_RANGE destination size

Published Sep 16, 2026
·
Updated

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

f2fs: validate MOVERANGE destination size

F2FSIOCMOVERANGE checks the source range, but not the destination end before updating isize. A source hole can expose this: cloneblkaddrs() skips NULLADDR entries and returns success, so the caller can still extend the destination inode with unchecked posout + len.

Reject destination overflow and use inodenewsizeok() before extending the destination inode.

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 16, 2026
CVE Published
via MITRE·10:31 AM
Data Sourced
via MITRE·10:31 AM
Description

Frequently Asked Questions

1

What conditions are needed to trigger this issue?

The issue involves the F2FS_IOC_MOVE_RANGE operation when a source range contains a hole. Because NULL_ADDR entries can be skipped successfully, the destination inode may be extended using an unchecked destination offset plus length.

2

What should defenders verify when assessing exposure?

Verify whether affected systems use the F2FS filesystem and permit use of the F2FS_IOC_MOVE_RANGE ioctl. Review uses of range-moving operations involving sparse source files or source holes, particularly where the requested destination range could exceed valid file-size limits.

3

What does the fix change?

The fix rejects destination-size overflow and checks proposed destination inode growth with inode_newsize_ok() before extending i_size.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203