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
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-47351.json"
[
{
"events": [
{
"introduced": "2.6.27"
},
{
"fixed": "5.4.133"
}
]
},
{
"events": [
{
"introduced": "5.5"
},
{
"fixed": "5.10.51"
}
]
},
{
"events": [
{
"introduced": "5.11"
},
{
"fixed": "5.12.18"
}
]
},
{
"events": [
{
"introduced": "5.13"
},
{
"fixed": "5.13.3"
}
]
}
]