binder: make sure fd closes complete (Linux Linux)

CVE-2021-47360
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.25 % · percentile 16 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

Weaknesses (CWE)

  • CWE-252 — Unchecked Return Value

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 80cd795630d6526ba729a089a435bf74a57af927 < aa2c274c279ff365a06a4cba263f04965895166e ; affected 80cd795630d6526ba729a089a435bf74a57af927 < d5b0473707fa53b03a5db0256ce62b2874bddbc7 ; affected 80cd795630d6526ba729a089a435bf74a57af927 < b95483d8d94b41fa31a84c1d86710b7907a37621 ; affected 80cd795630d6526ba729a089a435bf74a57af927 < 5fdb55c1ac9585eb23bb2541d5819224429e103d ; affected 27564d8d5d12d2ff197055346069c6bdbe08a8c2 ; affected 4.20.1 < 4.21
Linux · Linuxaffected 5.0 ; unaffected 0 < 5.0 ; unaffected 5.4.150 ≤ 5.4.* ; unaffected 5.10.70 ≤ 5.10.* ; unaffected 5.14.9 ≤ 5.14.* ; unaffected 5.15 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD