{"api_version":"1","generated_at":"2026-08-24T09:30:13+00:00","cve":"CVE-2022-50736","urls":{"html":"https://cve.report/CVE-2022-50736","api":"https://cve.report/api/cve/CVE-2022-50736.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-50736","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-50736"},"summary":{"title":"RDMA/siw: Fix immediate work request flush to completion queue","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2025-12-24 13:16:00","updated_at":"2026-08-04 10:18:22"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.1","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","baseScore":7.1,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.1","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","data":{"baseScore":7.1,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/f8d8fbd3b6d6cc3f25790cca5cffe8ded512fef6","name":"https://git.kernel.org/stable/c/f8d8fbd3b6d6cc3f25790cca5cffe8ded512fef6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/75af03fdf35acf15a3977f7115f6b8d10dff4bc7","name":"https://git.kernel.org/stable/c/75af03fdf35acf15a3977f7115f6b8d10dff4bc7","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/355d2eca68c10d713a42f68e62044b3d1c300471","name":"https://git.kernel.org/stable/c/355d2eca68c10d713a42f68e62044b3d1c300471","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/bdf1da5df9da680589a7f74448dd0a94dd3e1446","name":"https://git.kernel.org/stable/c/bdf1da5df9da680589a7f74448dd0a94dd3e1446","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f3d26a8589dfdeff328779b511f71fb90b10005e","name":"https://git.kernel.org/stable/c/f3d26a8589dfdeff328779b511f71fb90b10005e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/6af043089d3f1210776d19b6fdabea610d4c7699","name":"https://git.kernel.org/stable/c/6af043089d3f1210776d19b6fdabea610d4c7699","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-50736","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50736","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b 6af043089d3f1210776d19b6fdabea610d4c7699 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b 75af03fdf35acf15a3977f7115f6b8d10dff4bc7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b f8d8fbd3b6d6cc3f25790cca5cffe8ded512fef6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b 355d2eca68c10d713a42f68e62044b3d1c300471 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b f3d26a8589dfdeff328779b511f71fb90b10005e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b bdf1da5df9da680589a7f74448dd0a94dd3e1446 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.3","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.3 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.4.229 5.4.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.163 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.86 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.0.16 6.0.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.2 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2022","cve_id":"50736","cve":"CVE-2022-50736","epss":"0.001660000","percentile":"0.062030000","score_date":"2026-08-06","updated_at":"2026-08-07 00:14:20"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/infiniband/sw/siw/siw_cq.c","drivers/infiniband/sw/siw/siw_verbs.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"6af043089d3f1210776d19b6fdabea610d4c7699","status":"affected","version":"303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b","versionType":"git"},{"lessThan":"75af03fdf35acf15a3977f7115f6b8d10dff4bc7","status":"affected","version":"303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b","versionType":"git"},{"lessThan":"f8d8fbd3b6d6cc3f25790cca5cffe8ded512fef6","status":"affected","version":"303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b","versionType":"git"},{"lessThan":"355d2eca68c10d713a42f68e62044b3d1c300471","status":"affected","version":"303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b","versionType":"git"},{"lessThan":"f3d26a8589dfdeff328779b511f71fb90b10005e","status":"affected","version":"303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b","versionType":"git"},{"lessThan":"bdf1da5df9da680589a7f74448dd0a94dd3e1446","status":"affected","version":"303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/infiniband/sw/siw/siw_cq.c","drivers/infiniband/sw/siw/siw_verbs.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.3"},{"lessThan":"5.3","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.4.*","status":"unaffected","version":"5.4.229","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.163","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.86","versionType":"semver"},{"lessThanOrEqual":"6.0.*","status":"unaffected","version":"6.0.16","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.2","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"6.2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.4.229","versionStartIncluding":"5.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.163","versionStartIncluding":"5.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.86","versionStartIncluding":"5.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.0.16","versionStartIncluding":"5.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.2","versionStartIncluding":"5.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.2","versionStartIncluding":"5.3","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"baseScore":7.1,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","version":"3.1"}}],"providerMetadata":{"dateUpdated":"2026-08-04T09:09:49.834Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/6af043089d3f1210776d19b6fdabea610d4c7699"},{"url":"https://git.kernel.org/stable/c/75af03fdf35acf15a3977f7115f6b8d10dff4bc7"},{"url":"https://git.kernel.org/stable/c/f8d8fbd3b6d6cc3f25790cca5cffe8ded512fef6"},{"url":"https://git.kernel.org/stable/c/355d2eca68c10d713a42f68e62044b3d1c300471"},{"url":"https://git.kernel.org/stable/c/f3d26a8589dfdeff328779b511f71fb90b10005e"},{"url":"https://git.kernel.org/stable/c/bdf1da5df9da680589a7f74448dd0a94dd3e1446"}],"title":"RDMA/siw: Fix immediate work request flush to completion queue","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2022-50736","datePublished":"2025-12-24T12:22:54.695Z","dateReserved":"2025-12-24T12:20:40.331Z","dateUpdated":"2026-08-04T09:09:49.834Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2025-12-24 13:16:00","lastModifiedDate":"2026-08-04 10:18:22","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","baseScore":7.1,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.2}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2022","CveId":"50736","Ordinal":"1","Title":"RDMA/siw: Fix immediate work request flush to completion queue","CVE":"CVE-2022-50736","Year":"2022"},"notes":[{"CveYear":"2022","CveId":"50736","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"RDMA/siw: Fix immediate work request flush to completion queue"}]}}}