CVE-2023-54147
kernel: media: platform: mtk-mdp3: Add missing check and free for ida_alloc
Loading…
Severity
UnknownRed Hat Product Security
CVSS
Review impact separately from score.
Published · December 24, 2025
Updated · June 30, 2026
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.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CWE not specified