---
id: CVE-2026-99102
title: 'ntfs: take invalidate_lock in ntfs_setattr_size()'
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  ntfs: take invalidate_lock in ntfs_setattr_size()

  ntfs_setattr_size() updates i_size and resizes the on-disk attribute
  without holding mapping->invalidate_lock.  Page …
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 9c87959601e80b39a45250e362e6ddfec17cb0fa <
    f0b0738ba95731eeafd11352c74f8b48951f67dc
  - >-
    Linux >= 9c87959601e80b39a45250e362e6ddfec17cb0fa <
    9cc5761b8f28f9cef72061094eb5e37e2cd44d97
  - Linux 7.1
published: '2026-10-28'
updated: '2026-10-28'
sourceUpdated: '2026-10-28T10:34:17.224Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-99102'
references:
  - url: 'https://git.kernel.org/stable/c/f0b0738ba95731eeafd11352c74f8b48951f67dc'
  - url: 'https://git.kernel.org/stable/c/9cc5761b8f28f9cef72061094eb5e37e2cd44d97'
tags:
  - cve.org
ingestedAt: '2026-10-28T11:09:40.457Z'
epss: 0.00156
epssPercentile: 0.04773
---

## Overview

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

ntfs: take invalidate_lock in ntfs_setattr_size()

ntfs_setattr_size() updates i_size and resizes the on-disk attribute
without holding mapping->invalidate_lock.  Page faults take the lock
shared, so a fault racing the resize can resolve a VCN against the
transient runlist state of ntfs_non_resident_attr_expand() and fail
with a spurious SIGBUS, and can interleave with the size-change
epilogue (truncate_pagecache(), i_size_write(),
pagecache_isize_extended()).

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

## Affected

- `Linux >= 9c87959601e80b39a45250e362e6ddfec17cb0fa < f0b0738ba95731eeafd11352c74f8b48951f67dc`
- `Linux >= 9c87959601e80b39a45250e362e6ddfec17cb0fa < 9cc5761b8f28f9cef72061094eb5e37e2cd44d97`
- `Linux 7.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
