{"id":"CVE-2026-97414","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-09-24T17:17:19.103","lastModified":"2026-09-25T13:17:24.943","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["sound/soc/mediatek/mt8365/mt8365-afe-pcm.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"e1991d102bc2abb32331c462f8f3e77059c69578","lessThan":"f87707bc0406fe92bc142a9eee5f480c94ce9ff8","versionType":"git","status":"affected"},{"version":"e1991d102bc2abb32331c462f8f3e77059c69578","lessThan":"1094d83ad325829acd68e63147793536060a0d60","versionType":"git","status":"affected"},{"version":"e1991d102bc2abb32331c462f8f3e77059c69578","lessThan":"b8948ac26efc395264a47f9a743889065adb5cff","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["sound/soc/mediatek/mt8365/mt8365-afe-pcm.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.12","status":"affected"},{"version":"0","lessThan":"6.12","versionType":"semver","status":"unaffected"},{"version":"6.12.111","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.53","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.2","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/1094d83ad325829acd68e63147793536060a0d60","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/b8948ac26efc395264a47f9a743889065adb5cff","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f87707bc0406fe92bc142a9eee5f480c94ce9ff8","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}