CVE-2023-54147
media: platform: mtk-mdp3: Add missing check and free for ida_alloc
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 61890ccaefaff89f5babd2c8412fd222c3f5fe38, < 51fc1880e47421ee7b192372e8e86b7bbba40776; >= 61890ccaefaff89f5babd2c8412fd222c3f5fe38, < 4c173a65a2b1cc0556c3f6f0bab82e4fdb449522; >= 61890ccaefaff89f5babd2c8412fd222c3f5fe38, < 22b72cad501fb75500cc60af4d92de3066fb6fc2; >= 61890ccaefaff89f5babd2c8412fd222c3f5fe38, < d00f592250782538cda87745607695b0fe27dcd4
- Anyone running Linux 6.1
Vulnerability facts
- Affected
- Linux >= 61890ccaefaff89f5babd2c8412fd222c3f5fe38, < 51fc1880e47421ee7b192372e8e86b7bbba40776; >= 61890ccaefaff89f5babd2c8412fd222c3f5fe38, < 4c173a65a2b1cc0556c3f6f0bab82e4fdb449522; >= 61890ccaefaff89f5babd2c8412fd222c3f5fe38, < 22b72cad501fb75500cc60af4d92de3066fb6fc2; >= 61890ccaefaff89f5babd2c8412fd222c3f5fe38, < d00f592250782538cda87745607695b0fe27dcd4; Linux 6.1
- Fixed in
- Linux 51fc1880e47421ee7b192372e8e86b7bbba40776, Linux 4c173a65a2b1cc0556c3f6f0bab82e4fdb449522, Linux 22b72cad501fb75500cc60af4d92de3066fb6fc2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 61890ccaefaff89f5babd2c8412fd222c3f5fe38, < 51fc1880e47421ee7b192372e8e86b7bbba40776; >= 61890ccaefaff89f5babd2c8412fd222c3f5fe38, < 4c173a65a2b1cc0556c3f6f0bab82e4fdb449522; >= 61890ccaefaff89f5babd2c8412fd222c3f5fe38, < 22b72cad501fb75500cc60af4d92de3066fb6fc2; >= 61890ccaefaff89f5babd2c8412fd222c3f5fe38, < d00f592250782538cda87745607695b0fe27dcd4 | — | cvelist |
| Linux | 6.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-54147. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-54147.md Affected: Linux >= 61890ccaefaff89f5babd2c8412fd222c3f5fe38, < 51fc1880e47421ee7b192372e8e86b7bbba40776; >= 61890ccaefaff89f5babd2c8412fd222c3f5fe38, < 4c173a65a2b1cc0556c3f6f0bab82e4fdb449522; >= 61890ccaefaff89f5babd2c8412fd222c3f5fe38, < 22b72cad501fb75500cc60af4d92de3066fb6fc2; >= 61890ccaefaff89f5babd2c… Fixed in: Linux 51fc1880e47421ee7b192372e8e86b7bbba40776, Linux 4c173a65a2b1cc0556c3f6f0bab82e4fdb449522, Linux 22b72cad501fb75500cc60af4d92de3066fb6fc2 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2023-54147 being exploited?
There is no confirmed exploitation: CVE-2023-54147 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-54147?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2023-54147?
Linux >= 61890ccaefaff89f5babd2c8412fd222c3f5fe38, < 51fc1880e47421ee7b192372e8e86b7bbba40776; >= 61890ccaefaff89f5babd2c8412fd222c3f5fe38, < 4c173a65a2b1cc0556c3f6f0bab82e4fdb449522; >= 61890ccaefaff89f5babd2c8412fd222c3f5fe38, < 22b72cad501fb75500cc60af4d92de3066fb6fc2; >= 61890ccaefaff89f5babd2c8412fd222c3f5fe38, < d00f592250782538cda87745607695b0fe27dcd4; Linux 6.1.
Is there a fix for CVE-2023-54147?
Yes. Fixed in Linux 51fc1880e47421ee7b192372e8e86b7bbba40776, Linux 4c173a65a2b1cc0556c3f6f0bab82e4fdb449522, Linux 22b72cad501fb75500cc60af4d92de3066fb6fc2. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2023-54147?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.