media: mediatek: jpeg: Avoid context access after job finish (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.17 % · percentile 7 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
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/7e551afe3a5e9ad4f2b0258bbcdb963b61237070
- https://git.kernel.org/stable/c/c5453ee719cdb222fab8306f48324eacf34501b4
- https://git.kernel.org/stable/c/7950f166957e1b4fedbe80bb717e69df94ba93bf
- https://git.kernel.org/stable/c/38c433a0ec83a133daecbd4f380ec22a219f600a
- https://git.kernel.org/stable/c/5da36fa408bb96a3e65dd1b5cc3f10ded3fed126
- https://git.kernel.org/stable/c/e0dd33d541a80fb88527d09d910b9f2e7e05c167
- https://git.kernel.org/stable/c/a2455ad533b121bf256392c6cd7cf205457a001e
- https://git.kernel.org/stable/c/7c7f31405b76acd95a628c834ee8a2d6da439782
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
European references
- ENISA EUVD · EUVD-2026-138610
- GCVE · GCVE-0-2026-138907
CERT-FR advisories
- CERTFR-2026-AVI-1679 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 5827e4b14ee7882acc6d618c12ddf4966bbd780f < 7e551afe3a5e9ad4f2b0258bbcdb963b61237070 affected : ≥ 5827e4b14ee7882acc6d618c12ddf4966bbd780f < c5453ee719cdb222fab8306f48324eacf34501b4 affected : ≥ 5827e4b14ee7882acc6d618c12ddf4966bbd780f < 7950f166957e1b4fedbe80bb717e69df94ba93bf affected : ≥ 5827e4b14ee7882acc6d618c12ddf4966bbd780f < 38c433a0ec83a133daecbd4f380ec22a219f600a affected : ≥ 5827e4b14ee7882acc6d618c12ddf4966bbd780f < 5da36fa408bb96a3e65dd1b5cc3f10ded3fed126 affected : ≥ 5827e4b14ee7882acc6d618c12ddf4966bbd780f < e0dd33d541a80fb88527d09d910b9f2e7e05c167 affected : ≥ 5827e4b14ee7882acc6d618c12ddf4966bbd780f < a2455ad533b121bf256392c6cd7cf205457a001e affected : ≥ 5827e4b14ee7882acc6d618c12ddf4966bbd780f < 7c7f31405b76acd95a628c834ee8a2d6da439782 Other versions : unaffected |
| Linux · Linux | affected : 5.10 unaffected : ≥ 0 < 5.10 unaffected : ≥ 5.10.275 ≤ 5.10.* unaffected : ≥ 5.15.226 ≤ 5.15.* unaffected : ≥ 6.1.193 ≤ 6.1.* unaffected : ≥ 6.6.163 ≤ 6.6.* unaffected : ≥ 6.12.118 ≤ 6.12.* unaffected : ≥ 6.18.64 ≤ 6.18.* unaffected : ≥ 7.3.4 ≤ 7.3.* unaffected : ≥ 7.4-rc1 ≤ * Other versions : affected |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |