Bugzilla – Bug 1223764
VUL-0: CVE-2023-52647: kernel: media: nxp: imx8-isi: Check whether crossbar pad is non-NULL before access
Last modified: 2024-07-08 14:43:29 UTC
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: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-52647 https://www.cve.org/CVERecord?id=CVE-2023-52647 https://git.kernel.org/stable/c/91c8ce42fcde09f1da24acab9013b3e19cb88a4e https://git.kernel.org/stable/c/c4bd29bf5b7f67925bc1abd16069f22dadf5f061 https://git.kernel.org/stable/c/c95318607fbe8fdd44991a8dad2e44118e6b8812 https://git.kernel.org/stable/c/eb2f932100288dbb881eadfed02e1459c6b9504c https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2023/CVE-2023-52647.mbox https://bugzilla.redhat.com/show_bug.cgi?id=2278541
All done, closing.