{"id":"CVE-2026-97414","published":"2026-09-24T17:17:19.103","lastModified":"2026-09-25T13:17:24.943","description":"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->reg_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.","cvssScore":null,"cvssSeverity":null,"cvssVector":null,"cwes":[],"vendors":[],"products":[],"references":[{"url":"https://git.kernel.org/stable/c/1094d83ad325829acd68e63147793536060a0d60","tags":[]},{"url":"https://git.kernel.org/stable/c/b8948ac26efc395264a47f9a743889065adb5cff","tags":[]},{"url":"https://git.kernel.org/stable/c/f87707bc0406fe92bc142a9eee5f480c94ce9ff8","tags":[]}],"exploitRefs":[],"hasPoc":false,"ai":null}