{"id":"CVE-2025-40132","state":"PUBLISHED","title":"ASoC: Intel: sof_sdw: Prevent jump to NULL add_sidecar callback","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: Intel: sof_sdw: Prevent jump to NULL add_sidecar callback\n\nIn create_sdw_dailink() check that sof_end->codec_info->add_sidecar\nis not NULL before calling it.\n\nThe original code assumed that if include_sidecar is true, the codec\non that link has an add_sidecar callback. But there could be other\ncodecs on the same link that do not have an add_sidecar callback.","publishedAt":"2025-11-12T10:23:22.195Z","updatedAt":"2026-05-11T21:43:22.276Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"da5244180281a18c4c7859674fec308514aaf629","status":"affected","lessThan":"aea038062edfca9c6e5ddcecd4611d5a80113b4e","versionType":"git"},{"version":"da5244180281a18c4c7859674fec308514aaf629","status":"affected","lessThan":"a5416c0fc9e77b69f853dfb1e78bc05a7c06a789","versionType":"git"},{"version":"da5244180281a18c4c7859674fec308514aaf629","status":"affected","lessThan":"87cab86925b7fa4c1c977bc191ac549a3b23f0ea","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/intel/boards/sof_sdw.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.10","versionType":"semver"},{"version":"6.12.53","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.17.3","status":"unaffected","lessThanOrEqual":"6.17.*","versionType":"semver"},{"version":"6.18","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/intel/boards/sof_sdw.c"]}],"references":["https://git.kernel.org/stable/c/aea038062edfca9c6e5ddcecd4611d5a80113b4e","https://git.kernel.org/stable/c/a5416c0fc9e77b69f853dfb1e78bc05a7c06a789","https://git.kernel.org/stable/c/87cab86925b7fa4c1c977bc191ac549a3b23f0ea"],"weaknesses":[],"ingestedAt":"2026-10-29T20:09:09.358Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/40xxx/CVE-2025-40132.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-40132","state":"PUBLISHED","datePublished":"2025-11-12T10:23:22.195Z","dateUpdated":"2026-05-11T21:43:22.276Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-04-16T07:20:57.170Z"},"containers":{"cna":{"title":"ASoC: Intel: sof_sdw: Prevent jump to NULL add_sidecar callback","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: Intel: sof_sdw: Prevent jump to NULL add_sidecar callback\n\nIn create_sdw_dailink() check that sof_end->codec_info->add_sidecar\nis not NULL before calling it.\n\nThe original code assumed that if include_sidecar is true, the codec\non that link has an add_sidecar callback. But there could be other\ncodecs on the same link that do not have an add_sidecar callback."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"da5244180281a18c4c7859674fec308514aaf629","status":"affected","lessThan":"aea038062edfca9c6e5ddcecd4611d5a80113b4e","versionType":"git"},{"version":"da5244180281a18c4c7859674fec308514aaf629","status":"affected","lessThan":"a5416c0fc9e77b69f853dfb1e78bc05a7c06a789","versionType":"git"},{"version":"da5244180281a18c4c7859674fec308514aaf629","status":"affected","lessThan":"87cab86925b7fa4c1c977bc191ac549a3b23f0ea","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/intel/boards/sof_sdw.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.10","versionType":"semver"},{"version":"6.12.53","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.17.3","status":"unaffected","lessThanOrEqual":"6.17.*","versionType":"semver"},{"version":"6.18","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/intel/boards/sof_sdw.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/aea038062edfca9c6e5ddcecd4611d5a80113b4e"},{"url":"https://git.kernel.org/stable/c/a5416c0fc9e77b69f853dfb1e78bc05a7c06a789"},{"url":"https://git.kernel.org/stable/c/87cab86925b7fa4c1c977bc191ac549a3b23f0ea"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T21:43:22.276Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.12.53"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.17.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.18"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}