What’s Vulnerable › Vulnerabilities

CVE-2021-47351: ubifs: Fix races between xattr_{set|get} and listxattr operations

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

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.51, 5.12.18, 5.13.3, 5.4.133. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-47351 or the next vulnerability affects your stack