CVEvulnerability
CVE-2021-47351
5.5 MEDIUM
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
References
- https://git.kernel.org/stable/c/38dde03eb239605f428f3f1e4baa73d4933a4cc6 Patch
- https://git.kernel.org/stable/c/7adc05b73d91a5e3d4ca7714fa53ad9b70c53d08 Patch
- https://git.kernel.org/stable/c/9558612cb829f2c022b788f55d6b8437d5234a82 Patch
- https://git.kernel.org/stable/c/c0756f75c22149d20fcb7d8409827cee905eb386 Patch
- https://git.kernel.org/stable/c/f4e3634a3b642225a530c292fdb1e8a4007507f5 Patch
- https://git.kernel.org/stable/c/38dde03eb239605f428f3f1e4baa73d4933a4cc6 Patch
- https://git.kernel.org/stable/c/7adc05b73d91a5e3d4ca7714fa53ad9b70c53d08 Patch
- https://git.kernel.org/stable/c/9558612cb829f2c022b788f55d6b8437d5234a82 Patch
- https://git.kernel.org/stable/c/c0756f75c22149d20fcb7d8409827cee905eb386 Patch
- https://git.kernel.org/stable/c/f4e3634a3b642225a530c292fdb1e8a4007507f5 Patch