Bug 1227890 (CVE-2024-40973)

Summary: VUL-0: CVE-2024-40973: kernel: media: mtk-vcodec: potential null pointer deference in SCP
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Kernel Bugs <kernel-bugs>
Status: NEW --- QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: gianluca.gabrielli
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/413900/
Whiteboard:
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-07-16 08:28:38 UTC
In the Linux kernel, the following vulnerability has been resolved:

media: mtk-vcodec: potential null pointer deference in SCP

The return value of devm_kzalloc() needs to be checked to avoid
NULL pointer deference. This is similar to CVE-2022-3113.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-40973
https://www.cve.org/CVERecord?id=CVE-2024-40973
https://git.kernel.org/stable/c/3a693c7e243b932faee5c1fb728efa73f0abc39b
https://git.kernel.org/stable/c/53dbe08504442dc7ba4865c09b3bbf5fe849681b
https://git.kernel.org/stable/c/f066882293b5ad359e44c4ed24ab1811ffb0b354
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-40973.mbox