{"id":"CVE-2021-47075","details":"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-\u003esqs lack of be freed.\nFix this by jumping to the \"out_free_sqs\" label.","modified":"2026-03-14T11:18:55.767945Z","published":"2024-03-01T22:15:47.170Z","references":[{"type":"FIX","url":"https://git.kernel.org/stable/c/4720f29acb3fe67aa8aa71e6b675b079d193aaeb"},{"type":"FIX","url":"https://git.kernel.org/stable/c/afb680ed7ecbb7fd66ddb43650e9b533fd8b4b9a"},{"type":"FIX","url":"https://git.kernel.org/stable/c/fec356a61aa3d3a66416b4321f1279e09e0f256f"}],"affected":[{"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"5.7"},{"fixed":"5.10.40"}]},{"events":[{"introduced":"5.11"},{"fixed":"5.12.7"}]},{"events":[{"introduced":"0"},{"last_affected":"5.13-rc1"}]},{"events":[{"introduced":"0"},{"last_affected":"5.13-rc2"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-47075.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}