CVE-2023-54103
Use-After-Free Vulnerability in Linux mtk-jpeg Media Driver
Publication date: 2025-12-24
Last updated on: 2025-12-24
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
How can this vulnerability impact me? :
The use-after-free vulnerability can lead to undefined behavior such as system crashes, memory corruption, or potentially allow an attacker to execute arbitrary code with kernel privileges. This can compromise system stability and security.
Can you explain this vulnerability to me?
This vulnerability is a use-after-free (UAF) bug in the Linux kernel's media component, specifically in the mtk-jpeg driver. It occurs because a scheduled work item (mtk_jpeg_job_timeout_work) may still be running or pending when the module is removed and cleaned up (via mtk_jpeg_remove). If the work is not canceled before cleanup, the system may attempt to access freed memory, leading to a use-after-free condition.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, update the Linux kernel to a version that includes the fix for the use after free bug in the mtk-jpeg driver. The fix involves canceling the job timeout work before cleanup in the mtk_jpeg_remove function, preventing unfinished work from causing a use after free condition.