# CVE-2021-47286: bus: mhi: core: Validate channel ID when processing command completions

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-05-21T14:34:47.372Z
- Modified: 2026-06-17T04:17:06.453Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1d3173a3bae7039b765a0956e3e4bf846dbaacb8 before 3efec3b4b16fc7af25676a94230a8ab2a3bb867c; from 1d3173a3bae7039b765a0956e3e4bf846dbaacb8 before aed4f5b51aba41e2afd7cfda20a0571a6a67dfe9; from 1d3173a3bae7039b765a0956e3e4bf846dbaacb8 before 546362a9ef2ef40b57c6605f14e88ced507f8dd0; 5.7 (not affected: before 5.7; from 5.10.54 up to 5.10.*; from 5.13.6 up to 5.13.*; from 5.14 up to *)
- linux linux_kernel: from 5.7 before 5.10.54; from 5.11 before 5.13.6; 5.14

## References

- <https://git.kernel.org/stable/c/3efec3b4b16fc7af25676a94230a8ab2a3bb867c> (patch)
- <https://git.kernel.org/stable/c/aed4f5b51aba41e2afd7cfda20a0571a6a67dfe9> (patch)
- <https://git.kernel.org/stable/c/546362a9ef2ef40b57c6605f14e88ced507f8dd0> (patch)

## Sources

- CVE List: [CVE-2021-47286](https://www.cve.org/CVERecord?id=CVE-2021-47286), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-47286](https://nvd.nist.gov/vuln/detail/CVE-2021-47286), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47286 · Whole record: https://cve.day/CVE-2021-47286.json · Rebuilt by cve.day 2026-11-25T22:58:08.777Z
