Lucene search

K
cvelistLinuxCVELIST:CVE-2023-52512
HistoryMar 02, 2024 - 9:52 p.m.

CVE-2023-52512 pinctrl: nuvoton: wpcm450: fix out of bounds write

2024-03-0221:52:23
Linux
www.cve.org
linux kernel
vulnerability
pinctrl
nuvoton
wpcm450
out of bounds write
gpio index
linux verification center

6.9 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.7%

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

pinctrl: nuvoton: wpcm450: fix out of bounds write

Write into ‘pctrl->gpio_bank’ happens before the check for GPIO index
validity, so out of bounds write may happen.

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/pinctrl/nuvoton/pinctrl-wpcm450.c"
    ],
    "versions": [
      {
        "version": "a1d1e0e3d80a",
        "lessThan": "6c18c386fd13",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a1d1e0e3d80a",
        "lessThan": "c9d7cac0fd27",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a1d1e0e3d80a",
        "lessThan": "87d315a34133",
        "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/pinctrl/nuvoton/pinctrl-wpcm450.c"
    ],
    "versions": [
      {
        "version": "5.18",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.18",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.59",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.5.8",
        "lessThanOrEqual": "6.5.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.9 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.7%