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

Published Feb 23, 2024
·
Updated

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 vgicitscheckcache() does not elevate the refcount on the vgicirq before dropping the lock that serializes refcount changes.

Have vgicitscheckcache() raise the refcount on the returned vgicirq and add the corresponding decrement after queueing the interrupt.

Affected Software

9 affected componentsFixes available
Linux Linux kernel>=5.4<5.4.269
Linux Linux kernel>=5.5<5.10.209
Linux Linux kernel>=5.11<5.15.148
Linux Linux kernel>=5.16<6.1.75
Linux Linux kernel>=6.2<6.6.14
Linux Linux kernel>=6.7<6.7.2
Debian Debian Linux=10.0
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-1
redhat/kernel<6.8
6.8

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.8
  3. Configuration

    Modify vgic_its_check_cache() to elevate (increment) the refcount on the returned vgic_irq before dropping the lock that serializes refcount changes, and then decrement the refcount after queueing the interrupt. This resolves a potential UAF when an LPI translation cache hit races with an operation that invalidates the cache (e.g., DISCARD ITS).

    Linux kernel (KVM arm64 vgic-its) vgic_its_check_cache() refcount handling = raise refcount on returned vgic_irq before dropping the refcount-serialization lock; add corresponding decrement after queueing the interrupt

Event History

Feb 23, 2024
CVE Published
via MITRE·02:46 PM
Data Sourced
via MITRE·02:46 PM
DescriptionSeverity
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Feb 24, 2024
Data Sourced
via Red Hat·11:20 AM
DescriptionSeverityAffected Software
Mar 11, 2024
Data Sourced
via Launchpad·09:52 PM
Description
May 5, 2025
Data Sourced
via Ubuntu·11:45 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-26598?

CVE-2024-26598 has a medium severity due to the potential use-after-free vulnerability in the KVM component of the Linux kernel.

2

How do I fix CVE-2024-26598?

To fix CVE-2024-26598, upgrade to the patched versions of the kernel available in your distribution, such as kernel version 6.8 or specific Debian packages like 5.10.223-1.

3

Which operating systems are affected by CVE-2024-26598?

CVE-2024-26598 affects various distributions of Linux, including Red Hat and Debian, across multiple version ranges.

4

What components are impacted by CVE-2024-26598?

CVE-2024-26598 impacts the KVM component of the Linux kernel, specifically the virtual generic interrupt controller (VGIC) related to large physical interrupt (LPI) translation cache.

5

When was CVE-2024-26598 reported?

CVE-2024-26598 was reported in 2024 and was resolved shortly thereafter in subsequent kernel updates.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203