| Summary | In the Linux kernel, the following vulnerability has been resolved: media: mtk-jpeg: fix use-after-free in release path due to uncancelled work The mtk_jpeg_release() function frees the context structure (ctx) without Race condition: CPU 0 (release) CPU 1 (workqueue) kfree(ctx) // freed! The work is queued via queue_work() during JPEG encode/decode operations Fix this by calling cancel_work_sync() BEFORE acquiring the mutex. This Note: The open error path does NOT need cancel_work_sync() because |
|---|---|
| Publication Date | May 27, 2026, 11:17 p.m. |
| Registration Date | May 28, 2026, 4:12 a.m. |
| Last Update | May 27, 2026, 11:48 p.m. |