| { |
| "containers": { |
| "cna": { |
| "providerMetadata": { |
| "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038" |
| }, |
| "descriptions": [ |
| { |
| "lang": "en", |
| "value": "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" |
| } |
| ], |
| "affected": [ |
| { |
| "product": "Linux", |
| "vendor": "Linux", |
| "defaultStatus": "unaffected", |
| "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", |
| "programFiles": [ |
| "fs/ubifs/super.c", |
| "fs/ubifs/ubifs.h", |
| "fs/ubifs/xattr.c" |
| ], |
| "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" |
| } |
| ] |
| }, |
| { |
| "product": "Linux", |
| "vendor": "Linux", |
| "defaultStatus": "affected", |
| "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", |
| "programFiles": [ |
| "fs/ubifs/super.c", |
| "fs/ubifs/ubifs.h", |
| "fs/ubifs/xattr.c" |
| ], |
| "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" |
| } |
| ] |
| } |
| ], |
| "cpeApplicability": [ |
| { |
| "nodes": [ |
| { |
| "operator": "OR", |
| "negate": false, |
| "cpeMatch": [ |
| { |
| "vulnerable": true, |
| "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", |
| "versionStartIncluding": "2.6.27", |
| "versionEndExcluding": "5.4.133" |
| }, |
| { |
| "vulnerable": true, |
| "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", |
| "versionStartIncluding": "2.6.27", |
| "versionEndExcluding": "5.10.51" |
| }, |
| { |
| "vulnerable": true, |
| "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", |
| "versionStartIncluding": "2.6.27", |
| "versionEndExcluding": "5.12.18" |
| }, |
| { |
| "vulnerable": true, |
| "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", |
| "versionStartIncluding": "2.6.27", |
| "versionEndExcluding": "5.13.3" |
| }, |
| { |
| "vulnerable": true, |
| "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", |
| "versionStartIncluding": "2.6.27", |
| "versionEndExcluding": "5.14" |
| } |
| ] |
| } |
| ] |
| } |
| ], |
| "references": [ |
| { |
| "url": "https://git.kernel.org/stable/c/7adc05b73d91a5e3d4ca7714fa53ad9b70c53d08" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/38dde03eb239605f428f3f1e4baa73d4933a4cc6" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/9558612cb829f2c022b788f55d6b8437d5234a82" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/c0756f75c22149d20fcb7d8409827cee905eb386" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/f4e3634a3b642225a530c292fdb1e8a4007507f5" |
| } |
| ], |
| "title": "ubifs: Fix races between xattr_{set|get} and listxattr operations", |
| "x_generator": { |
| "engine": "bippy-1.2.0" |
| } |
| } |
| }, |
| "cveMetadata": { |
| "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038", |
| "cveID": "CVE-2021-47351", |
| "requesterUserId": "gregkh@kernel.org", |
| "serial": "1", |
| "state": "PUBLISHED" |
| }, |
| "dataType": "CVE_RECORD", |
| "dataVersion": "5.0" |
| } |