PT-2026-163107
CVE-2026-139066
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
media: imx-jpeg: finish the job on device run() error paths
mxc jpeg device run() returns early through a shared "end" label on several
error paths (no free slot, mxc jpeg alloc slot data() failure, or missing
buffers or queue data), and none of them calls v4l2 m2m job finish().
Since the delayed work is queued only after the hardware is started, those
paths neither finish the job directly nor queue timeout work that could
finish it later. The job is left with TRANS RUNNING set, so the
wait event() in v4l2 m2m cancel job() (reached from v4l2 m2m ctx release()
at close) waits indefinitely and the close hangs.
mxc jpeg alloc slot data() uses dma alloc coherent(), so the failure path
is reachable under memory pressure.
Return the src/dst buffers with VB2 BUF STATE ERROR and call
v4l2 m2m job finish() on those paths: paths that have buffers use a
"buf finish" label; the no-buffer path uses "job finish" directly. This
mirrors the existing jpeg parse error path.
This bug was found by static analysis.
Found an issue in the description? Have something to add? Feel free to write us 👾