# CVE-2026-64358: media: mtk-jpeg: cancel workqueue on release for supported platforms only

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2026-07-25T08:50:15.303Z
- **Modified:** 2026-09-04T15:57:50.370Z

## Who should check

- Anyone running Linux \>= 2209fdae5c2f615930c9af1379c1cfca199ec5d8, \< 0fed0fc34ce734b4b8c2f6a467d38bddcb21dda9; \>= 0498b27a1542021d90269d58347501d4c3ccd84e, \< ac0774961a6ea174a71d4ffa39966edafbf7662d; \>= 26506a30e0e26d612f82a7bf0e395626968a44e6, \< 973408ceab14555a8548b97c8cc7b54208c3f251; \>= 34c519feef3e4fcff1078dc8bdb25fbbbd10303f, \< 4c4b4af4a9f278da096f0dbdb6b59594701d29bf; \>= 34c519feef3e4fcff1078dc8bdb25fbbbd10303f, \< b1845a227fda37b2fe5327df3ca0015d7e290235; e78c39f720679fcf3a2eacd82725ec3ea2648301; \>= 6.6.140, \< 6.6.145; \>= 6.12.86, \< 6.12.96; \>= 6.18.27, \< 6.18.39; \>= 7.0.4, \< 7.1
- Anyone running Linux 7.1

## Description

In the Linux kernel, the following vulnerability has been resolved:

media: mtk-jpeg: cancel workqueue on release for supported platforms only

Since a recent fix the mtk\_jpeg\_release function cancels any pending
or running work present in the driver workqueue using
cancel\_work\_sync function.
Currently, only the multicore based variants use this workqueue and they
have the jpeg\_worker platform data field initialized with a workqueue
callback function. For the others, this field value remain NULL by
default.
The cancel\_work\_sync function is unconditionally called in
mtk\_jpeg\_release function, even for the variants that do not use the
workqueue. This call generates a WARN\_ON print in \_\_flush\_work because
the workqueue callback function presence check fails in \_\_flush\_work
function (used by cancel\_work\_sync).

So, to avoid these warnings, call cancel\_work\_sync only if a workqueue
callback is defined in platform data.

## Affected and fixed versions

- Linux: \>= 2209fdae5c2f615930c9af1379c1cfca199ec5d8, \< 0fed0fc34ce734b4b8c2f6a467d38bddcb21dda9; \>= 0498b27a1542021d90269d58347501d4c3ccd84e, \< ac0774961a6ea174a71d4ffa39966edafbf7662d; \>= 26506a30e0e26d612f82a7bf0e395626968a44e6, \< 973408ceab14555a8548b97c8cc7b54208c3f251; \>= 34c519feef3e4fcff1078dc8bdb25fbbbd10303f, \< 4c4b4af4a9f278da096f0dbdb6b59594701d29bf; \>= 34c519feef3e4fcff1078dc8bdb25fbbbd10303f, \< b1845a227fda37b2fe5327df3ca0015d7e290235; e78c39f720679fcf3a2eacd82725ec3ea2648301; \>= 6.6.140, \< 6.6.145; \>= 6.12.86, \< 6.12.96; \>= 6.18.27, \< 6.18.39; \>= 7.0.4, \< 7.1 (cvelist)
- Linux: 7.1 (cvelist)

## Mitigation

- Upgrade Linux to 7.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-64358. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64358.md
Affected: Linux >= 2209fdae5c2f615930c9af1379c1cfca199ec5d8, < 0fed0fc34ce734b4b8c2f6a467d38bddcb21dda9; >= 0498b27a1542021d90269d58347501d4c3ccd84e, < ac0774961a6ea174a71d4ffa39966edafbf7662d; >= 26506a30e0e26d612f82a7bf0e395626968a44e6, < 973408ceab14555a8548b97c8cc7b54208c3f251; >= 34c519feef3e4fcff1078dc…
Fixed in: Linux 0fed0fc34ce734b4b8c2f6a467d38bddcb21dda9, Linux 973408ceab14555a8548b97c8cc7b54208c3f251, Linux 4c4b4af4a9f278da096f0dbdb6b59594701d29bf, Linux 6.6.145, Linux 6.12.96, Linux 6.18.39, Linux 7.1

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-64358 being exploited?

There is no confirmed exploitation: CVE-2026-64358 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-64358?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-64358?

Linux \>= 2209fdae5c2f615930c9af1379c1cfca199ec5d8, \< 0fed0fc34ce734b4b8c2f6a467d38bddcb21dda9; \>= 0498b27a1542021d90269d58347501d4c3ccd84e, \< ac0774961a6ea174a71d4ffa39966edafbf7662d; \>= 26506a30e0e26d612f82a7bf0e395626968a44e6, \< 973408ceab14555a8548b97c8cc7b54208c3f251; \>= 34c519feef3e4fcff1078dc8bdb25fbbbd10303f, \< 4c4b4af4a9f278da096f0dbdb6b59594701d29bf; \>= 34c519feef3e4fcff1078dc8bdb25fbbbd10303f, \< b1845a227fda37b2fe5327df3ca0015d7e290235; e78c39f720679fcf3a2eacd82725ec3ea2648301; \>= 6.6.140, \< 6.6.145; \>= 6.12.86, \< 6.12.96; \>= 6.18.27, \< 6.18.39; \>= 7.0.4, \< 7.1; Linux 7.1.

### Is there a fix for CVE-2026-64358?

Yes. Fixed in Linux 0fed0fc34ce734b4b8c2f6a467d38bddcb21dda9, Linux 973408ceab14555a8548b97c8cc7b54208c3f251, Linux 4c4b4af4a9f278da096f0dbdb6b59594701d29bf, Linux 6.6.145, Linux 6.12.96, Linux 6.18.39, Linux 7.1. Upgrade Linux to 7.1 or later.

### How do I check if I'm affected by CVE-2026-64358?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/0fed0fc34ce734b4b8c2f6a467d38bddcb21dda9>
- patch: <https://git.kernel.org/stable/c/ac0774961a6ea174a71d4ffa39966edafbf7662d>
- patch: <https://git.kernel.org/stable/c/973408ceab14555a8548b97c8cc7b54208c3f251>
- patch: <https://git.kernel.org/stable/c/4c4b4af4a9f278da096f0dbdb6b59594701d29bf>
- patch: <https://git.kernel.org/stable/c/b1845a227fda37b2fe5327df3ca0015d7e290235>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64358>

HTML: <https://flawdb.com/CVE-2026-64358> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-64358>
