Lucene search

K
cve416baaa9-dc9f-4396-8d5f-8c081fb06d67CVE-2024-26839
HistoryApr 17, 2024 - 10:15 a.m.

CVE-2024-26839

2024-04-1710:15:09
416baaa9-dc9f-4396-8d5f-8c081fb06d67
web.nvd.nist.gov
46
linux kernel
vulnerability
fixed
ib/hfi1
memleak
init_credit_return
nvd
memory allocation

6.2 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

13.2%

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

IB/hfi1: Fix a memleak in init_credit_return

When dma_alloc_coherent fails to allocate dd->cr_base[i].va,
init_credit_return should deallocate dd->cr_base and
dd->cr_base[i] that allocated before. Or those resources
would be never freed and a memleak is triggered.

Affected configurations

Vulners
Node
linuxlinux_kernelRange4.34.19.308
OR
linuxlinux_kernelRange4.20.05.4.270
OR
linuxlinux_kernelRange5.5.05.10.211
OR
linuxlinux_kernelRange5.11.05.15.150
OR
linuxlinux_kernelRange5.16.06.1.80
OR
linuxlinux_kernelRange6.2.06.6.19
OR
linuxlinux_kernelRange6.7.06.7.7
OR
linuxlinux_kernelRange6.8.0
VendorProductVersionCPE
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
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/infiniband/hw/hfi1/pio.c"
    ],
    "versions": [
      {
        "version": "7724105686e7",
        "lessThan": "2e4f9f20b326",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "7724105686e7",
        "lessThan": "cecfb90cf71d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "7724105686e7",
        "lessThan": "3fa240bb6b2d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "7724105686e7",
        "lessThan": "52de5805c147",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "7724105686e7",
        "lessThan": "f0d857ce31a6",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "7724105686e7",
        "lessThan": "b41d0ade0398",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "7724105686e7",
        "lessThan": "8412c86e89cc",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "7724105686e7",
        "lessThan": "809aa64ebff5",
        "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/infiniband/hw/hfi1/pio.c"
    ],
    "versions": [
      {
        "version": "4.3",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "4.3",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.19.308",
        "lessThanOrEqual": "4.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.270",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.211",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.150",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.80",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.19",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.7.7",
        "lessThanOrEqual": "6.7.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.2 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

13.2%