{"id":"CVE-2026-99102","summary":"ntfs: take invalidate_lock in ntfs_setattr_size()","details":"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-\u003einvalidate_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).","modified":"2026-10-30T02:47:23.155465637Z","published":"2026-10-28T10:34:17.224Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99102.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/9cc5761b8f28f9cef72061094eb5e37e2cd44d97"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f0b0738ba95731eeafd11352c74f8b48951f67dc"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99102.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99102"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"9c87959601e80b39a45250e362e6ddfec17cb0fa"},{"fixed":"f0b0738ba95731eeafd11352c74f8b48951f67dc"},{"fixed":"9cc5761b8f28f9cef72061094eb5e37e2cd44d97"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99102.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.1.0"},{"fixed":"7.2.13"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99102.json"}}],"schema_version":"1.9.2"}