Back

HIGH

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

Published May 21, 2024

Description

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/20200630130438.141649-1-houtao1@huawei.com

Affected products

Remediation

Red Hat mitigation

Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.

References (11)

Change history (0)

No recorded changes yet.

Sources

CVE.org / MITRE

Status PUBLISHED
Assigner Linux
Published May 21, 2024
Updated Aug 5, 2026
Reserved May 21, 2024

CISA Vulnrichment

Updated Jun 11, 2024

NVD

Status Modified
Modified Aug 4, 2026

Red Hat

Severity Moderate
Public date May 21, 2024
Bugzilla 2282402

ENISA EUVD

Assigner Linux
Published May 21, 2024
Updated Aug 5, 2026

GitHub

No data