| { |
| "containers": { |
| "cna": { |
| "providerMetadata": { |
| "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038" |
| }, |
| "descriptions": [ |
| { |
| "lang": "en", |
| "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsoundwire: stream: fix memory leak in stream config error path\n\nWhen stream config is failed, master runtime will release all\nslave runtime in the slave_rt_list, but slave runtime is not\nadded to the list at this time. This patch frees slave runtime\nin the config error path to fix the memory leak." |
| } |
| ], |
| "affected": [ |
| { |
| "product": "Linux", |
| "vendor": "Linux", |
| "defaultStatus": "unaffected", |
| "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", |
| "programFiles": [ |
| "drivers/soundwire/stream.c" |
| ], |
| "versions": [ |
| { |
| "version": "89e590535f32d4bc548bcf266f3b046e50942f6d", |
| "lessThan": "342260fe821047c3d515e3d28085d73fbdce3e80", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "89e590535f32d4bc548bcf266f3b046e50942f6d", |
| "lessThan": "870533403ffa28ff63e173045fc5369365642002", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "89e590535f32d4bc548bcf266f3b046e50942f6d", |
| "lessThan": "7c468deae306d0cbbd539408c26cfec04c66159a", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "89e590535f32d4bc548bcf266f3b046e50942f6d", |
| "lessThan": "2f17ac005b320c85d686088cfd4c2e7017912b88", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "89e590535f32d4bc548bcf266f3b046e50942f6d", |
| "lessThan": "effd2bd62b416f6629e18e3ce077c60de14cfdea", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "89e590535f32d4bc548bcf266f3b046e50942f6d", |
| "lessThan": "48f17f96a81763c7c8bf5500460a359b9939359f", |
| "status": "affected", |
| "versionType": "git" |
| } |
| ] |
| }, |
| { |
| "product": "Linux", |
| "vendor": "Linux", |
| "defaultStatus": "affected", |
| "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", |
| "programFiles": [ |
| "drivers/soundwire/stream.c" |
| ], |
| "versions": [ |
| { |
| "version": "4.18", |
| "status": "affected" |
| }, |
| { |
| "version": "0", |
| "lessThan": "4.18", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "4.19.191", |
| "lessThanOrEqual": "4.19.*", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "5.4.119", |
| "lessThanOrEqual": "5.4.*", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "5.10.37", |
| "lessThanOrEqual": "5.10.*", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "5.11.21", |
| "lessThanOrEqual": "5.11.*", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "5.12.4", |
| "lessThanOrEqual": "5.12.*", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "5.13", |
| "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": "4.18", |
| "versionEndExcluding": "4.19.191" |
| }, |
| { |
| "vulnerable": true, |
| "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", |
| "versionStartIncluding": "4.18", |
| "versionEndExcluding": "5.4.119" |
| }, |
| { |
| "vulnerable": true, |
| "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", |
| "versionStartIncluding": "4.18", |
| "versionEndExcluding": "5.10.37" |
| }, |
| { |
| "vulnerable": true, |
| "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", |
| "versionStartIncluding": "4.18", |
| "versionEndExcluding": "5.11.21" |
| }, |
| { |
| "vulnerable": true, |
| "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", |
| "versionStartIncluding": "4.18", |
| "versionEndExcluding": "5.12.4" |
| }, |
| { |
| "vulnerable": true, |
| "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", |
| "versionStartIncluding": "4.18", |
| "versionEndExcluding": "5.13" |
| } |
| ] |
| } |
| ] |
| } |
| ], |
| "references": [ |
| { |
| "url": "https://git.kernel.org/stable/c/342260fe821047c3d515e3d28085d73fbdce3e80" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/870533403ffa28ff63e173045fc5369365642002" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/7c468deae306d0cbbd539408c26cfec04c66159a" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/2f17ac005b320c85d686088cfd4c2e7017912b88" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/effd2bd62b416f6629e18e3ce077c60de14cfdea" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/48f17f96a81763c7c8bf5500460a359b9939359f" |
| } |
| ], |
| "title": "soundwire: stream: fix memory leak in stream config error path", |
| "x_generator": { |
| "engine": "bippy-1.2.0" |
| } |
| } |
| }, |
| "cveMetadata": { |
| "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038", |
| "cveID": "CVE-2021-47020", |
| "requesterUserId": "gregkh@kernel.org", |
| "serial": "1", |
| "state": "PUBLISHED" |
| }, |
| "dataType": "CVE_RECORD", |
| "dataVersion": "5.0" |
| } |