CVEvulnerability

CVE-2021-47351

5.5 MEDIUM Published 2024-05-21 Modified 2026-08-04 Official page ↗
Status
Modified
Published
2024-05-21
Last modified
2026-08-04
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-617, CWE-787

Description

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

• linux linux kernel (>= 2.6.27 < 5.4.133) • linux linux kernel (>= 5.5 < 5.10.51) • linux linux kernel (>= 5.11 < 5.12.18) • linux linux kernel (>= 5.13 < 5.13.3)

Related

Weakness · CWE (2)

  • CWE-617 Reachable Assertion weakness
  • CWE-787 Out-of-bounds Write weakness

References