Skip to main content
No exploitation reportedFix availableAwaiting NVD analysis

CVE-2026-138907

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

No exploitation reported by the sources we read.

  • Published2026-11-30
  • Fixed in7.3.4 · 6.18.64 · 6.12.118 · 6.6.163 · 6.1.193 · 5.15.226

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-11-3013:26CVE publishedCNA

Versions per branch

OSV
Linux kernel
BranchAffectedFixed in
7.3≥ 6.19.0, < 7.3.47.3.4
6.x≥ 6.13.0, < 6.18.646.18.64
6.x≥ 6.7.0, < 6.12.1186.12.118
6.x≥ 6.2.0, < 6.6.1636.6.163
6.1≥ 5.16.0, < 6.1.1936.1.193
5.x≥ 5.11.0, < 5.15.2265.15.226
5.10≥ 5.10.0, < 5.10.2755.10.275

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA2 products

As Linux, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • Linuxother versions: not affected

    https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

    Affected
    • ≥ 5827e4b14ee7882acc6d618c12ddf4966bbd780f, < 7e551afe3a5e9ad4f2b0258bbcdb963b61237070fixed in 7e551afe3a5e9ad4f2b0258bbcdb963b61237070git
    • ≥ 5827e4b14ee7882acc6d618c12ddf4966bbd780f, < c5453ee719cdb222fab8306f48324eacf34501b4fixed in c5453ee719cdb222fab8306f48324eacf34501b4git
    • ≥ 5827e4b14ee7882acc6d618c12ddf4966bbd780f, < 7950f166957e1b4fedbe80bb717e69df94ba93bffixed in 7950f166957e1b4fedbe80bb717e69df94ba93bfgit
    • ≥ 5827e4b14ee7882acc6d618c12ddf4966bbd780f, < 38c433a0ec83a133daecbd4f380ec22a219f600afixed in 38c433a0ec83a133daecbd4f380ec22a219f600agit
    • ≥ 5827e4b14ee7882acc6d618c12ddf4966bbd780f, < 5da36fa408bb96a3e65dd1b5cc3f10ded3fed126fixed in 5da36fa408bb96a3e65dd1b5cc3f10ded3fed126git
    • ≥ 5827e4b14ee7882acc6d618c12ddf4966bbd780f, < e0dd33d541a80fb88527d09d910b9f2e7e05c167fixed in e0dd33d541a80fb88527d09d910b9f2e7e05c167git
    • ≥ 5827e4b14ee7882acc6d618c12ddf4966bbd780f, < a2455ad533b121bf256392c6cd7cf205457a001efixed in a2455ad533b121bf256392c6cd7cf205457a001egit
    • ≥ 5827e4b14ee7882acc6d618c12ddf4966bbd780f, < 7c7f31405b76acd95a628c834ee8a2d6da439782fixed in 7c7f31405b76acd95a628c834ee8a2d6da439782git
  • Linuxother versions: affected

    https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

    Affected
    • = 5.10no fix stated

    Not affected < 5.10 · ≥ 5.10.275, ≤ 5.10.* · ≥ 5.15.226, ≤ 5.15.* · ≥ 6.1.193, ≤ 6.1.* · ≥ 6.6.163, ≤ 6.6.* · ≥ 6.12.118, ≤ 6.12.* · ≥ 6.18.64, ≤ 6.18.*

    2 more version lines in the CVE record.

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-11-30

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • linuxDebian:14all versions · fixed in 7.3.4-1
  • linuxDebian:13all versions · fixed in 6.12.118-1
  • linuxDebian:12all versions · no fixed version listed

Full record on NVD

Fix

  1. Update Linux kernel to 7.3.4 · 6.18.64 · 6.12.118 · 6.6.163 · 6.1.193 · 5.15.226 · 5.10.275

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVE recordread 2026-11-30
  • CNACVSS 3.172026-12-01
  • OSVaffected packages—

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2026-11-30
Last modified
2026-11-30
NVD status
Received

Frequently asked questions

What is CVE-2026-138907?

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.

Is CVE-2026-138907 actively exploited?

Active exploitation of CVE-2026-138907 has not been confirmed.

What is the CVSS score for CVE-2026-138907?

CVE-2026-138907 has a CVSS v3 base score of 7 (High severity), with vector string CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.

Running Linux kernel? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record