{"id":"CVE-2025-71289","state":"PUBLISHED","title":"fs/ntfs3: handle attr_set_size() errors when truncating files","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: handle attr_set_size() errors when truncating files\n\nIf attr_set_size() fails while truncating down, the error is silently\nignored and the inode may be left in an inconsistent state.","publishedAt":"2026-05-06T11:32:21.715Z","updatedAt":"2026-10-30T12:23:36.617Z","severity":{"score":7.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4342306f0f0d5ff4315a204d315c1b51b914fca5","status":"affected","lessThan":"20bfb08c8355b8300d2bbcaa4bbc24122a4b2d99","versionType":"git"},{"version":"4342306f0f0d5ff4315a204d315c1b51b914fca5","status":"affected","lessThan":"92300ac7ff17cad67ff2f3fbb7003afa326134e0","versionType":"git"},{"version":"4342306f0f0d5ff4315a204d315c1b51b914fca5","status":"affected","lessThan":"3a718675d6af4992e34ffe86b8f36d471a5afe0e","versionType":"git"},{"version":"4342306f0f0d5ff4315a204d315c1b51b914fca5","status":"affected","lessThan":"d73dcd1520d65a34420761641a36b951b14c8c53","versionType":"git"},{"version":"4342306f0f0d5ff4315a204d315c1b51b914fca5","status":"affected","lessThan":"6dfea43d11513b7f2892529de55e8f0855108a2c","versionType":"git"},{"version":"4342306f0f0d5ff4315a204d315c1b51b914fca5","status":"affected","lessThan":"576248a34b927e93b2fd3fff7df735ba73ad7d01","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/file.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.145","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.92","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.34","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.6","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/file.c"]}],"references":["https://git.kernel.org/stable/c/20bfb08c8355b8300d2bbcaa4bbc24122a4b2d99","https://git.kernel.org/stable/c/92300ac7ff17cad67ff2f3fbb7003afa326134e0","https://git.kernel.org/stable/c/3a718675d6af4992e34ffe86b8f36d471a5afe0e","https://git.kernel.org/stable/c/d73dcd1520d65a34420761641a36b951b14c8c53","https://git.kernel.org/stable/c/6dfea43d11513b7f2892529de55e8f0855108a2c","https://git.kernel.org/stable/c/576248a34b927e93b2fd3fff7df735ba73ad7d01"],"weaknesses":[],"ingestedAt":"2026-10-30T12:40:04.423Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/71xxx/CVE-2025-71289.json","commit":"db8103c5921aac81d5d90efcf3745980dafabf49","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-71289","state":"PUBLISHED","datePublished":"2026-05-06T11:32:21.715Z","dateUpdated":"2026-10-30T12:23:36.617Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-05-06T11:31:45.509Z"},"containers":{"cna":{"title":"fs/ntfs3: handle attr_set_size() errors when truncating files","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: handle attr_set_size() errors when truncating files\n\nIf attr_set_size() fails while truncating down, the error is silently\nignored and the inode may be left in an inconsistent state."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4342306f0f0d5ff4315a204d315c1b51b914fca5","status":"affected","lessThan":"20bfb08c8355b8300d2bbcaa4bbc24122a4b2d99","versionType":"git"},{"version":"4342306f0f0d5ff4315a204d315c1b51b914fca5","status":"affected","lessThan":"92300ac7ff17cad67ff2f3fbb7003afa326134e0","versionType":"git"},{"version":"4342306f0f0d5ff4315a204d315c1b51b914fca5","status":"affected","lessThan":"3a718675d6af4992e34ffe86b8f36d471a5afe0e","versionType":"git"},{"version":"4342306f0f0d5ff4315a204d315c1b51b914fca5","status":"affected","lessThan":"d73dcd1520d65a34420761641a36b951b14c8c53","versionType":"git"},{"version":"4342306f0f0d5ff4315a204d315c1b51b914fca5","status":"affected","lessThan":"6dfea43d11513b7f2892529de55e8f0855108a2c","versionType":"git"},{"version":"4342306f0f0d5ff4315a204d315c1b51b914fca5","status":"affected","lessThan":"576248a34b927e93b2fd3fff7df735ba73ad7d01","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/file.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.145","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.92","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.34","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.6","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/file.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/20bfb08c8355b8300d2bbcaa4bbc24122a4b2d99"},{"url":"https://git.kernel.org/stable/c/92300ac7ff17cad67ff2f3fbb7003afa326134e0"},{"url":"https://git.kernel.org/stable/c/3a718675d6af4992e34ffe86b8f36d471a5afe0e"},{"url":"https://git.kernel.org/stable/c/d73dcd1520d65a34420761641a36b951b14c8c53"},{"url":"https://git.kernel.org/stable/c/6dfea43d11513b7f2892529de55e8f0855108a2c"},{"url":"https://git.kernel.org/stable/c/576248a34b927e93b2fd3fff7df735ba73ad7d01"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","baseScore":7.1,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:N - An NTFS3 volume can back an NFS or ksmbd share; remote SETATTR or EndOfFile requests reach vfs_truncate(), ntfs_setattr(), ntfs_truncate(), and attr_set_size().\nAC:L - The path has no race or victim-dependent timing, and an attacker can control file layout, truncation sizes, resource pressure, and repeated attempts to induce a shrink-side failure.\nPR:L - NFS requires write/truncate permission, while ksmbd requires a valid session and FILE_WRITE_DATA access; an ordinary authorized share user suffices without administrative capabilities.\nUI:N - Once the NTFS3 volume is mounted and shared, the attacker can issue truncation requests without any victim action.\nS:U - The inconsistent inode and resulting filesystem availability impact remain within the host kernel and filesystem security authority.\nC:N - The bug provides no memory-read primitive, and data beyond the reduced valid-data length is unmapped or zero-filled rather than disclosed.\nI:L - The ignored failure can desynchronize VFS size, valid-data length, allocation runs, attribute-list records, and parent metadata, causing limited persistent filesystem corruption without an arbitrary memory-write primitive.\nA:H - The inconsistency can mark an inode bad, make files inaccessible, persist damaged NTFS metadata, or render the affected volume unusable; repeated requests can sustain the denial of service."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-30T12:23:36.617Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.1.191"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.6.145"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.12.92"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.18.34"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.19.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"7.0"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}