Lucene search

K
cvelistLinuxCVELIST:CVE-2021-46923
HistoryFeb 27, 2024 - 9:43 a.m.

CVE-2021-46923 fs/mount_setattr: always cleanup mount_kattr

2024-02-2709:43:54
Linux
www.cve.org
10
linux kernel
vulnerability resolved
mount_kattr
fs/mount_setattr

AI Score

5.7

Confidence

High

EPSS

0

Percentile

9.0%

In the Linux kernel, the following vulnerability has been resolved:

fs/mount_setattr: always cleanup mount_kattr

Make sure that finish_mount_kattr() is called after mount_kattr was
succesfully built in both the success and failure case to prevent
leaking any references we took when we built it. We returned early if
path lookup failed thereby risking to leak an additional reference we
took when building mount_kattr when an idmapped mount was requested.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "fs/namespace.c"
    ],
    "versions": [
      {
        "version": "9caccd41541a",
        "lessThan": "47b5d0a7532d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "9caccd41541a",
        "lessThan": "012e332286e2",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "fs/namespace.c"
    ],
    "versions": [
      {
        "version": "5.12",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.12",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.13",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.16",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

5.7

Confidence

High

EPSS

0

Percentile

9.0%