# CVE-2022-50044: net: qrtr: start MHI channel after endpoit creation

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.7
- **CVSS:** 4.7 (v3.1, NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 5, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2025-06-18T11:01:45.296Z
- **Modified:** 2026-06-17T05:22:37.813Z

## Who should check

- Anyone running Linux \>= a2e2cc0dbb1121dfa875da1c04f3dff966fec162, \< c682fb70a7dfc25b848a4ff3a385b0471b470606; \>= a2e2cc0dbb1121dfa875da1c04f3dff966fec162, \< a1a75f78a2937567946b1b756f82462874b5ca20; \>= a2e2cc0dbb1121dfa875da1c04f3dff966fec162, \< 68a838b84effb7b57ba7d50b1863fc6ae35a54ce
- Anyone running Linux 5.11

## Description

In the Linux kernel, the following vulnerability has been resolved:

net: qrtr: start MHI channel after endpoit creation

MHI channel may generates event/interrupt right after enabling.
It may leads to 2 race conditions issues.

1)
Such event may be dropped by qcom\_mhi\_qrtr\_dl\_callback() at check:

	if (!qdev \|\| mhi\_res-\>transaction\_status)
		return;

Because dev\_set\_drvdata(&mhi\_dev-\>dev, qdev) may be not performed at
this moment. In this situation qrtr-ns will be unable to enumerate
services in device.
---------------------------------------------------------------

2)
Such event may come at the moment after dev\_set\_drvdata() and
before qrtr\_endpoint\_register(). In this case kernel will panic with
accessing wrong pointer at qcom\_mhi\_qrtr\_dl\_callback():

	rc = qrtr\_endpoint\_post(&qdev-\>ep, mhi\_res-\>buf\_addr,
				mhi\_res-\>bytes\_xferd);

Because endpoint is not created yet.
--------------------------------------------------------------
So move mhi\_prepare\_for\_transfer\_autoqueue after endpoint creation
to fix it.

## Affected and fixed versions

- Linux: \>= a2e2cc0dbb1121dfa875da1c04f3dff966fec162, \< c682fb70a7dfc25b848a4ff3a385b0471b470606; \>= a2e2cc0dbb1121dfa875da1c04f3dff966fec162, \< a1a75f78a2937567946b1b756f82462874b5ca20; \>= a2e2cc0dbb1121dfa875da1c04f3dff966fec162, \< 68a838b84effb7b57ba7d50b1863fc6ae35a54ce (cvelist)
- Linux: 5.11 (cvelist)

## Mitigation

- Upgrade Linux to 68a838b84effb7b57ba7d50b1863fc6ae35a54ce or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-50044. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50044.md
Affected: Linux >= a2e2cc0dbb1121dfa875da1c04f3dff966fec162, < c682fb70a7dfc25b848a4ff3a385b0471b470606; >= a2e2cc0dbb1121dfa875da1c04f3dff966fec162, < a1a75f78a2937567946b1b756f82462874b5ca20; >= a2e2cc0dbb1121dfa875da1c04f3dff966fec162, < 68a838b84effb7b57ba7d50b1863fc6ae35a54ce; Linux 5.11
Fixed in: Linux 68a838b84effb7b57ba7d50b1863fc6ae35a54ce

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-50044 being exploited?

There is no confirmed exploitation: CVE-2022-50044 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-50044?

Medium: CVSS 4.7 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2022-50044?

Linux \>= a2e2cc0dbb1121dfa875da1c04f3dff966fec162, \< c682fb70a7dfc25b848a4ff3a385b0471b470606; \>= a2e2cc0dbb1121dfa875da1c04f3dff966fec162, \< a1a75f78a2937567946b1b756f82462874b5ca20; \>= a2e2cc0dbb1121dfa875da1c04f3dff966fec162, \< 68a838b84effb7b57ba7d50b1863fc6ae35a54ce; Linux 5.11.

### Is there a fix for CVE-2022-50044?

Yes. Fixed in Linux 68a838b84effb7b57ba7d50b1863fc6ae35a54ce. Upgrade Linux to 68a838b84effb7b57ba7d50b1863fc6ae35a54ce or later.

### How do I check if I'm affected by CVE-2022-50044?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/c682fb70a7dfc25b848a4ff3a385b0471b470606>
- patch: <https://git.kernel.org/stable/c/a1a75f78a2937567946b1b756f82462874b5ca20>
- patch: <https://git.kernel.org/stable/c/68a838b84effb7b57ba7d50b1863fc6ae35a54ce>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-50044>

HTML: <https://flawdb.com/CVE-2022-50044> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-50044>
