CVE-2021-47360
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine with a low-privilege account. High risk of service disruption.
- Exploit odds
- 0.2% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.2% in the next 30 days (EPSS).
- Severity: 5.5 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.2% · EPSS, next 30 days
- Weakness
- CWE-252
- Record status
- Analyzed
Affected
- Linux Kernel < 5.4.150
- Linux Kernel < 5.10.70
- Linux Kernel < 5.14.9
- Linux Kernel 4.20.1
- Linux Kernel 5.15
Attack profile CVSS 3.1 · 5.5
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Raw vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2021-47360.md and follow it. Check whether this project is affected by CVE-2021-47360. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://git.kernel.org/stable/c/5fdb55c1ac9585eb23bb2541d5819224429e103d
- https://git.kernel.org/stable/c/aa2c274c279ff365a06a4cba263f04965895166e
- https://git.kernel.org/stable/c/b95483d8d94b41fa31a84c1d86710b7907a37621
- https://git.kernel.org/stable/c/d5b0473707fa53b03a5db0256ce62b2874bddbc7
- https://git.kernel.org/stable/c/5fdb55c1ac9585eb23bb2541d5819224429e103d
- https://git.kernel.org/stable/c/aa2c274c279ff365a06a4cba263f04965895166e
- https://git.kernel.org/stable/c/b95483d8d94b41fa31a84c1d86710b7907a37621
- https://git.kernel.org/stable/c/d5b0473707fa53b03a5db0256ce62b2874bddbc7
References
- https://git.kernel.org/stable/c/5fdb55c1ac9585eb23bb2541d5819224429e103d
- https://git.kernel.org/stable/c/aa2c274c279ff365a06a4cba263f04965895166e
- https://git.kernel.org/stable/c/b95483d8d94b41fa31a84c1d86710b7907a37621
- https://git.kernel.org/stable/c/d5b0473707fa53b03a5db0256ce62b2874bddbc7
- https://git.kernel.org/stable/c/5fdb55c1ac9585eb23bb2541d5819224429e103d
- https://git.kernel.org/stable/c/aa2c274c279ff365a06a4cba263f04965895166e
- https://git.kernel.org/stable/c/b95483d8d94b41fa31a84c1d86710b7907a37621
- https://git.kernel.org/stable/c/d5b0473707fa53b03a5db0256ce62b2874bddbc7