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: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Immediate Patch
AI Analysis

Impact

The vulnerability lies in the Media Subsystem of the Linux kernel, where the Mediatek mt8365‑AFE PCM driver’s suspend routine allocates a buffer with devm_kcalloc() but does not verify the allocation succeeded before using the returned pointer. If the allocation fails, the driver dereferences a null pointer when accessing afe->reg_back_up[i], which can cause a kernel panic and a system crash. This defect is a classic NULL Pointer Dereference (CWE‑476). The failure does not provide execution of arbitrary code but can crash the operating system, resulting in a denial of service for the host.

Affected Systems

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

Risk and Exploitability

The CVSS score of 5.5 indicates a medium severity, and the EPSS score of less than 1% indicates a very low exploitation probability. The kernel crash is a high‑impact event, which would lead to a denial of service if an attacker can trigger a suspend operation on the device. The vulnerability is not listed in CISA KEV, suggesting no known active exploitation. An attacker would need local or elevated privileges to induce the suspend sequence, so widespread remote exploitation is unlikely, but privileged users could bring the system down by forcing a suspend. The likely attack vector is local execution or privilege escalation that can trigger suspend operations; this inference is based on the description that the exploit requires a suspend action.

Generated by OpenCVE AI on October 1, 2026 at 17:09 UTC.

Remediation

No solution or workaround provided in the CVE record.

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 October 1, 2026 at 17:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4817-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6528-1 linux security update
History

Tue, 29 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


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-25T12:43:49.195Z

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-25T13:17:24.943

Link: CVE-2026-97414

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-24T00:00:00Z

Links: CVE-2026-97414 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T17:15:10Z

Weaknesses