| { |
| "containers": { |
| "cna": { |
| "providerMetadata": { |
| "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038" |
| }, |
| "descriptions": [ |
| { |
| "lang": "en", |
| "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: fec: fix the potential memory leak in fec_enet_init()\n\nIf the memory allocated for cbd_base is failed, it should\nfree the memory allocated for the queues, otherwise it causes\nmemory leak.\n\nAnd if the memory allocated for the queues is failed, it can\nreturn error directly." |
| } |
| ], |
| "affected": [ |
| { |
| "product": "Linux", |
| "vendor": "Linux", |
| "defaultStatus": "unaffected", |
| "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", |
| "programFiles": [ |
| "drivers/net/ethernet/freescale/fec_main.c" |
| ], |
| "versions": [ |
| { |
| "version": "59d0f746564495c7f54526674deabfcf101236a1", |
| "lessThan": "15102886bc8f5f29daaadf2d925591d564c17e9f", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "59d0f746564495c7f54526674deabfcf101236a1", |
| "lessThan": "20255d41ac560397b6a07d8d87dcc5e2efc7672a", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "59d0f746564495c7f54526674deabfcf101236a1", |
| "lessThan": "8ee7ef4a57a9e1228b6f345aaa70aa8951c7e9cd", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "59d0f746564495c7f54526674deabfcf101236a1", |
| "lessThan": "32a1777fd113335c3f70dc445dffee0ad1c6870f", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "59d0f746564495c7f54526674deabfcf101236a1", |
| "lessThan": "619fee9eb13b5d29e4267cb394645608088c28a8", |
| "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/net/ethernet/freescale/fec_main.c" |
| ], |
| "versions": [ |
| { |
| "version": "3.18", |
| "status": "affected" |
| }, |
| { |
| "version": "0", |
| "lessThan": "3.18", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "4.19.193", |
| "lessThanOrEqual": "4.19.*", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "5.4.124", |
| "lessThanOrEqual": "5.4.*", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "5.10.42", |
| "lessThanOrEqual": "5.10.*", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "5.12.9", |
| "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": "3.18", |
| "versionEndExcluding": "4.19.193" |
| }, |
| { |
| "vulnerable": true, |
| "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", |
| "versionStartIncluding": "3.18", |
| "versionEndExcluding": "5.4.124" |
| }, |
| { |
| "vulnerable": true, |
| "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", |
| "versionStartIncluding": "3.18", |
| "versionEndExcluding": "5.10.42" |
| }, |
| { |
| "vulnerable": true, |
| "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", |
| "versionStartIncluding": "3.18", |
| "versionEndExcluding": "5.12.9" |
| }, |
| { |
| "vulnerable": true, |
| "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", |
| "versionStartIncluding": "3.18", |
| "versionEndExcluding": "5.13" |
| } |
| ] |
| } |
| ] |
| } |
| ], |
| "references": [ |
| { |
| "url": "https://git.kernel.org/stable/c/15102886bc8f5f29daaadf2d925591d564c17e9f" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/20255d41ac560397b6a07d8d87dcc5e2efc7672a" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/8ee7ef4a57a9e1228b6f345aaa70aa8951c7e9cd" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/32a1777fd113335c3f70dc445dffee0ad1c6870f" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/619fee9eb13b5d29e4267cb394645608088c28a8" |
| } |
| ], |
| "title": "net: fec: fix the potential memory leak in fec_enet_init()", |
| "x_generator": { |
| "engine": "bippy-1.2.0" |
| } |
| } |
| }, |
| "cveMetadata": { |
| "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038", |
| "cveID": "CVE-2021-47150", |
| "requesterUserId": "gregkh@kernel.org", |
| "serial": "1", |
| "state": "PUBLISHED" |
| }, |
| "dataType": "CVE_RECORD", |
| "dataVersion": "5.0" |
| } |