Buffer overflow in Linux
CVE-2021-47351
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
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.002, 16.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, 2.6.27, 0
- Linux Kernel
Weakness classification (CWE)
References
- git.kernel.org/stable/c/7adc05b73d91a5e3d4ca7714fa53ad9b70c53d08 (Patch)
- git.kernel.org/stable/c/38dde03eb239605f428f3f1e4baa73d4933a4cc6 (Patch)
- git.kernel.org/stable/c/9558612cb829f2c022b788f55d6b8437d5234a82 (Patch)
- git.kernel.org/stable/c/c0756f75c22149d20fcb7d8409827cee905eb386 (Patch)
- git.kernel.org/stable/c/f4e3634a3b642225a530c292fdb1e8a4007507f5 (Patch)