{"id":"CVE-2026-64358","summary":"media: mtk-jpeg: cancel workqueue on release for supported platforms only","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: mtk-jpeg: cancel workqueue on release for supported platforms only\n\nSince a recent fix the mtk_jpeg_release function cancels any pending\nor running work present in the driver workqueue using\ncancel_work_sync function.\nCurrently, only the multicore based variants use this workqueue and they\nhave the jpeg_worker platform data field initialized with a workqueue\ncallback function. For the others, this field value remain NULL by\ndefault.\nThe cancel_work_sync function is unconditionally called in\nmtk_jpeg_release function, even for the variants that do not use the\nworkqueue. This call generates a WARN_ON print in __flush_work because\nthe workqueue callback function presence check fails in __flush_work\nfunction (used by cancel_work_sync).\n\nSo, to avoid these warnings, call cancel_work_sync only if a workqueue\ncallback is defined in platform data.","modified":"2026-10-28T02:30:54.222094906Z","published":"2026-07-25T08:50:15.303Z","related":["SUSE-SU-2026:23477-1","SUSE-SU-2026:23481-1","SUSE-SU-2026:23528-1","SUSE-SU-2026:23529-1","SUSE-SU-2026:23881-1","SUSE-SU-2026:23887-1","SUSE-SU-2026:23897-1","SUSE-SU-2026:23902-1","SUSE-SU-2026:4120-1","SUSE-SU-2026:4254-1","openSUSE-SU-2026:11476-1","openSUSE-SU-2026:21910-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64358.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0fed0fc34ce734b4b8c2f6a467d38bddcb21dda9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4c4b4af4a9f278da096f0dbdb6b59594701d29bf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/973408ceab14555a8548b97c8cc7b54208c3f251"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ac0774961a6ea174a71d4ffa39966edafbf7662d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b1845a227fda37b2fe5327df3ca0015d7e290235"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64358.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64358"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"2209fdae5c2f615930c9af1379c1cfca199ec5d8"},{"fixed":"0fed0fc34ce734b4b8c2f6a467d38bddcb21dda9"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0498b27a1542021d90269d58347501d4c3ccd84e"},{"fixed":"ac0774961a6ea174a71d4ffa39966edafbf7662d"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"26506a30e0e26d612f82a7bf0e395626968a44e6"},{"fixed":"973408ceab14555a8548b97c8cc7b54208c3f251"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"34c519feef3e4fcff1078dc8bdb25fbbbd10303f"},{"fixed":"4c4b4af4a9f278da096f0dbdb6b59594701d29bf"},{"fixed":"b1845a227fda37b2fe5327df3ca0015d7e290235"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6.6.140"},{"fixed":"6.6.145"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6.12.86"},{"fixed":"6.12.96"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6.18.27"},{"fixed":"6.18.39"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"7.0.4"},{"fixed":"7.1"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e78c39f720679fcf3a2eacd82725ec3ea2648301"}]}],"versions":["v6.6.144","v6.6.143","v6.6.142","v6.6.141","v6.6.140","v6.12.95","v6.12.94","v6.12.93","v6.12.92","v6.12.91","v6.12.90","v6.12.89","v6.12.88","v6.12.87","v6.12.86","v6.18.38","v6.18.37","v6.18.36","v6.18.35","v6.18.34","v6.18.33","v6.18.32","v6.18.31","v6.18.30","v6.18.29","v6.18.28","v6.18.27","v7.0.14","v7.0.13","v7.0.12","v7.0.11","v7.0.10","v7.0.9","v7.0.8","v7.0.7","v7.0.6","v7.0.5","v7.0.4"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64358.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.6.145"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.96"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.39"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64358.json"}}],"schema_version":"1.9.2"}