bus: mhi: core: Validate channel ID when processing command completions
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
5.10.545.13.65.14In the Linux kernel, the following vulnerability has been resolved:
bus: mhi: core: Validate channel ID when processing command completions
MHI reads the channel ID from the event ring element sent by the device which can be any value between 0 and 255. In order to prevent any out of bound accesses, add a check against the maximum number of channels supported by the controller and those channels not configured yet so as to skip processing of that event ring element.
From the CVE record · Linux
The Linux kernel's MHI core did not validate channel IDs in command-completion events against the controller's supported and configured channels. A device can send a channel ID that causes an out-of-bounds access. The input does not specify authentication or user-interaction requirements.
Anyone running a Linux kernel with MHI support should check whether their kernel is affected; affected versions are not specified.