nvme-loop: fix memory leak in nvme_loop_create_ctrl() (Linux Linux)

CVE-2021-47074
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.24 % · percentile 15 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

Weaknesses (CWE)

  • CWE-401 — Missing Release of Memory after Effective Lifetime

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 3a85a5de29ea779634ddfd768059e06196687aba < 9c980795ccd77e8abec33dd6fe28dfe1c4083e65 ; affected 3a85a5de29ea779634ddfd768059e06196687aba < 551ba08d4b7eb26f75758cdb9f15105b276517ad ; affected 3a85a5de29ea779634ddfd768059e06196687aba < 03504e3b54cc8118cc26c064e60a0b00c2308708
Linux · Linuxaffected 4.8 ; unaffected 0 < 4.8 ; unaffected 5.10.40 ≤ 5.10.* ; unaffected 5.12.7 ≤ 5.12.* ; unaffected 5.13 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD