Lucene search

K
vulnrichmentLinuxVULNRICHMENT: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
github.com
4
cve-2024-36030
octeontx2-af
double free
rvu_npc_freemem
linux kernel
clang static checker
drivers
net
ethernet
marvell
scan-build
warning
npc_mcam_rsrcs_deinit
mcam
counters
bmap
kfree
memory
vulnerability

AI Score

6.9

Confidence

Low

EPSS

0

Percentile

9.0%

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial

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

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

AI Score

6.9

Confidence

Low

EPSS

0

Percentile

9.0%

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial