Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-143244

ASoC: SOF: amd: guard adata->sdw dereferences with NULL check in IRQ handler

Description

In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: amd: guard adata->sdw dereferences with NULL check in IRQ handler The ACP external IRQ handler is registered before sdw_amd_probe() assigns adata->sdw, so a stray interrupt in the probe window could reach the adata->sdw->pdev[i] dereference with adata->sdw still NULL. The same window exists on the teardown side: after sdw_amd_exit() frees the context but before adata->sdw is cleared by the caller. Add NULL checks for adata->sdw in acp_irq_handler() before dereferencing ->pdev[0] and ->pdev[1], and in amd_sof_handle_acp70_sdw_wake_event() for the same reason. The interrupt-status register write that acknowledges the IRQ is kept outside the guard so the hardware bit is always cleared regardless of whether the SoundWire context is live.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 96eb818510120a869711876026ca7c0aa2b4171e to < b0641053416dbe5f3589a3c64bb268592b898b4eaffected
  • 96eb818510120a869711876026ca7c0aa2b4171e to < 22954ad665a1de71012fc5a37e3078ed44efb051affected
  • 96eb818510120a869711876026ca7c0aa2b4171e to < c6b7786081211e49f62e553a01083f080a0907a6affected
  • 96eb818510120a869711876026ca7c0aa2b4171e to < 34ea81a7f284a13d825279fdede36b7f793f9936affected

Linux Linux

Default version status: affected

  • 6.9affected
  • 0 to < 6.9unaffected
  • 6.12.120 to ≤ 6.12.*unaffected
  • 6.18.66 to ≤ 6.18.*unaffected
  • 7.3.7 to ≤ 7.3.*unaffected
  • 7.4-rc3 to ≤ *unaffected

References