# CVE-2022-50736: RDMA/siw: Fix immediate work request flush to completion queue

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

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; 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.22% (percentile 7, 2026-11-26)
- **Published:** 2025-12-24T12:22:54.695Z
- **Modified:** 2026-08-05T08:59:32.604Z

## Who should check

- Anyone running Linux \>= 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b, \< 6af043089d3f1210776d19b6fdabea610d4c7699; \>= 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b, \< 75af03fdf35acf15a3977f7115f6b8d10dff4bc7; \>= 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b, \< f8d8fbd3b6d6cc3f25790cca5cffe8ded512fef6; \>= 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b, \< 355d2eca68c10d713a42f68e62044b3d1c300471; \>= 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b, \< f3d26a8589dfdeff328779b511f71fb90b10005e; \>= 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b, \< bdf1da5df9da680589a7f74448dd0a94dd3e1446
- Anyone running Linux 5.3

## Description

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

RDMA/siw: Fix immediate work request flush to completion queue

Correctly set send queue element opcode during immediate work request
flushing in post sendqueue operation, if the QP is in ERROR state.
An undefined ocode value results in out-of-bounds access to an array
for mapping the opcode between siw internal and RDMA core representation
in work completion generation. It resulted in a KASAN BUG report
of type 'global-out-of-bounds' during NFSoRDMA testing.

This patch further fixes a potential case of a malicious user which may
write undefined values for completion queue elements status or opcode,
if the CQ is memory mapped to user land. It avoids the same out-of-bounds
access to arrays for status and opcode mapping as described above.

## Affected and fixed versions

- Linux: \>= 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b, \< 6af043089d3f1210776d19b6fdabea610d4c7699; \>= 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b, \< 75af03fdf35acf15a3977f7115f6b8d10dff4bc7; \>= 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b, \< f8d8fbd3b6d6cc3f25790cca5cffe8ded512fef6; \>= 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b, \< 355d2eca68c10d713a42f68e62044b3d1c300471; \>= 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b, \< f3d26a8589dfdeff328779b511f71fb90b10005e; \>= 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b, \< bdf1da5df9da680589a7f74448dd0a94dd3e1446 (cvelist)
- Linux: 5.3 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-50736.md
Affected: Linux >= 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b, < 6af043089d3f1210776d19b6fdabea610d4c7699; >= 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b, < 75af03fdf35acf15a3977f7115f6b8d10dff4bc7; >= 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b, < f8d8fbd3b6d6cc3f25790cca5cffe8ded512fef6; >= 303ae1cdfdf7280ff4cfbbe…
Fixed in: Linux 6af043089d3f1210776d19b6fdabea610d4c7699, Linux 75af03fdf35acf15a3977f7115f6b8d10dff4bc7, Linux 355d2eca68c10d713a42f68e62044b3d1c300471

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-50736 being exploited?

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

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

High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b, \< 6af043089d3f1210776d19b6fdabea610d4c7699; \>= 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b, \< 75af03fdf35acf15a3977f7115f6b8d10dff4bc7; \>= 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b, \< f8d8fbd3b6d6cc3f25790cca5cffe8ded512fef6; \>= 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b, \< 355d2eca68c10d713a42f68e62044b3d1c300471; \>= 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b, \< f3d26a8589dfdeff328779b511f71fb90b10005e; \>= 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b, \< bdf1da5df9da680589a7f74448dd0a94dd3e1446; Linux 5.3.

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

Yes. Fixed in Linux 6af043089d3f1210776d19b6fdabea610d4c7699, Linux 75af03fdf35acf15a3977f7115f6b8d10dff4bc7, Linux 355d2eca68c10d713a42f68e62044b3d1c300471. No fix listed yet: follow the vendor advisory.

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

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

- other: <https://git.kernel.org/stable/c/6af043089d3f1210776d19b6fdabea610d4c7699>
- other: <https://git.kernel.org/stable/c/75af03fdf35acf15a3977f7115f6b8d10dff4bc7>
- other: <https://git.kernel.org/stable/c/f8d8fbd3b6d6cc3f25790cca5cffe8ded512fef6>
- other: <https://git.kernel.org/stable/c/355d2eca68c10d713a42f68e62044b3d1c300471>
- other: <https://git.kernel.org/stable/c/f3d26a8589dfdeff328779b511f71fb90b10005e>
- other: <https://git.kernel.org/stable/c/bdf1da5df9da680589a7f74448dd0a94dd3e1446>

## 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-50736>

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