{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "e1991d102bc2abb32331c462f8f3e77059c69578"
            },
            {
              "fixed": "f87707bc0406fe92bc142a9eee5f480c94ce9ff8"
            },
            {
              "fixed": "1094d83ad325829acd68e63147793536060a0d60"
            },
            {
              "fixed": "b8948ac26efc395264a47f9a743889065adb5cff"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.12.0"
            },
            {
              "fixed": "6.12.111"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.53"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97414.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: mediatek: mt8365-afe-pcm: fix possible NULL-pointer dereferences in mt8365_afe_suspend()\n\nmt8365_afe_suspend() allocates the register backup buffer with\ndevm_kcalloc(), but does not check for allocation failure before using the\nreturned pointer. This may lead to a NULL pointer dereference when\naccessing afe-\u003ereg_back_up[i].\n\nAdd the missing NULL check and return -ENOMEM on allocation failure after\ndisabling the main clock.\n\nAlso propagate the return value of mt8365_afe_suspend() in\nmt8365_afe_dev_runtime_suspend() so that the suspended state is not updated\nwhen suspend fails.",
  "id": "CVE-2026-97414",
  "modified": "2026-09-27T03:30:40.347519909Z",
  "published": "2026-09-24T16:03:21.936Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1094d83ad325829acd68e63147793536060a0d60"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b8948ac26efc395264a47f9a743889065adb5cff"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f87707bc0406fe92bc142a9eee5f480c94ce9ff8"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97414.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-97414"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "ASoC: mediatek: mt8365-afe-pcm: fix possible NULL-pointer dereferences in mt8365_afe_suspend()"
}