{"id":"CVE-2026-139482","state":"PUBLISHED","title":"fs/ntfs3: check return values in indx_delete_entry()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: check return values in indx_delete_entry()\n\nWhen the index tree collapses down to an empty root,\nindx_delete_entry() calls attr_set_size() and ni_remove_attr() for\nboth ATTR_ALLOC and ATTR_BITMAP, but their return values are\noverwritten by the following call without being checked.\n\nIn most other call sites of these functions the return value is\nchecked, so add the same checks here in case an error at this point\nis meaningful.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE.","publishedAt":"2026-11-30T13:35:09.686Z","updatedAt":"2026-11-30T13:35:09.686Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"82cae269cfa953032fbb8980a7d554d60fb00b17","status":"affected","lessThan":"49d8d1dae9673515e8430aa2567e4460045e9362","versionType":"git"},{"version":"82cae269cfa953032fbb8980a7d554d60fb00b17","status":"affected","lessThan":"481b2bacf375df8a7104670adcb40bdbd7d013d0","versionType":"git"},{"version":"82cae269cfa953032fbb8980a7d554d60fb00b17","status":"affected","lessThan":"349bca68c6070e17dc16bdff59e2318a5d37509a","versionType":"git"},{"version":"82cae269cfa953032fbb8980a7d554d60fb00b17","status":"affected","lessThan":"131f7d7abf0f10edc6ea6b032f8a3908bdb13ce8","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/index.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/index.c"]}],"references":["https://git.kernel.org/stable/c/49d8d1dae9673515e8430aa2567e4460045e9362","https://git.kernel.org/stable/c/481b2bacf375df8a7104670adcb40bdbd7d013d0","https://git.kernel.org/stable/c/349bca68c6070e17dc16bdff59e2318a5d37509a","https://git.kernel.org/stable/c/131f7d7abf0f10edc6ea6b032f8a3908bdb13ce8"],"weaknesses":[],"ingestedAt":"2026-11-30T13:50:04.417Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139482.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139482","state":"PUBLISHED","datePublished":"2026-11-30T13:35:09.686Z","dateUpdated":"2026-11-30T13:35:09.686Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.936Z"},"containers":{"cna":{"title":"fs/ntfs3: check return values in indx_delete_entry()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: check return values in indx_delete_entry()\n\nWhen the index tree collapses down to an empty root,\nindx_delete_entry() calls attr_set_size() and ni_remove_attr() for\nboth ATTR_ALLOC and ATTR_BITMAP, but their return values are\noverwritten by the following call without being checked.\n\nIn most other call sites of these functions the return value is\nchecked, so add the same checks here in case an error at this point\nis meaningful.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"82cae269cfa953032fbb8980a7d554d60fb00b17","status":"affected","lessThan":"49d8d1dae9673515e8430aa2567e4460045e9362","versionType":"git"},{"version":"82cae269cfa953032fbb8980a7d554d60fb00b17","status":"affected","lessThan":"481b2bacf375df8a7104670adcb40bdbd7d013d0","versionType":"git"},{"version":"82cae269cfa953032fbb8980a7d554d60fb00b17","status":"affected","lessThan":"349bca68c6070e17dc16bdff59e2318a5d37509a","versionType":"git"},{"version":"82cae269cfa953032fbb8980a7d554d60fb00b17","status":"affected","lessThan":"131f7d7abf0f10edc6ea6b032f8a3908bdb13ce8","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/index.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/index.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/49d8d1dae9673515e8430aa2567e4460045e9362"},{"url":"https://git.kernel.org/stable/c/481b2bacf375df8a7104670adcb40bdbd7d013d0"},{"url":"https://git.kernel.org/stable/c/349bca68c6070e17dc16bdff59e2318a5d37509a"},{"url":"https://git.kernel.org/stable/c/131f7d7abf0f10edc6ea6b032f8a3908bdb13ce8"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:35:09.686Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}