# CVE-2021-46969: bus: mhi: core: Fix invalid error returning in mhi_queue

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `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.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2024-02-27T18:47:05.463Z
- Modified: 2026-08-05T08:45:18.172Z
- Weaknesses: CWE-416
- 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: Fix invalid error returning in mhi_queue

mhi_queue returns an error when the doorbell is not accessible in
the current state. This can happen when the device is in non M0
state, like M3, and needs to be waken-up prior ringing the DB. This
case is managed earlier by triggering an asynchronous M3 exit via
controller resume/suspend callbacks, that in turn will cause M0
transition and DB update.

So, since it's not an error but just delaying of doorbell update, there
is no reason to return an error.

This also fixes a use after free error for skb case, indeed a caller
queuing skb will try to free the skb if the queueing fails, but in
that case queueing has been done.

(As written by CVE List.)

## Affected

- Linux Linux: from a8f75cb348fd52e7a5cf25991cdf9c89fb0cfd41 before a99b661c3187365f81026d89b1133a76cd2652b3; from a8f75cb348fd52e7a5cf25991cdf9c89fb0cfd41 before 0ecc1c70dcd32c0f081b173a1a5d89952686f271; 5.12 (not affected: before 5.12; from 5.12.3 up to 5.12.*; from 5.13 up to *)
- linux linux_kernel: from 5.12 before 5.12.3

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/a99b661c3187365f81026d89b1133a76cd2652b3> (patch)
- <https://git.kernel.org/stable/c/0ecc1c70dcd32c0f081b173a1a5d89952686f271> (patch)

## Sources

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

---

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