CVE-2024-26598
KVM: arm64: vgic-its: Avoid potential UAF in LPI translation cache
Check your servers for CVE-2024-26598
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-26598 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 16.1% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 22 Apr 2025):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-416 Use After Free
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 6211753fdfd05af9e08f54c8d0ba3ee516034878, before d04acadb6490aa3314f9c9e087691e55de153b88 affected from 6211753fdfd05af9e08f54c8d0ba3ee516034878, before ba7be666740847d967822bed15500656b26bc703 affected from 6211753fdfd05af9e08f54c8d0ba3ee516034878, before 12c2759ab1343c124ed46ba48f27bd1ef5d2dff4 affected from 6211753fdfd05af9e08f54c8d0ba3ee516034878, before dba788e25f05209adf2b0175eb1691dc89fb1ba6 affected from 6211753fdfd05af9e08f54c8d0ba3ee516034878, before 65b201bf3e9af1b0254243a5881390eda56f72d1 affected from 6211753fdfd05af9e08f54c8d0ba3ee516034878, before dd3956a1b3dd11f46488c928cb890d6937d1ca80 affected from 6211753fdfd05af9e08f54c8d0ba3ee516034878, before ad362fe07fecf0aba839ff2cc59a3617bd42c33f
Other versions: unaffected
|
| Linux |
affected 3.11 unaffected before 3.11 unaffected from 5.4.269 up to and including 5.4.* unaffected from 5.10.209 up to and including 5.10.* unaffected from 5.15.148 up to and including 5.15.* unaffected from 6.1.75 up to and including 6.1.* unaffected from 6.6.14 up to and including 6.6.* unaffected from 6.7.2 up to and including 6.7.* unaffected 6.8 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-26598 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-26598
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-26598
trivy image --scanners vuln IMAGE | grep CVE-2024-26598
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/d04acadb6490aa3314f9c9e087691e55de153b88 git.kernel.org
- https://git.kernel.org/stable/c/ba7be666740847d967822bed15500656b26bc703 git.kernel.org
- https://git.kernel.org/stable/c/12c2759ab1343c124ed46ba48f27bd1ef5d2dff4 git.kernel.org
- https://git.kernel.org/stable/c/dba788e25f05209adf2b0175eb1691dc89fb1ba6 git.kernel.org
- https://git.kernel.org/stable/c/65b201bf3e9af1b0254243a5881390eda56f72d1 git.kernel.org
- https://git.kernel.org/stable/c/dd3956a1b3dd11f46488c928cb890d6937d1ca80 git.kernel.org
- https://git.kernel.org/stable/c/ad362fe07fecf0aba839ff2cc59a3617bd42c33f git.kernel.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html lists.debian.org
Source: the record CVE-2024-26598 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse