Re: [PATCH] platform/x86: intel: punit_ipc: fix memory corruption
From: Dan Carpenter
Date: Fri Nov 21 2025 - 12:51:52 EST
On Fri, Nov 21, 2025 at 07:27:54PM +0200, Ilpo Järvinen wrote:
> On Fri, 21 Nov 2025, Dan Carpenter wrote:
>
> > This passes a stack address to the IRQ handler, "&punit_ipcdev" vs
>
> This first part I don't get, why you think &punit_ipcdev is a stack
> address? The punit_ipcdev variable is defined in the global scope:
>
> static IPC_DEV *punit_ipcdev;
Ah, right. Sorry. I thought it was a local variable.
Yeah. Let me resend this.
regards,
dan carpenter