CVE-2022-50736

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

State
Published
Severity
7.1 High
Published
Dec 24, 2025
Updated
Aug 5, 2026
Reserved
Dec 24, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b to before 6af043089d3f1210776d19b6fdabea610d4c7699Affected
  • 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b to before 75af03fdf35acf15a3977f7115f6b8d10dff4bc7Affected
  • 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b to before f8d8fbd3b6d6cc3f25790cca5cffe8ded512fef6Affected
  • 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b to before 355d2eca68c10d713a42f68e62044b3d1c300471Affected
  • 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b to before f3d26a8589dfdeff328779b511f71fb90b10005eAffected
  • 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b to before bdf1da5df9da680589a7f74448dd0a94dd3e1446Affected
LinuxLinux
  • 5.3Affected
  • before 5.3Not affected
  • 5.4.229 through 5.4.*Not affected
  • 5.10.163 through 5.10.*Not affected
  • 5.15.86 through 5.15.*Not affected
  • 6.0.16 through 6.0.*Not affected
  • 6.1.2 through 6.1.*Not affected
  • 6.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.