{"id":"CVE-2021-47150","aliases":["CVE-2021-47150"],"related":[],"kind":"vulnerability","state":"published","title":"net: fec: fix the potential memory leak in fec_enet_init()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: fec: soluciona la posible pérdida de memoria en fec_enet_init() Si la memoria asignada para cbd_base falla, debería liberar la memoria asignada para las colas; de lo contrario, provoca una pérdida de memoria. Y si falla la memoria asignada para las colas, puede devolver un error directamente.","source":"nvd"}],"published":"2024-03-25T09:07:45.875Z","modified":"2026-06-17T04:16:39.980Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"59d0f746564495c7f54526674deabfcf101236a1","fixed":"15102886bc8f5f29daaadf2d925591d564c17e9f","status":"affected"},{"type":"git","introduced":"59d0f746564495c7f54526674deabfcf101236a1","fixed":"20255d41ac560397b6a07d8d87dcc5e2efc7672a","status":"affected"},{"type":"git","introduced":"59d0f746564495c7f54526674deabfcf101236a1","fixed":"8ee7ef4a57a9e1228b6f345aaa70aa8951c7e9cd","status":"affected"},{"type":"git","introduced":"59d0f746564495c7f54526674deabfcf101236a1","fixed":"32a1777fd113335c3f70dc445dffee0ad1c6870f","status":"affected"},{"type":"git","introduced":"59d0f746564495c7f54526674deabfcf101236a1","fixed":"619fee9eb13b5d29e4267cb394645608088c28a8","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.18","status":"unaffected"},{"type":"semver","introduced":"4.19.193","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.124","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.42","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.12.9","lastAffected":"5.12.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.13","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.18","fixed":"4.19.193"},{"status":"affected","introduced":"4.20","fixed":"5.4.124"},{"status":"affected","introduced":"5.5","fixed":"5.10.42"},{"status":"affected","introduced":"5.11","fixed":"5.12.9"},{"status":"affected","version":"5.13"},{"status":"affected","version":"5.13"},{"status":"affected","version":"5.13"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/15102886bc8f5f29daaadf2d925591d564c17e9f","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/20255d41ac560397b6a07d8d87dcc5e2efc7672a","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8ee7ef4a57a9e1228b6f345aaa70aa8951c7e9cd","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/32a1777fd113335c3f70dc445dffee0ad1c6870f","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/619fee9eb13b5d29e4267cb394645608088c28a8","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-03-28T18:23:57.615Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-47150","url":"https://www.cve.org/CVERecord?id=CVE-2021-47150","licence":"CVE Terms of Use","modified":"2026-05-11T13:49:00.240Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-47150","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47150","licence":"Public domain","modified":"2026-06-17T04:16:39.980Z"}],"updatedAt":"2026-11-25T22:58:08.689Z","epss":{"score":0.00225,"percentile":0.14051,"date":"2026-12-01T12:00:22.000Z"}}