CVE-2026-138907
7.0HighPublished Nov 30, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
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.
$ uname -rAI-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
- https://git.kernel.org/stable/c/38c433a0ec83a133daecbd4f380ec22a219f600a
- https://git.kernel.org/stable/c/5da36fa408bb96a3e65dd1b5cc3f10ded3fed126
- https://git.kernel.org/stable/c/7950f166957e1b4fedbe80bb717e69df94ba93bf
- https://git.kernel.org/stable/c/7c7f31405b76acd95a628c834ee8a2d6da439782
- https://git.kernel.org/stable/c/7e551afe3a5e9ad4f2b0258bbcdb963b61237070
- https://git.kernel.org/stable/c/a2455ad533b121bf256392c6cd7cf205457a001e
- https://git.kernel.org/stable/c/c5453ee719cdb222fab8306f48324eacf34501b4
- https://git.kernel.org/stable/c/e0dd33d541a80fb88527d09d910b9f2e7e05c167
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-999907.8HighLocal attackers can trigger a use-after-free in the ALSA sound subsystem, potentially leading to privilege escalation or system crashes. This requires local access to the system and the ability to interact with the sound driver.
- CVE-2026-999967.8HighLocal attackers can trigger a use-after-free to cause a kernel panic or potentially execute code. This requires local access to a system using the NTFS filesystem driver.
- CVE-2026-999827.8HighLocal attackers can trigger a kernel crash or potentially escalate privileges by exploiting a race condition during GPU resets. This requires local access to the system and the ability to interact with the AMD GPU driver.
- CVE-2026-999837.8HighLocal attackers can gain elevated privileges or cause system instability by exploiting a race condition in the GPU memory management. This requires local access to the system to interact with the AMD GPU driver.
- CVE-2026-999867.8HighLocal attackers can gain elevated privileges or cause system instability by exploiting a race condition. This requires local access to the system to trigger the doorbell allocation race in the AMD KFD driver.
- CVE-2026-999797.8HighLocal attackers can trigger a use-after-free in the IPv6 stack, potentially leading to kernel memory corruption or privilege escalation. This requires local access to the system to trigger the race condition during interface teardown.