[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aSQGlLXYTWzus5e-@smile.fi.intel.com>
Date: Mon, 24 Nov 2025 09:17:40 +0200
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Dan Carpenter <dan.carpenter@...aro.org>
Cc: Qipeng Zha <qipeng.zha@...el.com>, Hans de Goede <hansg@...nel.org>,
Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>,
Darren Hart <dvhart@...ux.intel.com>,
platform-driver-x86@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] platform/x86: intel: punit_ipc: fix memory corruption
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
Powered by blists - more mailing lists