linux-yocto/drivers/platform/x86/intel
Dan Carpenter 3e7442c580 platform/x86: intel: punit_ipc: fix memory corruption
[ Upstream commit 9b9c0adbc3 ]

This passes the address of the pointer "&punit_ipcdev" when the intent
was to pass the pointer itself "punit_ipcdev" (without the ampersand).
This means that the:

	complete(&ipcdev->cmd_complete);

in intel_punit_ioc() will write to a wrong memory address corrupting it.

Fixes: fdca4f16f5 ("platform:x86: add Intel P-Unit mailbox IPC driver")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://patch.msgid.link/aSCmoBipSQ_tlD-D@stanley.mountain
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-12-07 06:18:48 +09:00
..
atomisp2
ifs x86/microcode/intel: Rework intel_find_matching_signature() 2025-03-07 16:45:51 +01:00
int1092
int3472
pmc platform/x86/intel: pmc: fix ltr decode in pmc_core_ltr_show() 2025-03-22 12:50:40 -07:00
pmt
speed_select_if platform/x86/intel/speed_select_if: Convert PCIBIOS_* return codes to errnos 2025-12-01 11:41:47 +01:00
telemetry
uncore-frequency platform/x86/intel-uncore-freq: Fail module load when plat_info is NULL 2025-06-27 11:08:59 +01:00
wmi
bxtwc_tmu.c
bytcrc_pwrsrc.c
chtdc_ti_pwrbtn.c
chtwc_int33fe.c
crystal_cove_charger.c
hid.c platform/x86: intel-hid: fix volume buttons on Microsoft Surface Go 4 tablet 2025-04-10 14:37:37 +02:00
int0002_vgpio.c
ishtp_eclite.c
Kconfig
Makefile
mrfld_pwrbtn.c
oaktrail.c
punit_ipc.c platform/x86: intel: punit_ipc: fix memory corruption 2025-12-07 06:18:48 +09:00
rst.c
sdsi.c
smartconnect.c
tpmi.c
turbo_max_3.c
vbtn.c
vsec.c platform/x86/intel/vsec: Add Diamond Rapids support 2025-04-10 14:37:37 +02:00
vsec.h