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.
Published: 2026-09-24
Score: n/a
EPSS: n/a
KEV: No
Impact: Denial of Service
Action: Immediate Patch
AI Analysis

Impact

In the Linux kernel’s Media Subsystem, the Mediatek mt8365‑AFE PCM device contains a subtle bug: the mt8365_afe_suspend() routine allocates a buffer with devm_kcalloc() but never verifies that the allocation succeeded before dereferencing the resulting pointer. If the allocation fails, the kernel performs a null pointer dereference when accessing afe->reg_back_up[i], causing a kernel panic or crash. This failure is not a remote code execution vector; it merely disrupts the operating system, leading to a denial of service that can affect the entire machine. The weakness is a classic NULL Pointer Dereference (CWE‑476).

Affected Systems

The fault resides in the ASoC driver for Mediatek MT8365, part of the Linux kernel’s audio subsystem. All kernel builds that include the mt8365‑AFE PCM driver before the patch are affected. The specific kernel versions are not enumerated in the advisory, so any system running a kernel that compiles this driver is potentially impacted. The vendor is the Linux Kernel project, product Linux Kernel.

Risk and Exploitability

The advisory does not list an EPSS score; its exploit probability is unknown but the kernel crash is a high‑impact event. The vulnerability is not listed in CISA KEV, suggesting no known active exploitation. The attack can only succeed when an attacker can trigger a suspend operation on the device, which typically requires local or elevated privileges. Consequently, the risk is moderate: privileged users can cause a denial of service by forcing a suspend, but widespread remote exploitation is unlikely.

Generated by OpenCVE AI on September 25, 2026 at 03:40 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that contains the official fix or backport the commit identified in the kernel patch set.
  • If a kernel update cannot be applied immediately, avoid invoking suspend operations on the Mediatek MT8365 AFE device until the patch is deployed; alternately disable the device from auto‑suspend in the system configuration.
  • Ensure that all future allocations in kernel drivers include explicit NULL checks and that error returns are propagated up the call stack, preventing silent failures that could lead to crashes.

Generated by OpenCVE AI on September 25, 2026 at 03:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 25 Sep 2026 04:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Thu, 24 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
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.
Title ASoC: mediatek: mt8365-afe-pcm: fix possible NULL-pointer dereferences in mt8365_afe_suspend()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-24T16:03:21.936Z

Reserved: 2026-09-24T14:53:16.867Z

Link: CVE-2026-97414

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-24T17:17:19.103

Modified: 2026-09-24T17:17:19.103

Link: CVE-2026-97414

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-25T03:45:15Z

Weaknesses