CVE Database›CVE-2025-40132

CVE-2025-40132

kernel: ASoC: Intel: sof_sdw: Prevent jump to NULL add_sidecar callback

Loading…

Severity

Moderate

Red Hat Product Security

6.2

CVSS 3.1

Review impact separately from score.

Published · November 12, 2025

Updated · June 30, 2026

Description

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

ASoC: Intel: sof_sdw: Prevent jump to NULL add_sidecar callback

In create_sdw_dailink() check that sof_end->codec_info->add_sidecar is not NULL before calling it.

The original code assumed that if include_sidecar is true, the codec on that link has an add_sidecar callback. But there could be other codecs on the same link that do not have an add_sidecar callback.

Statement

This vulnerability in sof_sdw allows a NULL function-pointer call when create_sdw_dailink() assumes that any codec on a link with include_sidecar set will always provide a non-NULL add_sidecar callback. On affected Intel SOF + SoundWire platforms, a specially crafted or unlucky codec configuration can cause the kernel to jump through a NULL callback and panic, leading to a local denial of service.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 6.2
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CWE-476 · NULL Pointer Dereference