Description
In the Linux kernel, the following vulnerability has been resolved: binder: fix is_failure flag for superseded transaction cleanup When a TF_UPDATE_TXN transaction supersedes a pending async transaction, binder_release_entire_buffer() is called with is_failure=false. Since the superseded transaction was never delivered, binder_apply_fd_fixups() was never called and no fds were installed in the target process. With is_failure=false, the BINDER_TYPE_FDA cleanup handler interprets stale buffer contents as installed fd numbers and passes them to binder_deferred_fd_close(), closing unrelated file descriptors. Pass is_failure=true since the transaction was never delivered to the target, matching the semantics of all other undelivered-transaction cleanup paths.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
9864bb4801331daa48514face9d0f4861e4d485b to < e9b364e46d594c2ec663c9c49f10c1ca541ecc0faffected9864bb4801331daa48514face9d0f4861e4d485b to < 60a9f7323ae7318a7cce0d387c318da24f1e8726affected9864bb4801331daa48514face9d0f4861e4d485b to < 86cdcc87d4ba60aebf94ba3346b3c900c5cd79ffaffected9864bb4801331daa48514face9d0f4861e4d485b to < 1ab671b50714ad8e359cf37eb041d8044319ccdcaffected9864bb4801331daa48514face9d0f4861e4d485b to < 22c135635fdd9816c0ef140d6de7b2e4fdf73e89affected
Linux Linux
Default version status: affected
6.0affected0 to < 6.0unaffected6.6.160 to ≤ 6.6.*unaffected6.12.113 to ≤ 6.12.*unaffected6.18.56 to ≤ 6.18.*unaffected7.2.10 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/e9b364e46d594c2ec663c9c49f10c1ca541ecc0f ↗
- https://git.kernel.org/stable/c/60a9f7323ae7318a7cce0d387c318da24f1e8726 ↗
- https://git.kernel.org/stable/c/86cdcc87d4ba60aebf94ba3346b3c900c5cd79ff ↗
- https://git.kernel.org/stable/c/1ab671b50714ad8e359cf37eb041d8044319ccdc ↗
- https://git.kernel.org/stable/c/22c135635fdd9816c0ef140d6de7b2e4fdf73e89 ↗