title: nvme-loop: fix memory leak in nvme_loop_create_ctrl()
description: In the Linux kernel, the following vulnerability has been resolved:
nvme-loop: fix memory leak in nvme_loop_create_ctrl()
When creating loop ctrl in nvme_loop_create_ctrl(), if nvme_init_ctrl()
fails, the loop ctrl should be freed before jumping to the "out" label.
affected:
{
product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 3a85a5de29ea, lessThan: 9c980795ccd7, status: affected, versionType: git
version: 3a85a5de29ea, lessThan: 551ba08d4b7e, status: affected, versionType: git
version: 3a85a5de29ea, lessThan: 03504e3b54cc, status: affected, versionType: git
}
{
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 4.8, status: affected
version: 0, lessThan: 4.8, status: unaffected, versionType: custom
version: 5.10.40, lessThanOrEqual: 5.10.*, status: unaffected, versionType: custom
version: 5.12.7, lessThanOrEqual: 5.12.*, status: unaffected, versionType: custom
version: 5.13, lessThanOrEqual: *, status: unaffected, versionType: original_commit_for_fix
}
