Lucene search

K
cvelistLinuxCVELIST:CVE-2024-26734
HistoryApr 03, 2024 - 5:00 p.m.

CVE-2024-26734 devlink: fix possible use-after-free and memory leaks in devlink_init()

2024-04-0317:00:21
Linux
www.cve.org
vulnerability
fix
use-after-free
memory leaks
devlink_init
linux kernel

6.8 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.7%

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

devlink: fix possible use-after-free and memory leaks in devlink_init()

The pernet operations structure for the subsystem must be registered
before registering the generic netlink family.

Make an unregister in case of unsuccessful registration.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "net/devlink/core.c"
    ],
    "versions": [
      {
        "version": "687125b5799c",
        "lessThan": "919092bd5482",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "687125b5799c",
        "lessThan": "e91d3561e28d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "687125b5799c",
        "lessThan": "def689fc26b9",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "net/devlink/core.c"
    ],
    "versions": [
      {
        "version": "6.3",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.3",
        "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.8 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.7%