Lucene search

K
cveLinuxCVE-2024-38579
HistoryJun 19, 2024 - 2:15 p.m.

CVE-2024-38579

2024-06-1914:15:17
Linux
web.nvd.nist.gov
41
linux kernel
vulnerability
pointer arithmetic
cryptographic
bug fix
buffer boundaries
svace

AI Score

6.5

Confidence

Low

EPSS

0

Percentile

13.1%

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

crypto: bcm - Fix pointer arithmetic

In spu2_dump_omd() value of ptr is increased by ciph_key_len
instead of hash_iv_len which could lead to going beyond the
buffer boundaries.
Fix this bug by changing ciph_key_len to hash_iv_len.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Affected configurations

Vulners
Node
linuxlinux_kernelRange4.114.19.316
OR
linuxlinux_kernelRange4.20.05.4.278
OR
linuxlinux_kernelRange5.5.05.10.219
OR
linuxlinux_kernelRange5.11.05.15.161
OR
linuxlinux_kernelRange5.16.06.1.93
OR
linuxlinux_kernelRange6.2.06.6.33
OR
linuxlinux_kernelRange6.7.06.8.12
OR
linuxlinux_kernelRange6.9.06.9.3
OR
linuxlinux_kernelRange6.10.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/crypto/bcm/spu2.c"
    ],
    "versions": [
      {
        "version": "9d12ba86f818",
        "lessThan": "c256b616067b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "9d12ba86f818",
        "lessThan": "e719c8991c16",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "9d12ba86f818",
        "lessThan": "ebed0d666fa7",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "9d12ba86f818",
        "lessThan": "c69a1e4b419c",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "9d12ba86f818",
        "lessThan": "49833a8da640",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "9d12ba86f818",
        "lessThan": "d0f14ae223c2",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "9d12ba86f818",
        "lessThan": "c0082ee42063",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "9d12ba86f818",
        "lessThan": "3b7a40740f04",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "9d12ba86f818",
        "lessThan": "2b3460cbf454",
        "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/crypto/bcm/spu2.c"
    ],
    "versions": [
      {
        "version": "4.11",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "4.11",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.19.316",
        "lessThanOrEqual": "4.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.278",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.219",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.161",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.93",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.33",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8.12",
        "lessThanOrEqual": "6.8.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9.3",
        "lessThanOrEqual": "6.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]