{"id":"CVE-2026-143244","state":"PUBLISHED","title":"ASoC: SOF: amd: guard adata->sdw dereferences with NULL check in IRQ handler","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: SOF: amd: guard adata->sdw dereferences with NULL check in IRQ handler\n\nThe ACP external IRQ handler is registered before sdw_amd_probe() assigns\nadata->sdw, so a stray interrupt in the probe window could reach the\nadata->sdw->pdev[i] dereference with adata->sdw still NULL.\n\nThe same window exists on the teardown side: after sdw_amd_exit() frees\nthe context but before adata->sdw is cleared by the caller.\n\nAdd NULL checks for adata->sdw in acp_irq_handler() before dereferencing\n->pdev[0] and ->pdev[1], and in amd_sof_handle_acp70_sdw_wake_event() for\nthe same reason.  The interrupt-status register write that acknowledges the\nIRQ is kept outside the guard so the hardware bit is always cleared\nregardless of whether the SoundWire context is live.","publishedAt":"2026-12-03T09:20:55.642Z","updatedAt":"2026-12-03T09:20:55.642Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"96eb818510120a869711876026ca7c0aa2b4171e","status":"affected","lessThan":"b0641053416dbe5f3589a3c64bb268592b898b4e","versionType":"git"},{"version":"96eb818510120a869711876026ca7c0aa2b4171e","status":"affected","lessThan":"22954ad665a1de71012fc5a37e3078ed44efb051","versionType":"git"},{"version":"96eb818510120a869711876026ca7c0aa2b4171e","status":"affected","lessThan":"c6b7786081211e49f62e553a01083f080a0907a6","versionType":"git"},{"version":"96eb818510120a869711876026ca7c0aa2b4171e","status":"affected","lessThan":"34ea81a7f284a13d825279fdede36b7f793f9936","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/sof/amd/acp.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.9","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/sof/amd/acp.c"]}],"references":["https://git.kernel.org/stable/c/b0641053416dbe5f3589a3c64bb268592b898b4e","https://git.kernel.org/stable/c/22954ad665a1de71012fc5a37e3078ed44efb051","https://git.kernel.org/stable/c/c6b7786081211e49f62e553a01083f080a0907a6","https://git.kernel.org/stable/c/34ea81a7f284a13d825279fdede36b7f793f9936"],"weaknesses":[],"ingestedAt":"2026-12-03T09:42:04.348Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143244.json","commit":"9e309c7c0f08856e2558a1df33f75dca027fab70","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143244","state":"PUBLISHED","datePublished":"2026-12-03T09:20:55.642Z","dateUpdated":"2026-12-03T09:20:55.642Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.362Z"},"containers":{"cna":{"title":"ASoC: SOF: amd: guard adata->sdw dereferences with NULL check in IRQ handler","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: SOF: amd: guard adata->sdw dereferences with NULL check in IRQ handler\n\nThe ACP external IRQ handler is registered before sdw_amd_probe() assigns\nadata->sdw, so a stray interrupt in the probe window could reach the\nadata->sdw->pdev[i] dereference with adata->sdw still NULL.\n\nThe same window exists on the teardown side: after sdw_amd_exit() frees\nthe context but before adata->sdw is cleared by the caller.\n\nAdd NULL checks for adata->sdw in acp_irq_handler() before dereferencing\n->pdev[0] and ->pdev[1], and in amd_sof_handle_acp70_sdw_wake_event() for\nthe same reason.  The interrupt-status register write that acknowledges the\nIRQ is kept outside the guard so the hardware bit is always cleared\nregardless of whether the SoundWire context is live."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"96eb818510120a869711876026ca7c0aa2b4171e","status":"affected","lessThan":"b0641053416dbe5f3589a3c64bb268592b898b4e","versionType":"git"},{"version":"96eb818510120a869711876026ca7c0aa2b4171e","status":"affected","lessThan":"22954ad665a1de71012fc5a37e3078ed44efb051","versionType":"git"},{"version":"96eb818510120a869711876026ca7c0aa2b4171e","status":"affected","lessThan":"c6b7786081211e49f62e553a01083f080a0907a6","versionType":"git"},{"version":"96eb818510120a869711876026ca7c0aa2b4171e","status":"affected","lessThan":"34ea81a7f284a13d825279fdede36b7f793f9936","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/sof/amd/acp.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.9","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/sof/amd/acp.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/b0641053416dbe5f3589a3c64bb268592b898b4e"},{"url":"https://git.kernel.org/stable/c/22954ad665a1de71012fc5a37e3078ed44efb051"},{"url":"https://git.kernel.org/stable/c/c6b7786081211e49f62e553a01083f080a0907a6"},{"url":"https://git.kernel.org/stable/c/34ea81a7f284a13d825279fdede36b7f793f9936"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:20:55.642Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"7.4-rc3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}