In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: check return values in indx_delete_entry() When the index tree collapses down to an empty root, indx_delete_entry() calls attr_set_size() and ni_remove_attr() for both ATTR_ALLOC and ATTR_BITMAP, but their return values are overwritten by the following call without being checked. In most other call sites of these functions the return value is checked, so add the same checks here in case an error at this point is meaningful. Found by Linux Verification Center (linuxtesting.org) with SVACE.
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