CVE-2025-40132

Summary

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.

Affected Software

VendorProductVersion RangeStatus
LinuxLinuxda5244180281a18c4c7859674fec308514aaf629 < aea038062edfca9c6e5ddcecd4611d5a80113b4eaffected
LinuxLinuxda5244180281a18c4c7859674fec308514aaf629 < a5416c0fc9e77b69f853dfb1e78bc05a7c06a789affected
LinuxLinuxda5244180281a18c4c7859674fec308514aaf629 < 87cab86925b7fa4c1c977bc191ac549a3b23f0eaaffected
LinuxLinux6.10affected
LinuxLinux0 < 6.10unaffected
LinuxLinux6.12.53 <= 6.12.*unaffected
LinuxLinux6.17.3 <= 6.17.*unaffected
LinuxLinux6.18 <= *unaffected

Weaknesses

References