KVM: arm64: vgic-its: Avoid potential UAF in LPI translation cache (Linux Linux)

CVE-2024-26598
HIGH 8.8

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: vgic-its: Avoid potential UAF in LPI translation cache There is a potential UAF scenario in the case of an LPI translation cache hit racing with an operation that invalidates the cache, such as a DISCARD ITS command. The root of the problem is that vgic_its_check_cache() does not elevate the refcount on the vgic_irq before dropping the lock that serializes refcount changes. Have vgic_its_check_cache() raise the refcount on the returned vgic_irq and add the corresponding decrement after queueing the interrupt.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/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:HCISA-ADP
CVSS 3.1HIGH 8.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/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)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 6211753fdfd05af9e08f54c8d0ba3ee516034878 < d04acadb6490aa3314f9c9e087691e55de153b88 ; affected 6211753fdfd05af9e08f54c8d0ba3ee516034878 < ba7be666740847d967822bed15500656b26bc703 ; affected 6211753fdfd05af9e08f54c8d0ba3ee516034878 < 12c2759ab1343c124ed46ba48f27bd1ef5d2dff4 ; affected 6211753fdfd05af9e08f54c8d0ba3ee516034878 < dba788e25f05209adf2b0175eb1691dc89fb1ba6 ; affected 6211753fdfd05af9e08f54c8d0ba3ee516034878 < 65b201bf3e9af1b0254243a5881390eda56f72d1 ; affected 6211753fdfd05af9e08f54c8d0ba3ee516034878 < dd3956a1b3dd11f46488c928cb890d6937d1ca80
Linux · Linuxaffected 3.11 ; unaffected 0 < 3.11 ; unaffected 5.4.269 ≤ 5.4.* ; unaffected 5.10.209 ≤ 5.10.* ; unaffected 5.15.148 ≤ 5.15.* ; unaffected 6.1.75 ≤ 6.1.*

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