diff options
| author | Dan Carpenter <dan.carpenter@linaro.org> | 2025-11-21 20:51:28 +0300 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2025-11-24 15:03:22 +0200 |
| commit | 9b9c0adbc3f8a524d291baccc9d0c04097fb4869 (patch) | |
| tree | 3d25b4bc3a8edbea2f9e53f9684fe7922d57c281 /scripts/extract-fwblobs | |
| parent | 752630cb8c62abca0407f96cc7baa2e13335cd15 (diff) | |
| download | linux-9b9c0adbc3f8a524d291baccc9d0c04097fb4869.tar.gz | |
platform/x86: intel: punit_ipc: fix memory corruption
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: fdca4f16f57d ("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>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions
