Lucene search

K
cve416baaa9-dc9f-4396-8d5f-8c081fb06d67CVE-2021-47351
HistoryMay 21, 2024 - 3:15 p.m.

CVE-2021-47351

2024-05-2115:15:21
416baaa9-dc9f-4396-8d5f-8c081fb06d67
web.nvd.nist.gov
27
linux kernel
ubifs
xattr race

6.6 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.5%

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

ubifs: Fix races between xattr_{set|get} and listxattr operations

UBIFS may occur some problems with concurrent xattr_{set|get} and
listxattr operations, such as assertion failure, memory corruption,
stale xattr value[1].

Fix it by importing a new rw-lock in @ubifs_inode to serilize write
operations on xattr, concurrent read operations are still effective,
just like ext4.

[1] https://lore.kernel.org/linux-mtd/[email protected]

Affected configurations

Vulners
Node
linuxlinux_kernelRange2.6.275.4.133
OR
linuxlinux_kernelRange5.5.05.10.51
OR
linuxlinux_kernelRange5.11.05.12.18
OR
linuxlinux_kernelRange5.13.05.13.3
OR
linuxlinux_kernelRange5.14.0

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "fs/ubifs/super.c",
      "fs/ubifs/ubifs.h",
      "fs/ubifs/xattr.c"
    ],
    "versions": [
      {
        "version": "1e51764a3c2a",
        "lessThan": "7adc05b73d91",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1e51764a3c2a",
        "lessThan": "38dde03eb239",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1e51764a3c2a",
        "lessThan": "9558612cb829",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1e51764a3c2a",
        "lessThan": "c0756f75c221",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1e51764a3c2a",
        "lessThan": "f4e3634a3b64",
        "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/ubifs/super.c",
      "fs/ubifs/ubifs.h",
      "fs/ubifs/xattr.c"
    ],
    "versions": [
      {
        "version": "2.6.27",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "2.6.27",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.133",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.51",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.12.18",
        "lessThanOrEqual": "5.12.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.13.3",
        "lessThanOrEqual": "5.13.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.14",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.6 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.5%