Lucene search

K
cvelistLinuxCVELIST:CVE-2024-35992
HistoryMay 20, 2024 - 9:47 a.m.

CVE-2024-35992 phy: marvell: a3700-comphy: Fix out of bounds read

2024-05-2009:47:57
Linux
www.cve.org
10
vulnerability resolved
out of bounds read
linux kernel
marvell
a3700-comphy
linux verification center

AI Score

5.3

Confidence

High

EPSS

0

Percentile

5.1%

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

phy: marvell: a3700-comphy: Fix out of bounds read

There is an out of bounds read access of ‘gbe_phy_init_fix[fix_idx].addr’
every iteration after ‘fix_idx’ reaches ‘ARRAY_SIZE(gbe_phy_init_fix)’.

Make sure ‘gbe_phy_init[addr]’ is used when all elements of
‘gbe_phy_init_fix’ array are handled.

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/phy/marvell/phy-mvebu-a3700-comphy.c"
    ],
    "versions": [
      {
        "version": "934337080c6c",
        "lessThan": "976df695f579",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "934337080c6c",
        "lessThan": "610f175d2e16",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "934337080c6c",
        "lessThan": "40406dfbc060",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "934337080c6c",
        "lessThan": "e4308bc22b9d",
        "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/phy/marvell/phy-mvebu-a3700-comphy.c"
    ],
    "versions": [
      {
        "version": "5.18",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.18",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.90",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.30",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8.9",
        "lessThanOrEqual": "6.8.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

5.3

Confidence

High

EPSS

0

Percentile

5.1%