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

CVE-2022-50736
HIGH 7.1

En bref

Source
NVD
EPSS
EPSS 0.19 % · centile 9 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Deferred

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.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HLinux
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b < 6af043089d3f1210776d19b6fdabea610d4c7699 ; affected 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b < 75af03fdf35acf15a3977f7115f6b8d10dff4bc7 ; affected 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b < f8d8fbd3b6d6cc3f25790cca5cffe8ded512fef6 ; affected 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b < 355d2eca68c10d713a42f68e62044b3d1c300471 ; affected 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b < f3d26a8589dfdeff328779b511f71fb90b10005e ; affected 303ae1cdfdf7280ff4cfbbe65563b5ff15bb025b < bdf1da5df9da680589a7f74448dd0a94dd3e1446
Linux · Linuxaffected 5.3 ; unaffected 0 < 5.3 ; unaffected 5.4.229 ≤ 5.4.* ; unaffected 5.10.163 ≤ 5.10.* ; unaffected 5.15.86 ≤ 5.15.* ; unaffected 6.0.16 ≤ 6.0.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD