Lucene search

K
cveLinuxCVE-2021-47075
HistoryMar 01, 2024 - 10:15 p.m.

CVE-2021-47075

2024-03-0122:15:47
Linux
web.nvd.nist.gov
64
linux kernel
nvmet
memory leak
vulnerability
fix
cve-2021-47075

AI Score

6.5

Confidence

Low

EPSS

0

Percentile

15.5%

In the Linux kernel, the following vulnerability has been resolved:

nvmet: fix memory leak in nvmet_alloc_ctrl()

When creating ctrl in nvmet_alloc_ctrl(), if the cntlid_min is larger
than cntlid_max of the subsystem, and jumps to the
“out_free_changed_ns_list” label, but the ctrl->sqs lack of be freed.
Fix this by jumping to the “out_free_sqs” label.

Affected configurations

Vulners
Node
linuxlinux_kernelRange5.75.10.40
OR
linuxlinux_kernelRange5.11.05.12.7
OR
linuxlinux_kernelRange5.13.0
VendorProductVersionCPE
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/nvme/target/core.c"
    ],
    "versions": [
      {
        "version": "94a39d61f80f",
        "lessThan": "4720f29acb3f",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "94a39d61f80f",
        "lessThan": "afb680ed7ecb",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "94a39d61f80f",
        "lessThan": "fec356a61aa3",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/nvme/target/core.c"
    ],
    "versions": [
      {
        "version": "5.7",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.7",
        "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"
      }
    ]
  }
]

AI Score

6.5

Confidence

Low

EPSS

0

Percentile

15.5%