# CVE-2026-97414: ASoC: mediatek: mt8365-afe-pcm: fix possible NULL-pointer dereferences in mt8365_afe_suspend()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-09-24T16:03:21.936Z
- Modified: 2026-09-25T13:17:24.943Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

ASoC: mediatek: mt8365-afe-pcm: fix possible NULL-pointer dereferences in mt8365_afe_suspend()

mt8365_afe_suspend() allocates the register backup buffer with
devm_kcalloc(), but does not check for allocation failure before using the
returned pointer. This may lead to a NULL pointer dereference when
accessing afe->reg_back_up[i].

Add the missing NULL check and return -ENOMEM on allocation failure after
disabling the main clock.

Also propagate the return value of mt8365_afe_suspend() in
mt8365_afe_dev_runtime_suspend() so that the suspended state is not updated
when suspend fails.

(As written by CVE List.)

## Affected

- Linux Linux: from e1991d102bc2abb32331c462f8f3e77059c69578 before f87707bc0406fe92bc142a9eee5f480c94ce9ff8; from e1991d102bc2abb32331c462f8f3e77059c69578 before 1094d83ad325829acd68e63147793536060a0d60; from e1991d102bc2abb32331c462f8f3e77059c69578 before b8948ac26efc395264a47f9a743889065adb5cff; 6.12 (not affected: before 6.12; from 6.12.111 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/f87707bc0406fe92bc142a9eee5f480c94ce9ff8>
- <https://git.kernel.org/stable/c/1094d83ad325829acd68e63147793536060a0d60>
- <https://git.kernel.org/stable/c/b8948ac26efc395264a47f9a743889065adb5cff>

## Sources

- CVE List: [CVE-2026-97414](https://www.cve.org/CVERecord?id=CVE-2026-97414), CVE Terms of Use, modified 2026-09-25
- NVD: [CVE-2026-97414](https://nvd.nist.gov/vuln/detail/CVE-2026-97414), Public domain, modified 2026-09-25

---

Page: https://cve.day/CVE-2026-97414 · Whole record: https://cve.day/CVE-2026-97414.json · Rebuilt by cve.day 2026-11-25T22:59:40.845Z
