CVE
CVE-2024-26598
CNA 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 versions
All Linux kernel vulnerabilities →
- ≥ 6.7, < 6.7.2Fixed in 6.7.2
- ≥ 6.2, < 6.6.14Fixed in 6.6.14
- ≥ 5.16, < 6.1.75Fixed in 6.1.75
- ≥ 5.11, < 5.15.148Fixed in 5.15.148
- ≥ 5.5, < 5.10.209Fixed in 5.10.209
- ≥ 5.4, < 5.4.269Fixed in 5.4.269
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/12c2759ab1343c124ed46ba48f27bd1ef5d2dff4 · Patch
- git.kernel.org/stable/c/65b201bf3e9af1b0254243a5881390eda56f72d1 · Patch
- git.kernel.org/stable/c/ad362fe07fecf0aba839ff2cc59a3617bd42c33f · Patch
- git.kernel.org/stable/c/ba7be666740847d967822bed15500656b26bc703 · Patch
- git.kernel.org/stable/c/d04acadb6490aa3314f9c9e087691e55de153b88 · Patch
- git.kernel.org/stable/c/dba788e25f05209adf2b0175eb1691dc89fb1ba6 · Patch
- git.kernel.org/stable/c/dd3956a1b3dd11f46488c928cb890d6937d1ca80 · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.