{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-47351","id":"CVE-2021-47351","title":"ubifs: Fix races between xattr_{set|get} and listxattr operations","description":"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 op","descriptionLong":"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","published":"2024-05-21T14:35:55.806Z","updated":"2026-08-05T08:47:23.774Z","reserved":"2024-05-21T14:28:16.985Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d","lessThan":"7adc05b73d91a5e3d4ca7714fa53ad9b70c53d08","status":"affected","versionType":"git"},{"version":"1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d","lessThan":"38dde03eb239605f428f3f1e4baa73d4933a4cc6","status":"affected","versionType":"git"},{"version":"1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d","lessThan":"9558612cb829f2c022b788f55d6b8437d5234a82","status":"affected","versionType":"git"},{"version":"1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d","lessThan":"c0756f75c22149d20fcb7d8409827cee905eb386","status":"affected","versionType":"git"},{"version":"1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d","lessThan":"f4e3634a3b642225a530c292fdb1e8a4007507f5","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.27","status":"affected"},{"version":"0","lessThan":"2.6.27","status":"unaffected","versionType":"semver"},{"version":"5.4.133","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.51","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.12.18","lessThanOrEqual":"5.12.*","status":"unaffected","versionType":"semver"},{"version":"5.13.3","lessThanOrEqual":"5.13.*","status":"unaffected","versionType":"semver"},{"version":"5.14","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-617","CWE-787"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/7adc05b73d91a5e3d4ca7714fa53ad9b70c53d08","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/38dde03eb239605f428f3f1e4baa73d4933a4cc6","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/9558612cb829f2c022b788f55d6b8437d5234a82","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/c0756f75c22149d20fcb7d8409827cee905eb386","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/f4e3634a3b642225a530c292fdb1e8a4007507f5","tags":["x_transferred","Patch","fix"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00247,"epssPercentile":0.16147,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-47351","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47351","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-47351","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-47351","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}