{"id":"CVE-2022-50736","summary":"RDMA/siw: Fix immediate work request flush to completion queue","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/siw: Fix immediate work request flush to completion queue\n\nCorrectly set send queue element opcode during immediate work request\nflushing in post sendqueue operation, if the QP is in ERROR state.\nAn undefined ocode value results in out-of-bounds access to an array\nfor mapping the opcode between siw internal and RDMA core representation\nin work completion generation. It resulted in a KASAN BUG report\nof type 'global-out-of-bounds' during NFSoRDMA testing.\n\nThis patch further fixes a potential case of a malicious user which may\nwrite undefined values for completion queue elements status or opcode,\nif the CQ is memory mapped to user land. It avoids the same out-of-bounds\naccess to arrays for status and opcode mapping as described above.","modified":"2026-03-20T12:22:37.431910Z","published":"2025-12-24T12:22:54.695Z","related":["SUSE-SU-2026:0263-1","SUSE-SU-2026:0317-1","SUSE-SU-2026:0350-1","SUSE-SU-2026:0369-1","SUSE-SU-2026:0411-1","SUSE-SU-2026:0617-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50736.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/355d2eca68c10d713a42f68e62044b3d1c300471"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6af043089d3f1210776d19b6fdabea610d4c7699"},{"type":"WEB","url":"https://git.kernel.org/stable/c/75af03fdf35acf15a3977f7115f6b8d10dff4bc7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bdf1da5df9da680589a7f74448dd0a94dd3e1446"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f3d26a8589dfdeff328779b511f71fb90b10005e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f8d8fbd3b6d6cc3f25790cca5cffe8ded512fef6"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50736.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50736"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b"},{"fixed":"6af043089d3f1210776d19b6fdabea610d4c7699"},{"fixed":"75af03fdf35acf15a3977f7115f6b8d10dff4bc7"},{"fixed":"f8d8fbd3b6d6cc3f25790cca5cffe8ded512fef6"},{"fixed":"355d2eca68c10d713a42f68e62044b3d1c300471"},{"fixed":"f3d26a8589dfdeff328779b511f71fb90b10005e"},{"fixed":"bdf1da5df9da680589a7f74448dd0a94dd3e1446"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50736.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.3.0"},{"fixed":"5.4.229"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.86"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.0.16"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.1.0"},{"fixed":"6.1.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50736.json"}}],"schema_version":"1.7.5"}