platform/x86: intel: punit_ipc: fix memory corruption
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ fdca4f16f57da76a8e68047923588a87d1c01f0a · < 9b9c0adbc3f8a524d291baccc9d0c04097fb4869| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
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.
From the CVE record · Linux
The Linux kernel's Intel punit_ipc code passes the address of a pointer instead of the pointer itself, causing a completion operation to write to the wrong memory address. The input does not specify how an attacker could trigger this, whether authentication or user interaction is required, or whether access is local or network-based.
Engineers running the Linux kernel should check whether their kernel includes the affected Intel punit_ipc code; affected versions are not specified.