Lucene search

K
cvelistLinuxCVELIST:CVE-2021-47360
HistoryMay 21, 2024 - 3:03 p.m.

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

2024-05-2115:03:29
Linux
www.cve.org
linux kernel
vulnerability
resolver
binder
file descriptor
bc_free_buffer
hung processes

6.4 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.6%

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.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/android/binder.c"
    ],
    "versions": [
      {
        "version": "80cd795630d6",
        "lessThan": "aa2c274c279f",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "80cd795630d6",
        "lessThan": "d5b0473707fa",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "80cd795630d6",
        "lessThan": "b95483d8d94b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "80cd795630d6",
        "lessThan": "5fdb55c1ac95",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/android/binder.c"
    ],
    "versions": [
      {
        "version": "5.0",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.0",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.150",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.70",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.14.9",
        "lessThanOrEqual": "5.14.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.4 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.6%