CVE-2026-138907

7.0High

Published Nov 30, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

7.0CVSS

High

0CVSS v3.110

Attack vector
Local
Complexity
High
Privileges
Low
User action
None
Impact
Full C/I/A compromise
Weakness
—

What an attacker gets

Local attackers can trigger a use-after-free in the MediaTek JPEG driver to cause a kernel crash or potentially execute code. This requires local access to the device and specific timing of a concurrent file release.

Root cause

The MediaTek JPEG driver accesses a context structure after it has been freed following a job completion signal.

Affected versions

Versions prior to the patches merged in stable kernel releases 6.13.2, 6.12.13, 6.6.77, 6.1.127, 5.15.177, 5.10.234, and 5.4.289.

CVSS v3.1 · CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Fix & remediation

Upgrade the Linux kernel to one of the versions listed above or newer. No specific configuration mitigation is available as this is a driver-level race condition.

remediation — bash
$ uname -r

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

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.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-138907

More fully triaged vulnerabilities you may want to check next.