{"id":"CVE-2021-47075","aliases":["CVE-2021-47075"],"related":[],"kind":"vulnerability","state":"published","title":"nvmet: fix memory leak in nvmet_alloc_ctrl()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet: fix memory leak in nvmet_alloc_ctrl()\n\nWhen creating ctrl in nvmet_alloc_ctrl(), if the cntlid_min is larger\nthan cntlid_max of the subsystem, and jumps to the\n\"out_free_changed_ns_list\" label, but the ctrl->sqs lack of be freed.\nFix this by jumping to the \"out_free_sqs\" label.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet: fix memory leak in nvmet_alloc_ctrl()\n\nWhen creating ctrl in nvmet_alloc_ctrl(), if the cntlid_min is larger\nthan cntlid_max of the subsystem, and jumps to the\n\"out_free_changed_ns_list\" label, but the ctrl->sqs lack of be freed.\nFix this by jumping to the \"out_free_sqs\" label.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: nvmet: repara la pérdida de memoria en nvmet_alloc_ctrl() Al crear ctrl en nvmet_alloc_ctrl(), si cntlid_min es mayor que cntlid_max del subsistema y salta a la etiqueta \"out_free_changed_ns_list\", pero el ctrl-&gt;sqs falta para liberarse. Solucione este problema saltando a la etiqueta \"out_free_sqs\".","source":"nvd"}],"published":"2024-03-01T21:15:12.739Z","modified":"2026-06-17T04:16:24.037Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"94a39d61f80fcd679debda11e1ca02b88d90e67e","fixed":"4720f29acb3fe67aa8aa71e6b675b079d193aaeb","status":"affected"},{"type":"git","introduced":"94a39d61f80fcd679debda11e1ca02b88d90e67e","fixed":"afb680ed7ecbb7fd66ddb43650e9b533fd8b4b9a","status":"affected"},{"type":"git","introduced":"94a39d61f80fcd679debda11e1ca02b88d90e67e","fixed":"fec356a61aa3d3a66416b4321f1279e09e0f256f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.7","status":"unaffected"},{"type":"semver","introduced":"5.10.40","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.12.7","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":"5.7","fixed":"5.10.40"},{"status":"affected","introduced":"5.11","fixed":"5.12.7"},{"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/4720f29acb3fe67aa8aa71e6b675b079d193aaeb","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/afb680ed7ecbb7fd66ddb43650e9b533fd8b4b9a","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fec356a61aa3d3a66416b4321f1279e09e0f256f","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-03-05T15:41:37.390Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-47075","url":"https://www.cve.org/CVERecord?id=CVE-2021-47075","licence":"CVE Terms of Use","modified":"2026-05-11T13:47:35.790Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-47075","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47075","licence":"Public domain","modified":"2026-06-17T04:16:24.037Z"}],"updatedAt":"2026-11-25T22:58:08.648Z","epss":{"score":0.00905,"percentile":0.60865,"date":"2026-12-01T12:00:22.000Z"}}