{"id":"CVE-2026-143338","state":"PUBLISHED","title":"ntfs: don't allow resident values to overlap the attribute header","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nntfs: don't allow resident values to overlap the attribute header\n\nThe resident value bounds check allows value_offset to point inside the\nattribute header. The reported image has an unnamed $DATA attribute with\na value_offset of zero and a value_length of two, which passes lookup.\n\nAppending to this file makes ntfs_resident_attr_value_resize() shrink the\nattribute record to eight bytes. Moving the following attributes then\noverwrites the resident header fields, so the subsequent memset() uses a\ncorrupted value_offset and writes outside the MFT record buffer.\n\nRequire the resident value to start after the complete resident header.\nBoth lookup paths then return -EIO for the corrupt record, before callers\ncan resize or access its value.","publishedAt":"2026-12-03T09:22:00.079Z","updatedAt":"2026-12-03T09:22:00.079Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"495e90fa334828d4119061e2726af51d0a0fb4ed","status":"affected","lessThan":"f7545f38a529914a047830c2c28d7d7d27fa20b6","versionType":"git"},{"version":"495e90fa334828d4119061e2726af51d0a0fb4ed","status":"affected","lessThan":"99afbf38a5c571157526b7b1c6d8dd7ad1a234d5","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs/attrib.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.1","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs/attrib.c"]}],"references":["https://git.kernel.org/stable/c/f7545f38a529914a047830c2c28d7d7d27fa20b6","https://git.kernel.org/stable/c/99afbf38a5c571157526b7b1c6d8dd7ad1a234d5"],"weaknesses":[],"ingestedAt":"2026-12-03T09:44:04.436Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143338.json","commit":"9e309c7c0f08856e2558a1df33f75dca027fab70","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143338","state":"PUBLISHED","datePublished":"2026-12-03T09:22:00.079Z","dateUpdated":"2026-12-03T09:22:00.079Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.367Z"},"containers":{"cna":{"title":"ntfs: don't allow resident values to overlap the attribute header","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nntfs: don't allow resident values to overlap the attribute header\n\nThe resident value bounds check allows value_offset to point inside the\nattribute header. The reported image has an unnamed $DATA attribute with\na value_offset of zero and a value_length of two, which passes lookup.\n\nAppending to this file makes ntfs_resident_attr_value_resize() shrink the\nattribute record to eight bytes. Moving the following attributes then\noverwrites the resident header fields, so the subsequent memset() uses a\ncorrupted value_offset and writes outside the MFT record buffer.\n\nRequire the resident value to start after the complete resident header.\nBoth lookup paths then return -EIO for the corrupt record, before callers\ncan resize or access its value."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"495e90fa334828d4119061e2726af51d0a0fb4ed","status":"affected","lessThan":"f7545f38a529914a047830c2c28d7d7d27fa20b6","versionType":"git"},{"version":"495e90fa334828d4119061e2726af51d0a0fb4ed","status":"affected","lessThan":"99afbf38a5c571157526b7b1c6d8dd7ad1a234d5","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs/attrib.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.1","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs/attrib.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/f7545f38a529914a047830c2c28d7d7d27fa20b6"},{"url":"https://git.kernel.org/stable/c/99afbf38a5c571157526b7b1c6d8dd7ad1a234d5"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:22:00.079Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.1","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.1","versionEndExcluding":"7.4-rc2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}