Input: ims-pcu - fix race condition in reset_device sysfs callback
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 628329d52474323938a03826941e166bc7c8eff4 · < 411b8c4b274737c3bf08e1e025801161603cfffc| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
Input: ims-pcu - fix race condition in reset_device sysfs callback
The ims_pcu_reset_device() sysfs callback calls ims_pcu_execute_command() without acquiring pcu->cmd_mutex. This can lead to data races and corruption of the shared command buffer if triggered concurrently with other commands.
Acquire pcu->cmd_mutex before calling ims_pcu_execute_command().
From the CVE record · Linux
The ims-pcu reset_device sysfs callback does not acquire the command mutex before executing a command. A local user able to trigger the callback concurrently with other commands may cause data races and corruption of the shared command buffer. The input does not specify authentication requirements.
Engineers running the Linux kernel with the ims-pcu driver should check their affected versions; no version range is provided.