{"id":"CVE-2026-99102","aliases":["CVE-2026-99102"],"related":[],"kind":"vulnerability","state":"published","title":"ntfs: take invalidate_lock in ntfs_setattr_size()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nntfs: take invalidate_lock in ntfs_setattr_size()\n\nntfs_setattr_size() updates i_size and resizes the on-disk attribute\nwithout holding mapping->invalidate_lock.  Page faults take the lock\nshared, so a fault racing the resize can resolve a VCN against the\ntransient runlist state of ntfs_non_resident_attr_expand() and fail\nwith a spurious SIGBUS, and can interleave with the size-change\nepilogue (truncate_pagecache(), i_size_write(),\npagecache_isize_extended()).\n\nTake invalidate_lock exclusively around the whole resize after\ninode_dio_wait(), matching the fallocate path and other filesystems\nsuch as xfs, which wraps truncate in its mmaplock (= invalidate_lock).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nntfs: take invalidate_lock in ntfs_setattr_size()\n\nntfs_setattr_size() updates i_size and resizes the on-disk attribute\nwithout holding mapping->invalidate_lock.  Page faults take the lock\nshared, so a fault racing the resize can resolve a VCN against the\ntransient runlist state of ntfs_non_resident_attr_expand() and fail\nwith a spurious SIGBUS, and can interleave with the size-change\nepilogue (truncate_pagecache(), i_size_write(),\npagecache_isize_extended()).\n\nTake invalidate_lock exclusively around the whole resize after\ninode_dio_wait(), matching the fallocate path and other filesystems\nsuch as xfs, which wraps truncate in its mmaplock (= invalidate_lock).","source":"cvelist"}],"published":"2026-10-28T10:34:17.224Z","modified":"2026-10-28T11:17:29.487Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"9c87959601e80b39a45250e362e6ddfec17cb0fa","fixed":"f0b0738ba95731eeafd11352c74f8b48951f67dc","status":"affected"},{"type":"git","introduced":"9c87959601e80b39a45250e362e6ddfec17cb0fa","fixed":"9cc5761b8f28f9cef72061094eb5e37e2cd44d97","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.1","status":"unaffected"},{"type":"semver","introduced":"7.2.13","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/f0b0738ba95731eeafd11352c74f8b48951f67dc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9cc5761b8f28f9cef72061094eb5e37e2cd44d97","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99102","url":"https://www.cve.org/CVERecord?id=CVE-2026-99102","licence":"CVE Terms of Use","modified":"2026-10-28T10:34:17.224Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99102","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99102","licence":"Public domain","modified":"2026-10-28T11:17:29.487Z"}],"updatedAt":"2026-11-25T22:59:47.562Z","epss":{"score":0.00156,"percentile":0.0501,"date":"2026-12-01T12:00:22.000Z"}}