Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2023-52850
HistoryMay 21, 2024 - 3:31 p.m.

CVE-2023-52850 media: hantro: Check whether reset op is defined before use

2024-05-2115:31:46
Linux
github.com
1
linux kernel
vulnerability
hantro
i.mx8mm/n/p
genpd
null pointer
dereference

6.9 Medium

AI Score

Confidence

High

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.

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.9 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.7%

Related for VULNRICHMENT:CVE-2023-52850