{"id":"CVE-2026-97414","revision":"f32409fdbe424478b4945c9f2f452c33","records":[{"revision":"f32409fdbe424478b4945c9f2f452c33","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-97414","aliases":[],"title":"ASoC: mediatek: mt8365-afe-pcm: fix possible NULL-pointer dereferences in mt8365_afe_suspend()","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.","state":0,"publishedAt":"2026-09-24T16:03:21.936+00:00","modifiedAt":"2026-09-25T12:43:49.195+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"sound/soc/mediatek/mt8365/mt8365-afe-pcm.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"e1991d102bc2abb32331c462f8f3e77059c69578\",\n                            \"lessThan\": \"f87707bc0406fe92bc142a9eee5f480c94ce9ff8\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"e1991d102bc2abb32331c462f8f3e77059c69578\",\n                            \"lessThan\": \"1094d83ad325829acd68e63147793536060a0d60\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"e1991d102bc2abb32331c462f8f3e77059c69578\",\n                            \"lessThan\": \"b8948ac26efc395264a47f9a743889065adb5cff\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"sound/soc/mediatek/mt8365/mt8365-afe-pcm.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.12\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.12\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.111\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.53\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://git.kernel.org/stable/c/f87707bc0406fe92bc142a9eee5f480c94ce9ff8","https://git.kernel.org/stable/c/1094d83ad325829acd68e63147793536060a0d60","https://git.kernel.org/stable/c/b8948ac26efc395264a47f9a743889065adb5cff"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-97414","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-97414","identifiers":["CVE-2026-97414"]},"retained":false,"historicalAffected":[]}],"coverage":[]}