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

fs/ntfs3: handle attr_set_size() errors when truncating files

If attr_set_size() fails while truncating down, the error is silently
ignored and the inode may be left in an inconsistent state.
Published: 2026-05-06
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in the NTFS3 file system driver in the Linux kernel. When a file is truncated to a smaller size, the kernel calls attr_set_size() to adjust the inode size; if this call fails, the error is silently ignored. As a result the inode metadata can be left in an inconsistent state, which can corrupt file data, cause loss of data, or in the worst case provoke a file‑system‑level denial of service as corrupted inodes propagate through the file system. This weakness is a failure to properly handle an error condition and is identified as CWE‑390.

Affected Systems

All Linux kernel releases that contain the NTFS3 implementation before the fix identified by commit 576248a34b9 are affected. The flaw impacts any system that mounts an NTFS3 partition, whether it is on internal storage, removable media, or network‑attached storage presented to the kernel. The vulnerability is not confined to a particular distribution but applies to every Linux distribution shipping a kernel older than the patched release.

Risk and Exploitability

The CVSS score of 5.5 indicates moderate severity. The EPSS score of < 1% reflects a very low but non‑zero likelihood of exploitation, and the flaw is not listed in the CISA KEV catalog. The attack surface is local: an attacker must have write access to a file on an NTFS3 mount and then perform a truncation operation that fails. Because the error is ignored, the attacker can induce corruption of inode metadata, leading to data loss or interruption of services that depend on the affected files or volume. There is no evidence that the flaw can be exploited for privilege escalation or remote code execution, but the potential for data integrity loss warrants immediate remediation.

Generated by OpenCVE AI on May 13, 2026 at 23:09 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the NTFS3 patch identified by commit 576248a34b9.
  • If a kernel upgrade cannot be performed immediately, remount NTFS3 volumes as read‑only or otherwise prevent write or truncation operations until the fix is in place.
  • After applying the patch, run a filesystem consistency check such as ntfsfix or fsck.ntfs on all NTFS3 volumes to detect and repair any inode inconsistencies.

Generated by OpenCVE AI on May 13, 2026 at 23:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 13 May 2026 21:15:00 +0000

Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}


Thu, 07 May 2026 00:15:00 +0000


Wed, 06 May 2026 14:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-390

Wed, 06 May 2026 12:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: handle attr_set_size() errors when truncating files If attr_set_size() fails while truncating down, the error is silently ignored and the inode may be left in an inconsistent state.
Title fs/ntfs3: handle attr_set_size() errors when truncating files
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-05-11T21:57:19.322Z

Reserved: 2026-05-06T11:31:45.509Z

Link: CVE-2025-71289

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-05-06T12:16:28.103

Modified: 2026-05-13T21:08:55.063

Link: CVE-2025-71289

cve-icon Redhat

Severity :

Publid Date: 2026-05-06T00:00:00Z

Links: CVE-2025-71289 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-05-13T23:15:08Z

Weaknesses