Lucene search

K
cve416baaa9-dc9f-4396-8d5f-8c081fb06d67CVE-2023-52850
HistoryMay 21, 2024 - 4:15 p.m.

CVE-2023-52850

2024-05-2116:15:22
416baaa9-dc9f-4396-8d5f-8c081fb06d67
web.nvd.nist.gov
29
linux kernel
media
hantro
vulnerability
i.mx8mm
genpd
null pointer
nvd

6.7 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.7%

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

media: hantro: Check whether reset op is defined before use

The i.MX8MM/N/P does not define the .reset op since reset of the VPU is
done by genpd. Check whether the .reset op is defined before calling it
to avoid NULL pointer dereference.

Note that the Fixes tag is set to the commit which removed the reset op
from i.MX8M Hantro G2 implementation, this is because before this commit
all the implementations did define the .reset op.

Affected configurations

Vulners
Node
linuxlinux_kernelRange5.186.1.63
OR
linuxlinux_kernelRange6.2.06.5.12
OR
linuxlinux_kernelRange6.6.06.6.2
OR
linuxlinux_kernelRange6.7.0

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/media/platform/verisilicon/hantro_drv.c"
    ],
    "versions": [
      {
        "version": "6971efb70ac3",
        "lessThan": "64f55cebb433",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "6971efb70ac3",
        "lessThan": "66b4c5f980d7",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "6971efb70ac3",
        "lessThan": "24c06295f283",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "6971efb70ac3",
        "lessThan": "88d4b23a629e",
        "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/media/platform/verisilicon/hantro_drv.c"
    ],
    "versions": [
      {
        "version": "5.18",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.18",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.63",
        "lessThanOrEqual": "6.1.*",
        "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"
      }
    ]
  }
]

6.7 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.7%