Bug 1223764 (CVE-2023-52647) - VUL-0: CVE-2023-52647: kernel: media: nxp: imx8-isi: Check whether crossbar pad is non-NULL before access
Summary: VUL-0: CVE-2023-52647: kernel: media: nxp: imx8-isi: Check whether crossbar p...
Status: RESOLVED FIXED
Alias: CVE-2023-52647
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/403694/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-52647:5.5:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-02 14:32 UTC by SMASH SMASH
Modified: 2024-07-08 14:43 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-05-02 14:32:59 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
Comment 2 Andrea Mattiazzo 2024-05-06 07:34:20 UTC
All done, closing.