CVE-2021-47360
Assigner: Linux
Published: 2024-05-21T15:03:29.234Z
State: PUBLISHED
descriptions: value: In the Linux kernel, the following vulnerability has been resolved:

binder: make sure fd closes complete

During BC_FREE_BUFFER processing, the BINDER_TYPE_FDA object
cleanup may close 1 or more fds. The close operations are
completed using the task work mechanism -- which means the thread
needs to return to userspace or the file object may never be
dereferenced -- which can lead to hung processes.

Force the binder thread back to userspace if an fd is closed during
BC_FREE_BUFFER handling.
affected: product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions: version: 80cd795630d6
lessThan: aa2c274c279f
status: affected
versionType: git
version: 80cd795630d6
lessThan: d5b0473707fa
status: affected
versionType: git
version: 80cd795630d6
lessThan: b95483d8d94b
status: affected
versionType: git
version: 80cd795630d6
lessThan: 5fdb55c1ac95
status: affected
versionType: git
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions: version: 5.0
status: affected
version: 0
lessThan: 5.0
status: unaffected
versionType: custom
version: 5.4.150
lessThanOrEqual: 5.4.*
status: unaffected
versionType: custom
version: 5.10.70
lessThanOrEqual: 5.10.*
status: unaffected
versionType: custom
version: 5.14.9
lessThanOrEqual: 5.14.*
status: unaffected
versionType: custom
version: 5.15
lessThanOrEqual: *
status: unaffected
versionType: original_commit_for_fix
title: binder: make sure fd closes complete
x_generator: engine: bippy-d175d3acf727