CVE-2022-50736
Unknown Unknown - Not Provided
Out-of-Bounds Access in Linux RDMA siw Causes KASAN Crash

Publication date: 2025-12-24

Last updated on: 2025-12-24

Assigner: kernel.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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-12-24
Last Modified
2025-12-24
Generated
2026-05-07
AI Q&A
2025-12-24
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability in the Linux kernel's RDMA/siw component involves incorrect handling of immediate work request flushing when the queue pair (QP) is in an ERROR state. Specifically, an undefined opcode value leads to out-of-bounds array access during opcode mapping between siw internal and RDMA core representations, causing a kernel address sanitizer (KASAN) global out-of-bounds bug. Additionally, if the completion queue (CQ) is memory mapped to user space, a malicious user could write undefined values for completion queue elements' status or opcode, potentially triggering similar out-of-bounds accesses.


How can this vulnerability impact me? :

The vulnerability can lead to out-of-bounds memory access in the kernel, which may cause system instability, crashes, or potentially allow a malicious user to manipulate kernel memory if they have access to the memory-mapped completion queue. This could result in denial of service or other unpredictable behavior in systems using the affected RDMA/siw functionality.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart