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

Medium 5.5 Published Updated

A null pointer dereference in the NXP i.MX8 ISI driver allows local users to cause a system crash by enabling a stream on an unconnected crossbar sink.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-52647?

CVE-2023-52647 is a medium-severity vulnerability in Linux kernel, published on 1 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-476

Which versions are affected by CVE-2023-52647?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-52647?

Apply the vendor's patch.

Is CVE-2023-52647 being exploited?

There is no known exploitation of CVE-2023-52647 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-52647, DEBIAN-CVE-2023-52647, GHSA-f9rf-c3r2-696q, UBUNTU-CVE-2023-52647.

Is CVE-2023-52647 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free