Lucene search

K
cvelistLinuxCVELIST:CVE-2024-38579
HistoryJun 19, 2024 - 1:37 p.m.

CVE-2024-38579 crypto: bcm - Fix pointer arithmetic

2024-06-1913:37:37
Linux
www.cve.org
linux kernel
vulnerability
fix
pointer arithmetic
buffer boundaries
crypto
bcm
svace
linux verification center

0.0004 Low

EPSS

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.

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-rc1",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

0.0004 Low

EPSS

Percentile

13.1%

Related for CVELIST:CVE-2024-38579