Lucene search

K
cveLinuxCVE-2024-43864
HistoryAug 21, 2024 - 12:15 a.m.

CVE-2024-43864

2024-08-2100:15:04
Linux
web.nvd.nist.gov
29
linux kernel
vulnerability
net/mlx5e
ct entry
modify header context

AI Score

6.6

Confidence

High

EPSS

0

Percentile

16.4%

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

net/mlx5e: Fix CT entry update leaks of modify header context

The cited commit allocates a new modify header to replace the old
one when updating CT entry. But if failed to allocate a new one, eg.
exceed the max number firmware can support, modify header will be
an error pointer that will trigger a panic when deallocating it. And
the old modify header point is copied to old attr. When the old
attr is freed, the old modify header is lost.

Fix it by restoring the old attr to attr when failed to allocate a
new modify header context. So when the CT entry is freed, the right
modify header context will be freed. And the panic of accessing
error pointer is also fixed.

Affected configurations

Vulners
Node
linuxlinux_kernelRange6.36.6.45
OR
linuxlinux_kernelRange6.7.06.10.4
OR
linuxlinux_kernelRange6.11.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/net/ethernet/mellanox/mlx5/core/en/tc_ct.c"
    ],
    "versions": [
      {
        "version": "94ceffb48eac",
        "lessThan": "daab2cc17b6b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "94ceffb48eac",
        "lessThan": "89064d09c56b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "94ceffb48eac",
        "lessThan": "025f2b85a5e5",
        "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/mellanox/mlx5/core/en/tc_ct.c"
    ],
    "versions": [
      {
        "version": "6.3",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.3",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.45",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10.4",
        "lessThanOrEqual": "6.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.11",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

6.6

Confidence

High

EPSS

0

Percentile

16.4%