binder: make sure fd closes complete
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s binder component may fail to complete file descriptor closes during BC_FREE_BUFFER processing. If a BINDER_TYPE_FDA object closes a file descriptor and the binder thread does not return to userspace, the file object may never be dereferenced, potentially hanging processes. The input does not specify authentication requirements or additional user interaction.
Engineers running Linux kernels should check their versions against the vendor advisory; affected versions are not specified in the input.