Lucene search

K
cvelistLinuxCVELIST:CVE-2023-52647
HistoryMay 01, 2024 - 5:16 a.m.

CVE-2023-52647 media: nxp: imx8-isi: Check whether crossbar pad is non-NULL before access

2024-05-0105:16:57
Linux
www.cve.org
linux kernel
vulnerability
resolution
media
nxp
imx8-isi
crossbar pad
null
crash prevention

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: nxp: imx8-isi: Check whether crossbar pad is non-NULL before access

When translating source to sink streams in the crossbar subdev, the
driver tries to locate the remote subdev connected to the sink pad. The
remote pad may be NULL, if userspace tries to enable a stream that ends
at an unconnected crossbar sink. When that occurs, the driver
dereferences the NULL pad, leading to a crash.

Prevent the crash by checking if the pad is NULL before using it, and
return an error if it is.

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/nxp/imx8-isi/imx8-isi-crossbar.c"
    ],
    "versions": [
      {
        "version": "cf21f328fcaf",
        "lessThan": "c95318607fbe",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "cf21f328fcaf",
        "lessThan": "c4bd29bf5b7f",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "cf21f328fcaf",
        "lessThan": "91c8ce42fcde",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "cf21f328fcaf",
        "lessThan": "eb2f93210028",
        "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/nxp/imx8-isi/imx8-isi-crossbar.c"
    ],
    "versions": [
      {
        "version": "6.4",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.4",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.24",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.7.12",
        "lessThanOrEqual": "6.7.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8.3",
        "lessThanOrEqual": "6.8.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.7 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.7%