RDMA/hns: Fix UAF for cq async event (Linux Linux)

CVE-2024-38545
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.25 % · percentile 17 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: RDMA/hns: Fix UAF for cq async event The refcount of CQ is not protected by locks. When CQ asynchronous events and CQ destruction are concurrent, CQ may have been released, which will cause UAF. Use the xa_lock() to protect the CQ refcount.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
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)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 9a4435375cd151e07c0c38fa601b00115986091b < 330c825e66ef65278e4ebe57fd49c1d6f3f4e34e ; affected 9a4435375cd151e07c0c38fa601b00115986091b < 763780ef0336a973e933e40e919339381732dcaf ; affected 9a4435375cd151e07c0c38fa601b00115986091b < 63da190eeb5c9d849b71f457b15b308c94cbaf08 ; affected 9a4435375cd151e07c0c38fa601b00115986091b < 39d26cf46306bdc7ae809ecfdbfeff5aa1098911 ; affected 9a4435375cd151e07c0c38fa601b00115986091b < 37a7559dc1358a8d300437e99ed8ecdab0671507 ; affected 9a4435375cd151e07c0c38fa601b00115986091b < a942ec2745ca864cd8512142100e4027dc306a42
Linux · Linuxaffected 4.9 ; unaffected 0 < 4.9 ; unaffected 5.15.168 ≤ 5.15.* ; unaffected 6.1.93 ≤ 6.1.* ; unaffected 6.6.33 ≤ 6.6.* ; unaffected 6.8.12 ≤ 6.8.*

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