What’s Vulnerable › Vulnerabilities

CVE-2023-54147: media: platform: mtk-mdp3: Add missing check and free for ida_alloc

Description

In the Linux kernel, the following vulnerability has been resolved: media: platform: mtk-mdp3: Add missing check and free for ida_alloc Add the check for the return value of the ida_alloc in order to avoid NULL pointer dereference. Moreover, free allocated "ctx->id" if mdp_m2m_open fails later in order to avoid memory leak.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-54147 or the next vulnerability affects your stack