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

CVE-2026-64358
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.12 % · centile 2 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

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.

Faiblesses (CWE)

  • CWE-476 — Déréférencement de pointeur nul

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 2209fdae5c2f615930c9af1379c1cfca199ec5d8 < 0fed0fc34ce734b4b8c2f6a467d38bddcb21dda9 ; affected 0498b27a1542021d90269d58347501d4c3ccd84e < ac0774961a6ea174a71d4ffa39966edafbf7662d ; affected 26506a30e0e26d612f82a7bf0e395626968a44e6 < 973408ceab14555a8548b97c8cc7b54208c3f251 ; affected 34c519feef3e4fcff1078dc8bdb25fbbbd10303f < 4c4b4af4a9f278da096f0dbdb6b59594701d29bf ; affected 34c519feef3e4fcff1078dc8bdb25fbbbd10303f < b1845a227fda37b2fe5327df3ca0015d7e290235 ; affected e78c39f720679fcf3a2eacd82725ec3ea2648301
Linux · Linuxaffected 7.1 ; unaffected 0 < 7.1 ; unaffected 6.6.145 ≤ 6.6.* ; unaffected 6.12.96 ≤ 6.12.* ; unaffected 6.18.39 ≤ 6.18.* ; unaffected 7.1.4 ≤ 7.1.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD