CVEvulnerability
CVE-2021-47360
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2024-05-21
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-252
Description
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 configurations
• linux linux kernel (>= 5.0 < 5.4.150)
• linux linux kernel (>= 5.5 < 5.10.70)
• linux linux kernel (>= 5.11 < 5.14.9)
• linux linux kernel 4.20.1
• linux linux kernel 5.15
Related
Weakness · CWE (1)
- CWE-252 Unchecked Return Value weakness
References
- https://git.kernel.org/stable/c/5fdb55c1ac9585eb23bb2541d5819224429e103d Patch
- https://git.kernel.org/stable/c/aa2c274c279ff365a06a4cba263f04965895166e Patch
- https://git.kernel.org/stable/c/b95483d8d94b41fa31a84c1d86710b7907a37621 Patch
- https://git.kernel.org/stable/c/d5b0473707fa53b03a5db0256ce62b2874bddbc7 Patch
- https://git.kernel.org/stable/c/5fdb55c1ac9585eb23bb2541d5819224429e103d Patch
- https://git.kernel.org/stable/c/aa2c274c279ff365a06a4cba263f04965895166e Patch
- https://git.kernel.org/stable/c/b95483d8d94b41fa31a84c1d86710b7907a37621 Patch
- https://git.kernel.org/stable/c/d5b0473707fa53b03a5db0256ce62b2874bddbc7 Patch