Lucene search

K
cveLinuxCVE-2024-27046
HistoryMay 01, 2024 - 1:15 p.m.

CVE-2024-27046

2024-05-0113:15:49
Linux
web.nvd.nist.gov
1565
linux kernel
nfp
flower
vulnerability
allocation failure
null pointer
nvd

AI Score

6.1

Confidence

Low

EPSS

0

Percentile

13.0%

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

nfp: flower: handle acti_netdevs allocation failure

The kmalloc_array() in nfp_fl_lag_do_work() will return null, if
the physical memory has run out. As a result, if we dereference
the acti_netdevs, the null pointer dereference bugs will happen.

This patch adds a check to judge whether allocation failure occurs.
If it happens, the delayed work will be rescheduled and try again.

Affected configurations

Vulners
Node
linuxlinux_kernelRange4.184.19.311
OR
linuxlinux_kernelRange4.20.05.4.273
OR
linuxlinux_kernelRange5.5.05.10.214
OR
linuxlinux_kernelRange5.11.05.15.153
OR
linuxlinux_kernelRange5.16.06.1.83
OR
linuxlinux_kernelRange6.2.06.6.23
OR
linuxlinux_kernelRange6.7.06.7.11
OR
linuxlinux_kernelRange6.8.06.8.2
OR
linuxlinux_kernelRange6.9.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/netronome/nfp/flower/lag_conf.c"
    ],
    "versions": [
      {
        "version": "bb9a8d031140",
        "lessThan": "d746889db75a",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "bb9a8d031140",
        "lessThan": "3b1e8a617eb0",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "bb9a8d031140",
        "lessThan": "928705e34101",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "bb9a8d031140",
        "lessThan": "0d387dc503f9",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "bb9a8d031140",
        "lessThan": "c9b4e220dd18",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "bb9a8d031140",
        "lessThan": "408ba7fd04f9",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "bb9a8d031140",
        "lessThan": "c8df9203bf22",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "bb9a8d031140",
        "lessThan": "9d8eb1238377",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "bb9a8d031140",
        "lessThan": "84e95149bd34",
        "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/netronome/nfp/flower/lag_conf.c"
    ],
    "versions": [
      {
        "version": "4.18",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "4.18",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.19.311",
        "lessThanOrEqual": "4.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.273",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.214",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.153",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.83",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.23",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.7.11",
        "lessThanOrEqual": "6.7.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8.2",
        "lessThanOrEqual": "6.8.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]