# CVE-2021-47360: binder: make sure fd closes complete

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2024-05-21T15:03:29.234Z
- Modified: 2026-06-17T04:17:17.480Z
- Weaknesses: CWE-252
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 80cd795630d6526ba729a089a435bf74a57af927 before aa2c274c279ff365a06a4cba263f04965895166e; from 80cd795630d6526ba729a089a435bf74a57af927 before d5b0473707fa53b03a5db0256ce62b2874bddbc7; from 80cd795630d6526ba729a089a435bf74a57af927 before b95483d8d94b41fa31a84c1d86710b7907a37621; from 80cd795630d6526ba729a089a435bf74a57af927 before 5fdb55c1ac9585eb23bb2541d5819224429e103d; 27564d8d5d12d2ff197055346069c6bdbe08a8c2; from 4.20.1 before 4.21; 5.0 (not affected: before 5.0; from 5.4.150 up to 5.4.*; from 5.10.70 up to 5.10.*; from 5.14.9 up to 5.14.*; from 5.15 up to *)
- linux linux_kernel: from 5.0 before 5.4.150; from 5.5 before 5.10.70; from 5.11 before 5.14.9; 4.20.1; 5.15

## References

- <https://git.kernel.org/stable/c/aa2c274c279ff365a06a4cba263f04965895166e> (patch)
- <https://git.kernel.org/stable/c/d5b0473707fa53b03a5db0256ce62b2874bddbc7> (patch)
- <https://git.kernel.org/stable/c/b95483d8d94b41fa31a84c1d86710b7907a37621> (patch)
- <https://git.kernel.org/stable/c/5fdb55c1ac9585eb23bb2541d5819224429e103d> (patch)

## Sources

- CVE List: [CVE-2021-47360](https://www.cve.org/CVERecord?id=CVE-2021-47360), CVE Terms of Use, modified 2026-05-23
- NVD: [CVE-2021-47360](https://nvd.nist.gov/vuln/detail/CVE-2021-47360), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47360 · Whole record: https://cve.day/CVE-2021-47360.json · Rebuilt by cve.day 2026-11-25T22:58:08.815Z
