Re: [PATCH] platform/x86: intel: punit_ipc: fix memory corruption
From: Andy Shevchenko
Date: Mon Nov 24 2025 - 02:17:58 EST
On Fri, Nov 21, 2025 at 04:34:22PM +0300, Dan Carpenter wrote:
> This passes a stack address to the IRQ handler, "&punit_ipcdev" vs
> "punit_ipcdev" without the ampersand. This means that the:
>
> complete(&ipcdev->cmd_complete);
>
> in intel_punit_ioc() will corrupt the wrong memory.
Good catch, now the question, how this driver was ever tested?..
--
With Best Regards,
Andy Shevchenko