Lucene search

K
cvelistLinuxCVELIST:CVE-2024-36030
HistoryMay 30, 2024 - 3:19 p.m.

CVE-2024-36030 octeontx2-af: fix the double free in rvu_npc_freemem()

2024-05-3015:19:43
Linux
www.cve.org
6
linux kernel
clang static checker
double free
memory vulnerability
octeontx2-af
rvu_npc_freemem

AI Score

6.5

Confidence

Low

EPSS

0

Percentile

9.0%

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

octeontx2-af: fix the double free in rvu_npc_freemem()

Clang static checker(scan-build) warning:
drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c:line 2184, column 2
Attempt to free released memory.

npc_mcam_rsrcs_deinit() has released ‘mcam->counters.bmap’. Deleted this
redundant kfree() to fix this double free problem.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c"
    ],
    "versions": [
      {
        "version": "dd7842878633",
        "lessThan": "f5aa87a2c0a7",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "dd7842878633",
        "lessThan": "6e965eba43e9",
        "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/net/ethernet/marvell/octeontx2/af/rvu_npc.c"
    ],
    "versions": [
      {
        "version": "6.8",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.8",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8.9",
        "lessThanOrEqual": "6.8.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

6.5

Confidence

Low

EPSS

0

Percentile

9.0%