CVE-2026-64358CWE-476

CVE-2026-64358

Medium · published July 25, 2026

CVSS v3.1
5.5
EPSS
0%
Percentile
1.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00122 · 1.8th percentile
Weakness
CWE-476 · NULL Pointer Dereference
Published
2026-07-25T14:17Z
Affected products (4)
ProductVersionsFixed in
linux/linux_kernel≥ 6.6.140, < 6.6.1456.6.145
linux/linux_kernel≥ 6.12.86, < 6.12.966.12.96
linux/linux_kernel≥ 6.18.27, < 6.18.396.18.39
linux/linux_kernel≥ 7.0.4, < 7.1.47.1.4
References (5)
EPSS history
Timeline
  • 25 JUL 08:50Z
    media: mtk-jpeg: cancel workqueue on release for supported platforms only
    cvelistv5