CVE-2024-26598
JSON

8.8high

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

Severity
8.8high CVSS:3.1 by Linux
Exploit likelihood
0.24% (higher than 16% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 6211753fdfd05af9e08f54c8d0ba3ee516034878 before d04acadb6490aa3314f9c9e087691e55de153b88, from 6211753fdfd05af9e08f54c8d0ba3ee516034878 before ba7be666740847d967822bed15500656b26bc703, from 6211753fdfd05af9e08f54c8d0ba3ee516034878 before 12c2759ab1343c124ed46ba48f27bd1ef5d2dff4, from 6211753fdfd05af9e08f54c8d0ba3ee516034878 before dba788e25f05209adf2b0175eb1691dc89fb1ba6, from 6211753fdfd05af9e08f54c8d0ba3ee516034878 before 65b201bf3e9af1b0254243a5881390eda56f72d1, from 6211753fdfd05af9e08f54c8d0ba3ee516034878 before dd3956a1b3dd11f46488c928cb890d6937d1ca80, from 6211753fdfd05af9e08f54c8d0ba3ee516034878 before ad362fe07fecf0aba839ff2cc59a3617bd42c33f, 3.11
Not affected: before 3.11, from 5.4.269 up to 5.4.*, from 5.10.209 up to 5.10.*, from 5.15.148 up to 5.15.*, from 6.1.75 up to 6.1.*, from 6.6.14 up to 6.6.*
CVE List
linux linux_kernelfrom 1da177e4c3f4 before d04acadb6490, from 1da177e4c3f4 before ba7be6667408, from 1da177e4c3f4 before 12c2759ab134, from 1da177e4c3f4 before dba788e25f05, from 1da177e4c3f4 before 65b201bf3e9a, from 1da177e4c3f4 before dd3956a1b3dd, from 1da177e4c3f4 before ad362fe07fec, from 5.4 before 5.4.269 and 5 more
Not affected: from 5.4.269 up to 5.5, from 5.10.209 up to 5.11, from 5.15.148 up to 5.16, from 6.1.75 up to 6.2, from 6.6.14 up to 6.7, from 6.7.2 up to 6.8
CVE List, NVD
debian debian_linux10.0NVD

All scores

Linux8.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CISA-ADP7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: KVM: arm64: vgic-its: Evite posibles UAF en la caché de traducción LPI. Existe un escenario potencial de UAF en el caso de que un caché de traducción LPI se acelere con una operación que invalide la caché, como un comando DISCARD ITS. La raíz del problema es que vgic_its_check_cache() no eleva el refcount en vgic_irq antes de eliminar el bloqueo que serializa los cambios de refcount. Haga que vgic_its_check_cache() aumente el refcount en el vgic_irq devuelto y agregue el decremento correspondiente después de poner en cola la interrupción.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-26598 changed 2026-08-05CVE Terms of Use
NVDCVE-2024-26598 changed 2026-08-04Public domain