{"id":"CVE-2021-47351","published":"2024-05-21T14:35:55Z","modified":"2026-08-05T08:47:23Z","title":"ubifs: Fix races between xattr_{set|get} and listxattr operations","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nubifs: Fix races between xattr_{set|get} and listxattr operations\n\nUBIFS may occur some problems with concurrent xattr_{set|get} and\nlistxattr operations, such as assertion failure, memory corruption,\nstale xattr value[1].\n\nFix it by importing a new rw-lock in @ubifs_inode to serilize write\noperations on xattr, concurrent read operations are still effective,\njust like ext4.\n\n[1] https://lore.kernel.org/linux-mtd/20200630130438.141649-1-houtao1@huawei.com","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00247,"percentile":0.16313,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/7adc05b73d91a5e3d4ca7714fa53ad9b70c53d08","tags":[]},{"url":"https://git.kernel.org/stable/c/38dde03eb239605f428f3f1e4baa73d4933a4cc6","tags":[]},{"url":"https://git.kernel.org/stable/c/9558612cb829f2c022b788f55d6b8437d5234a82","tags":[]},{"url":"https://git.kernel.org/stable/c/c0756f75c22149d20fcb7d8409827cee905eb386","tags":[]},{"url":"https://git.kernel.org/stable/c/f4e3634a3b642225a530c292fdb1e8a4007507f5","tags":[]}],"priority":{"score":8.7,"factors":[{"name":"EPSS percentile","points":3.26},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < 7adc05b73d91a5e3d4ca7714fa53ad9b70c53d08",">= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < 38dde03eb239605f428f3f1e4baa73d4933a4cc6",">= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < 9558612cb829f2c022b788f55d6b8437d5234a82",">= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < c0756f75c22149d20fcb7d8409827cee905eb386",">= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < f4e3634a3b642225a530c292fdb1e8a4007507f5"]},{"vendor":"Linux","product":"Linux","versions":["2.6.27"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-11T19:01:36.389057Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-34356","exploited":false,"provenance":"source"}}