Bug 2586392 (CVE-2026-138907) - CVE-2026-138907 kernel: kernel: Denial of Service via use-after-free in MediaTek JPEG driver
Summary: CVE-2026-138907 kernel: kernel: Denial of Service via use-after-free in Media...
Keywords:
Status: NEW
Alias: CVE-2026-138907
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 13:46 UTC by OSIDB Bzimport
Modified: 2026-11-30 21:47 UTC (History)
17 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 13:46:31 UTC
In the Linux kernel, the following vulnerability has been resolved:

media: mediatek: jpeg: Avoid context access after job finish

v4l2_m2m_job_finish() publishes job completion and wakes waiters
before it returns. A concurrent file release can therefore finish
v4l2_m2m_ctx_release() and free the context while the single-core IRQ
handler continues with its tail.

Both handlers only need the device for the matching runtime PM put.
Use the IRQ-owned jpeg pointer instead of dereferencing ctx after
completion has been published. This preserves the get/put pairing and
removes the post-completion context access.


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