CVE-2023-52647 Information

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.

Reference

https://git.kernel.org/stable/c/c95318607fbe8fdd44991a8dad2e44118e6b8812 https://git.kernel.org/stable/c/c4bd29bf5b7f67925bc1abd16069f22dadf5f061 https://git.kernel.org/stable/c/91c8ce42fcde09f1da24acab9013b3e19cb88a4e https://git.kernel.org/stable/c/eb2f932100288dbb881eadfed02e1459c6b9504c

Share on: