CVE-2026-64358 (GCVE-0-2026-64358)

Vulnerability from cvelistv5 – Published: 2026-07-25 08:50 – Updated: 2026-08-17 04:54
VLAI
Title
media: mtk-jpeg: cancel workqueue on release for supported platforms only
Summary
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.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 2209fdae5c2f615930c9af1379c1cfca199ec5d8 , < 0fed0fc34ce734b4b8c2f6a467d38bddcb21dda9 (git)
Affected: 0498b27a1542021d90269d58347501d4c3ccd84e , < ac0774961a6ea174a71d4ffa39966edafbf7662d (git)
Affected: 26506a30e0e26d612f82a7bf0e395626968a44e6 , < 973408ceab14555a8548b97c8cc7b54208c3f251 (git)
Affected: 34c519feef3e4fcff1078dc8bdb25fbbbd10303f , < 4c4b4af4a9f278da096f0dbdb6b59594701d29bf (git)
Affected: 34c519feef3e4fcff1078dc8bdb25fbbbd10303f , < b1845a227fda37b2fe5327df3ca0015d7e290235 (git)
Affected: e78c39f720679fcf3a2eacd82725ec3ea2648301 (git)
Affected: 6.6.140 , < 6.6.145 (semver)
Affected: 6.12.86 , < 6.12.96 (semver)
Affected: 6.18.27 , < 6.18.39 (semver)
Affected: 7.0.4 , < 7.1 (semver)
guessed Create a notification for this product.
Linux Linux Affected: 7.1
Unaffected: 0 , < 7.1 (semver)
Unaffected: 6.6.145 , ≤ 6.6.* (semver)
Unaffected: 6.12.96 , ≤ 6.12.* (semver)
Unaffected: 6.18.39 , ≤ 6.18.* (semver)
Unaffected: 7.1.4 , ≤ 7.1.* (semver)
Unaffected: 7.2 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "0fed0fc34ce734b4b8c2f6a467d38bddcb21dda9",
              "status": "affected",
              "version": "2209fdae5c2f615930c9af1379c1cfca199ec5d8",
              "versionType": "git"
            },
            {
              "lessThan": "ac0774961a6ea174a71d4ffa39966edafbf7662d",
              "status": "affected",
              "version": "0498b27a1542021d90269d58347501d4c3ccd84e",
              "versionType": "git"
            },
            {
              "lessThan": "973408ceab14555a8548b97c8cc7b54208c3f251",
              "status": "affected",
              "version": "26506a30e0e26d612f82a7bf0e395626968a44e6",
              "versionType": "git"
            },
            {
              "lessThan": "4c4b4af4a9f278da096f0dbdb6b59594701d29bf",
              "status": "affected",
              "version": "34c519feef3e4fcff1078dc8bdb25fbbbd10303f",
              "versionType": "git"
            },
            {
              "lessThan": "b1845a227fda37b2fe5327df3ca0015d7e290235",
              "status": "affected",
              "version": "34c519feef3e4fcff1078dc8bdb25fbbbd10303f",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "e78c39f720679fcf3a2eacd82725ec3ea2648301",
              "versionType": "git"
            },
            {
              "lessThan": "6.6.145",
              "status": "affected",
              "version": "6.6.140",
              "versionType": "semver"
            },
            {
              "lessThan": "6.12.96",
              "status": "affected",
              "version": "6.12.86",
              "versionType": "semver"
            },
            {
              "lessThan": "6.18.39",
              "status": "affected",
              "version": "6.18.27",
              "versionType": "semver"
            },
            {
              "lessThan": "7.1",
              "status": "affected",
              "version": "7.0.4",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "7.1"
            },
            {
              "lessThan": "7.1",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.145",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.96",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.39",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.145",
                  "versionStartIncluding": "6.6.140",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.96",
                  "versionStartIncluding": "6.12.86",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.39",
                  "versionStartIncluding": "6.18.27",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.4",
                  "versionStartIncluding": "7.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "7.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "7.0.4",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-17T04:54:04.458Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/0fed0fc34ce734b4b8c2f6a467d38bddcb21dda9"
        },
        {
          "url": "https://git.kernel.org/stable/c/ac0774961a6ea174a71d4ffa39966edafbf7662d"
        },
        {
          "url": "https://git.kernel.org/stable/c/973408ceab14555a8548b97c8cc7b54208c3f251"
        },
        {
          "url": "https://git.kernel.org/stable/c/4c4b4af4a9f278da096f0dbdb6b59594701d29bf"
        },
        {
          "url": "https://git.kernel.org/stable/c/b1845a227fda37b2fe5327df3ca0015d7e290235"
        }
      ],
      "title": "media: mtk-jpeg: cancel workqueue on release for supported platforms only",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-64358",
    "datePublished": "2026-07-25T08:50:15.303Z",
    "dateReserved": "2026-07-19T15:36:31.782Z",
    "dateUpdated": "2026-08-17T04:54:04.458Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-64358",
      "date": "2026-09-22",
      "epss": "0.00122",
      "percentile": "0.0228"
    },
    "microsoft_vex": {
      "current_release_date": "2026-07-27T14:49:46.000Z",
      "cve": "CVE-2026-64358",
      "id": "msrc_CVE-2026-64358",
      "initial_release_date": "2026-07-26T01:07:40.000Z",
      "product_status:known_affected": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "media: mtk-jpeg: cancel workqueue on release for supported platforms only",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-64358.json",
      "version": "2"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "0fed0fc34ce734b4b8c2f6a467d38bddcb21dda9",
                    "status": "affected",
                    "version": "2209fdae5c2f615930c9af1379c1cfca199ec5d8",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "ac0774961a6ea174a71d4ffa39966edafbf7662d",
                    "status": "affected",
                    "version": "0498b27a1542021d90269d58347501d4c3ccd84e",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "973408ceab14555a8548b97c8cc7b54208c3f251",
                    "status": "affected",
                    "version": "26506a30e0e26d612f82a7bf0e395626968a44e6",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "4c4b4af4a9f278da096f0dbdb6b59594701d29bf",
                    "status": "affected",
                    "version": "34c519feef3e4fcff1078dc8bdb25fbbbd10303f",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "b1845a227fda37b2fe5327df3ca0015d7e290235",
                    "status": "affected",
                    "version": "34c519feef3e4fcff1078dc8bdb25fbbbd10303f",
                    "versionType": "git"
                  },
                  {
                    "status": "affected",
                    "version": "e78c39f720679fcf3a2eacd82725ec3ea2648301",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "6.6.145",
                    "status": "affected",
                    "version": "6.6.140",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.12.96",
                    "status": "affected",
                    "version": "6.12.86",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.18.39",
                    "status": "affected",
                    "version": "6.18.27",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "7.1",
                    "status": "affected",
                    "version": "7.0.4",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "7.1"
                  },
                  {
                    "lessThan": "7.1",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.145",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.96",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.39",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.1.*",
                    "status": "unaffected",
                    "version": "7.1.4",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.2",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "3D5C8D8C-FF09-40AF-91E7-65ABCEEF658E",
                    "versionEndExcluding": "6.6.145",
                    "versionStartIncluding": "6.6.140",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "93DE1FAD-10D5-4389-AF9B-E01747C0D99C",
                    "versionEndExcluding": "6.12.96",
                    "versionStartIncluding": "6.12.86",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "BE92AB63-5C00-40E1-84A0-0E78EADC0A71",
                    "versionEndExcluding": "6.18.39",
                    "versionStartIncluding": "6.18.27",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "0F355A1C-D88C-4A78-B882-8CB836FC1759",
                    "versionEndExcluding": "7.1.4",
                    "versionStartIncluding": "7.0.4",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "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."
          }
        ],
        "id": "CVE-2026-64358",
        "lastModified": "2026-09-04T15:57:50.370",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 5.5,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 3.6,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ]
        },
        "published": "2026-07-25T10:17:18.253",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/0fed0fc34ce734b4b8c2f6a467d38bddcb21dda9"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/4c4b4af4a9f278da096f0dbdb6b59594701d29bf"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/973408ceab14555a8548b97c8cc7b54208c3f251"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/ac0774961a6ea174a71d4ffa39966edafbf7662d"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/b1845a227fda37b2fe5327df3ca0015d7e290235"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Analyzed",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-476"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "None",
      "current_release_date": "2026-07-30T00:23:17+00:00",
      "cve": "CVE-2026-64358",
      "id": "CVE-2026-64358",
      "initial_release_date": "2026-07-25T00:00:00+00:00",
      "product_status:known_not_affected": "274",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: media: mtk-jpeg: cancel workqueue on release for supported platforms only",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-64358.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-18T00:41:12Z",
      "cve": "CVE-2026-64358",
      "id": "CVE-2026-64358",
      "initial_release_date": "2026-07-25T16:01:03Z",
      "product_status:known_affected": "394",
      "product_status:known_not_affected": "339",
      "product_status:recommended": "111",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-64358",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-64358.json",
      "version": "10"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…