What’s Vulnerable › Vulnerabilities

CVE-2021-47074: 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 products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.40, 5.12.7. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-47074 or the next vulnerability affects your stack