Bug 2425135 (CVE-2023-54147) - CVE-2023-54147 kernel: media: platform: mtk-mdp3: Add missing check and free for ida_alloc
Summary: CVE-2023-54147 kernel: media: platform: mtk-mdp3: Add missing check and free ...
Keywords:
Status: NEW
Alias: CVE-2023-54147
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-24 14:05 UTC by OSIDB Bzimport
Modified: 2026-06-29 18:35 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-24 14:05:32 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.