CVE-2022-50871
published high CVSS 3.1 · 7.8wifi: ath11k: Fix qmi_msg_handler data structure initialization
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxd5c65159f2895379e11ca13f62feabe93278985d to < d5d71de448f36e34592f7c81b5e300d3e8dbb735 · d5c65159f2895379e11ca13f62feabe93278985d to < a10e1530c424bb277b4edc7def0195857a548495 · d5c65159f2895379e11ca13f62feabe93278985d to < ed3725e15a154ebebf44e0c34806c57525483f92 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.6 (affected) · 0 to < 5.6 (unaffected · semver) · 6.0.16 through 6.0.* (unaffected · semver) · 6.1.2 through 6.1.* (unaffected · semver) · 6.2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: wifi: ath11k: Fix qmi_msg_handler data structure initialization qmi_msg_handler is required to be null terminated by QMI module. There might be a case where a handler for a msg id is not present in the handlers array which can lead to infinite loop while searching the handler and therefore out of bound access in qmi_invoke_handler(). Hence update the initialization in qmi_msg_handler data structure. Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.5.0.1-01100-QCAHKSWPL_SILICONZ-1
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The bug is in ath11k QMI indication handling over AF_QIPCRTR; QRTR delivers datagrams to the QMI client port with no connected-peer filter, so an unprivileged local process can send a crafted QMI message and reach qmi_invoke_handler(). This is host IPC, not WiFi frame processing, so Adjacent/Network do not apply. AC:L - The attacker only needs to send a QMI indication/request with a msg_id absent from ath11k_qmi_msg_handlers[]; the missing null terminator makes the OOB walk deterministic. Discovering the client port (ephemeral QRTR range) is fully under attacker control. PR:L - AF_QIPCRTR sockets can be created and bound to ephemeral ports without privileges; no CAP_NET_ADMIN is required to send to another local QRTR port. Real root is not required. UI:N - Exploitation is a direct local send to the ath11k QMI socket; no victim action is required. S:U - Impact is confined to the host kernel's memory/control-flow integrity; there is no VM/IOMMU/security-authority boundary crossing. C:H - qmi_invoke_handler() performs an unbounded out-of-bounds read of adjacent kernel memory while scanning for a handler, and a crafted type/msg_id can select a false adjacent handler entry, enabling further disclosure primitives. I:H - Matching an out-of-bounds handler descriptor can invoke a garbage function pointer and/or run qmi_decode_message() with attacker-influenced ei/decoded_size, yielding memory corruption and control-flow hijack potential. A:H - The same path can soft-lock in an unbounded scan, oops on unmapped access, or crash when a bogus handler is invoked, as confirmed by the sibling ath12k KASAN global-OOB report for the identical terminator bug.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | d5c65159f2895379e11ca13f62feabe93278985d to < d5d71de448f36e34592f7c81b5e300d3e8dbb735 (affected · git)d5c65159f2895379e11ca13f62feabe93278985d to < a10e1530c424bb277b4edc7def0195857a548495 (affected · git)d5c65159f2895379e11ca13f62feabe93278985d to < ed3725e15a154ebebf44e0c34806c57525483f92 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.6 (affected)0 to < 5.6 (unaffected · semver)6.0.16 through 6.0.* (unaffected · semver)6.1.2 through 6.1.* (unaffected · semver)6.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
2Linux · cna
wifi: ath11k: Fix qmi_msg_handler data structure initialization
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b1541c68987fe9c5c8f63838a7b313e21c01a3f7eedb56bf0508cf024e60e188
- Ingested
- 15 Oct 2026, 23:26:24 UTC
- Source record
- Official CVE record