{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2025-71289",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-05-06T11:31:45.509Z",
        "datePublished": "2026-05-06T11:32:21.715Z",
        "dateUpdated": "2026-08-05T12:12:41.282Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T12:12:41.282Z"
            },
            "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."
                }
            ],
            "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."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/ntfs3/file.c"
                    ],
                    "versions": [
                        {
                            "version": "4342306f0f0d5ff4315a204d315c1b51b914fca5",
                            "lessThan": "92300ac7ff17cad67ff2f3fbb7003afa326134e0",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4342306f0f0d5ff4315a204d315c1b51b914fca5",
                            "lessThan": "3a718675d6af4992e34ffe86b8f36d471a5afe0e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4342306f0f0d5ff4315a204d315c1b51b914fca5",
                            "lessThan": "d73dcd1520d65a34420761641a36b951b14c8c53",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4342306f0f0d5ff4315a204d315c1b51b914fca5",
                            "lessThan": "6dfea43d11513b7f2892529de55e8f0855108a2c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4342306f0f0d5ff4315a204d315c1b51b914fca5",
                            "lessThan": "576248a34b927e93b2fd3fff7df735ba73ad7d01",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/ntfs3/file.c"
                    ],
                    "versions": [
                        {
                            "version": "5.15",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.15",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.145",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.92",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.34",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.19.6",
                            "lessThanOrEqual": "6.19.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.0",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "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"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "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"
                }
            ],
            "title": "fs/ntfs3: handle attr_set_size() errors when truncating files",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}