{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2024-57978",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2024-57978",
    "idYear": 2024,
    "status": "PUBLISHED",
    "publishedAt": "2025-02-27T02:07:05.593Z",
    "updatedAt": "2026-05-23T15:56:28.405Z",
    "importedAt": "2026-10-24T01:57:20.494Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "media: imx-jpeg: Fix potential error pointer dereference in detach_pm()",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: imx-jpeg: Fix potential error pointer dereference in detach_pm()\n\nThe proble is on the first line:\n\n\tif (jpeg->pd_dev[i] && !pm_runtime_suspended(jpeg->pd_dev[i]))\n\nIf jpeg->pd_dev[i] is an error pointer, then passing it to\npm_runtime_suspended() will lead to an Oops.  The other conditions\ncheck for both error pointers and NULL, but it would be more clear to\nuse the IS_ERR_OR_NULL() check for that.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "f3c4e088ec01cae45931a18ddf7cae0f4d72e1c5",
              "status": "affected",
              "versionType": "git",
              "lessThan": "a32ba399a030853f2db45a90ba5474fdd3494aad"
            },
            {
              "version": "12914fd765ba4f9d6a9a50439e8dd2e9f91423f2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "fde89fe11b44500bfcb2d405825b69a5df805d19"
            },
            {
              "version": "b7a830bbc25da0f641e3ef2bac3b1766b2777a8b",
              "status": "affected",
              "versionType": "git",
              "lessThan": "1b2af918bb714937a8be6cb637f528585461cd98"
            },
            {
              "version": "2f86d104539fab9181ea7b5721f40e7b92a8bf67",
              "status": "affected",
              "versionType": "git",
              "lessThan": "6e601a64f7777e2f78c02db1a8b5ba3b7c5e9e31"
            },
            {
              "version": "fd0af4cd35da0eb550ef682b71cda70a4e36f6b9",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f0b8535a7885ed4fd0b11625addb5476cae0f845"
            },
            {
              "version": "fd0af4cd35da0eb550ef682b71cda70a4e36f6b9",
              "status": "affected",
              "versionType": "git",
              "lessThan": "1378ffec30367233152b7dbf4fa6a25ee98585d1"
            },
            {
              "version": "5.15.174",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "5.15.179"
            },
            {
              "version": "6.1.120",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.1.129"
            },
            {
              "version": "6.6.64",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.6.76"
            },
            {
              "version": "6.12.4",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.12.13"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "6.13",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "6.13"
            },
            {
              "version": "5.15.179",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.129",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.76",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.13",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.13.2",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.13.*"
            },
            {
              "version": "6.14",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}