CVE-2023-52647

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-52647
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52647.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-52647
Downstream
Published
2024-05-01T05:16:57Z
Modified
2025-10-08T16:04:41.302435Z
Summary
media: nxp: imx8-isi: Check whether crossbar pad is non-NULL before access
Details

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.

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
cf21f328fcafacf4f96e7a30ef9dceede1076378
Fixed
c95318607fbe8fdd44991a8dad2e44118e6b8812
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
cf21f328fcafacf4f96e7a30ef9dceede1076378
Fixed
c4bd29bf5b7f67925bc1abd16069f22dadf5f061
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
cf21f328fcafacf4f96e7a30ef9dceede1076378
Fixed
91c8ce42fcde09f1da24acab9013b3e19cb88a4e
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
cf21f328fcafacf4f96e7a30ef9dceede1076378
Fixed
eb2f932100288dbb881eadfed02e1459c6b9504c

Affected versions

v6.*

v6.3
v6.3-rc3
v6.3-rc4
v6.3-rc5
v6.3-rc6
v6.3-rc7
v6.4
v6.4-rc1
v6.4-rc2
v6.4-rc3
v6.4-rc4
v6.4-rc5
v6.4-rc6
v6.4-rc7
v6.5
v6.5-rc1
v6.5-rc2
v6.5-rc3
v6.5-rc4
v6.5-rc5
v6.5-rc6
v6.5-rc7
v6.6
v6.6-rc1
v6.6-rc2
v6.6-rc3
v6.6-rc4
v6.6-rc5
v6.6-rc6
v6.6-rc7
v6.6.1
v6.6.10
v6.6.11
v6.6.12
v6.6.13
v6.6.14
v6.6.15
v6.6.16
v6.6.17
v6.6.18
v6.6.19
v6.6.2
v6.6.20
v6.6.21
v6.6.22
v6.6.23
v6.6.3
v6.6.4
v6.6.5
v6.6.6
v6.6.7
v6.6.8
v6.6.9
v6.7
v6.7-rc1
v6.7-rc2
v6.7-rc3
v6.7-rc4
v6.7-rc5
v6.7-rc6
v6.7-rc7
v6.7-rc8
v6.7.1
v6.7.10
v6.7.11
v6.7.2
v6.7.3
v6.7.4
v6.7.5
v6.7.6
v6.7.7
v6.7.8
v6.7.9
v6.8
v6.8-rc1
v6.8-rc2
v6.8-rc3
v6.8-rc4
v6.8-rc5
v6.8-rc6
v6.8-rc7
v6.8.1
v6.8.2

Database specific

{
    "vanir_signatures": [
        {
            "signature_type": "Line",
            "deprecated": false,
            "signature_version": "v1",
            "digest": {
                "line_hashes": [
                    "253374131103788269530923947684012147700",
                    "26722080305460908009798239081103272454",
                    "171406063889832948586007379509488497428",
                    "217203694525061606442028860331626065594"
                ],
                "threshold": 0.9
            },
            "id": "CVE-2023-52647-007bb080",
            "target": {
                "file": "drivers/media/platform/nxp/imx8-isi/imx8-isi-crossbar.c"
            },
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c4bd29bf5b7f67925bc1abd16069f22dadf5f061"
        },
        {
            "signature_type": "Line",
            "deprecated": false,
            "signature_version": "v1",
            "digest": {
                "line_hashes": [
                    "253374131103788269530923947684012147700",
                    "26722080305460908009798239081103272454",
                    "171406063889832948586007379509488497428",
                    "217203694525061606442028860331626065594"
                ],
                "threshold": 0.9
            },
            "id": "CVE-2023-52647-05415495",
            "target": {
                "file": "drivers/media/platform/nxp/imx8-isi/imx8-isi-crossbar.c"
            },
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@91c8ce42fcde09f1da24acab9013b3e19cb88a4e"
        },
        {
            "signature_type": "Function",
            "deprecated": false,
            "signature_version": "v1",
            "digest": {
                "length": 858.0,
                "function_hash": "263068353377284194216936013173671731484"
            },
            "id": "CVE-2023-52647-1b3262b4",
            "target": {
                "file": "drivers/media/platform/nxp/imx8-isi/imx8-isi-crossbar.c",
                "function": "mxc_isi_crossbar_xlate_streams"
            },
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c95318607fbe8fdd44991a8dad2e44118e6b8812"
        },
        {
            "signature_type": "Line",
            "deprecated": false,
            "signature_version": "v1",
            "digest": {
                "line_hashes": [
                    "253374131103788269530923947684012147700",
                    "26722080305460908009798239081103272454",
                    "171406063889832948586007379509488497428",
                    "217203694525061606442028860331626065594"
                ],
                "threshold": 0.9
            },
            "id": "CVE-2023-52647-2687c1dc",
            "target": {
                "file": "drivers/media/platform/nxp/imx8-isi/imx8-isi-crossbar.c"
            },
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eb2f932100288dbb881eadfed02e1459c6b9504c"
        },
        {
            "signature_type": "Function",
            "deprecated": false,
            "signature_version": "v1",
            "digest": {
                "length": 858.0,
                "function_hash": "263068353377284194216936013173671731484"
            },
            "id": "CVE-2023-52647-8ee94e69",
            "target": {
                "file": "drivers/media/platform/nxp/imx8-isi/imx8-isi-crossbar.c",
                "function": "mxc_isi_crossbar_xlate_streams"
            },
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eb2f932100288dbb881eadfed02e1459c6b9504c"
        },
        {
            "signature_type": "Function",
            "deprecated": false,
            "signature_version": "v1",
            "digest": {
                "length": 858.0,
                "function_hash": "263068353377284194216936013173671731484"
            },
            "id": "CVE-2023-52647-adcf0489",
            "target": {
                "file": "drivers/media/platform/nxp/imx8-isi/imx8-isi-crossbar.c",
                "function": "mxc_isi_crossbar_xlate_streams"
            },
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c4bd29bf5b7f67925bc1abd16069f22dadf5f061"
        },
        {
            "signature_type": "Function",
            "deprecated": false,
            "signature_version": "v1",
            "digest": {
                "length": 858.0,
                "function_hash": "263068353377284194216936013173671731484"
            },
            "id": "CVE-2023-52647-c87a78cc",
            "target": {
                "file": "drivers/media/platform/nxp/imx8-isi/imx8-isi-crossbar.c",
                "function": "mxc_isi_crossbar_xlate_streams"
            },
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@91c8ce42fcde09f1da24acab9013b3e19cb88a4e"
        },
        {
            "signature_type": "Line",
            "deprecated": false,
            "signature_version": "v1",
            "digest": {
                "line_hashes": [
                    "253374131103788269530923947684012147700",
                    "26722080305460908009798239081103272454",
                    "171406063889832948586007379509488497428",
                    "217203694525061606442028860331626065594"
                ],
                "threshold": 0.9
            },
            "id": "CVE-2023-52647-dfcf9c75",
            "target": {
                "file": "drivers/media/platform/nxp/imx8-isi/imx8-isi-crossbar.c"
            },
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c95318607fbe8fdd44991a8dad2e44118e6b8812"
        }
    ]
}

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.4.0
Fixed
6.6.24
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.7.12
Type
ECOSYSTEM
Events
Introduced
6.8.0
Fixed
6.8.3