Lucene search

K
cveLinuxCVE-2023-52857
HistoryMay 21, 2024 - 4:15 p.m.

CVE-2023-52857

2024-05-2116:15:22
Linux
web.nvd.nist.gov
39
linux kernel
vulnerability
integer overflow
coverity issue
multiplier calculation
dma_addr_t
nvd

AI Score

6.8

Confidence

Low

EPSS

0

Percentile

15.5%

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

drm/mediatek: Fix coverity issue with unintentional integer overflow

  1. Instead of multiplying 2 variable of different types. Change to
    assign a value of one variable and then multiply the other variable.

  2. Add a int variable for multiplier calculation instead of calculating
    different types multiplier with dma_addr_t variable directly.

Affected configurations

Vulners
Node
linuxlinux_kernelRange5.146.5.12
OR
linuxlinux_kernelRange6.6.06.6.2
OR
linuxlinux_kernelRange6.7.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/gpu/drm/mediatek/mtk_drm_gem.c",
      "drivers/gpu/drm/mediatek/mtk_drm_plane.c"
    ],
    "versions": [
      {
        "version": "1a64a7aff8da",
        "lessThan": "0d8a1df39d3f",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1a64a7aff8da",
        "lessThan": "96312a251d4d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1a64a7aff8da",
        "lessThan": "b0b0d811eac6",
        "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/gpu/drm/mediatek/mtk_drm_gem.c",
      "drivers/gpu/drm/mediatek/mtk_drm_plane.c"
    ],
    "versions": [
      {
        "version": "5.14",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.14",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.5.12",
        "lessThanOrEqual": "6.5.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.2",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.7",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

6.8

Confidence

Low

EPSS

0

Percentile

15.5%