CVE-2026-99102: ntfs: take invalidate_lock in ntfs_setattr_size()

Published Oct 28, 2026
·
Updated

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

ntfs: take invalidatelock in ntfssetattrsize()

ntfssetattrsize() updates isize and resizes the on-disk attribute without holding mapping->invalidatelock. Page faults take the lock shared, so a fault racing the resize can resolve a VCN against the transient runlist state of ntfsnonresidentattrexpand() and fail with a spurious SIGBUS, and can interleave with the size-change epilogue (truncatepagecache(), isizewrite(), pagecacheisizeextended()).

Take invalidatelock exclusively around the whole resize after inodediowait(), matching the fallocate path and other filesystems such as xfs, which wraps truncate in its mmaplock (= invalidatelock).

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In ntfs_setattr_size(), acquire mapping->invalidate_lock exclusively around the entire resize operation, including truncate_pagecache(), i_size_write(), inode_dio_wait(), and pagecache_isize_extended(), to prevent page faults from racing transient runlist state.

Event History

Oct 28, 2026
CVE Published
via MITRE·10:34 AM
Data Sourced
via MITRE·10:34 AM
Description

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