RDMA/hns: Fix Use-After-Free of rsv_qp on HIP08 (Linux Linux)

CVE-2024-47750
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.21 % · centile 11 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: RDMA/hns: Fix Use-After-Free of rsv_qp on HIP08 Currently rsv_qp is freed before ib_unregister_device() is called on HIP08. During the time interval, users can still dereg MR and rsv_qp will be used in this process, leading to a UAF. Move the release of rsv_qp after calling ib_unregister_device() to fix it.

Faiblesses (CWE)

  • CWE-416 — Utilisation après libération

Références

Scores

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

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 70f92521584f1d1e8268311ee84413307b0fdea8 < 2ccf1c75d39949d8ea043d04a2e92d7100ea723d ; affected 70f92521584f1d1e8268311ee84413307b0fdea8 < d2d9c5127122745da6e887f451dd248cfeffca33 ; affected 70f92521584f1d1e8268311ee84413307b0fdea8 < dac2723d8bfa9cf5333f477741e6e5fa1ed34645 ; affected 70f92521584f1d1e8268311ee84413307b0fdea8 < 60595923371c2ebe7faf82536c47eb0c967e3425 ; affected 70f92521584f1d1e8268311ee84413307b0fdea8 < fd8489294dd2beefb70f12ec4f6132aeec61a4d0
Linux · Linuxaffected 5.18 ; unaffected 0 < 5.18 ; unaffected 6.1.113 ≤ 6.1.* ; unaffected 6.6.54 ≤ 6.6.* ; unaffected 6.10.13 ≤ 6.10.* ; unaffected 6.11.2 ≤ 6.11.*

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