KVM: arm64: vgic-its: Avoid potential UAF in LPI translation cache
Summary
| CVE | CVE-2024-26598 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-02-23 15:15:09 UTC |
| Updated | 2026-08-04 11:16:47 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.8 HIGH from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Problem Types: CWE-416 | CWE-416 CWE-416 Use After Free
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | ADP | DECLARED | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 8.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 8.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 6211753fdfd05af9e08f54c8d0ba3ee516034878 d04acadb6490aa3314f9c9e087691e55de153b88 git | Not specified |
| CNA | Linux | Linux | affected 6211753fdfd05af9e08f54c8d0ba3ee516034878 ba7be666740847d967822bed15500656b26bc703 git | Not specified |
| CNA | Linux | Linux | affected 6211753fdfd05af9e08f54c8d0ba3ee516034878 12c2759ab1343c124ed46ba48f27bd1ef5d2dff4 git | Not specified |
| CNA | Linux | Linux | affected 6211753fdfd05af9e08f54c8d0ba3ee516034878 dba788e25f05209adf2b0175eb1691dc89fb1ba6 git | Not specified |
| CNA | Linux | Linux | affected 6211753fdfd05af9e08f54c8d0ba3ee516034878 65b201bf3e9af1b0254243a5881390eda56f72d1 git | Not specified |
| CNA | Linux | Linux | affected 6211753fdfd05af9e08f54c8d0ba3ee516034878 dd3956a1b3dd11f46488c928cb890d6937d1ca80 git | Not specified |
| CNA | Linux | Linux | affected 6211753fdfd05af9e08f54c8d0ba3ee516034878 ad362fe07fecf0aba839ff2cc59a3617bd42c33f git | Not specified |
| CNA | Linux | Linux | affected 3.11 | Not specified |
| CNA | Linux | Linux | unaffected 3.11 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.4.269 5.4.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.209 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.148 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.75 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.14 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.7.2 6.7.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.8 * original_commit_for_fix | Not specified |
| ADP | Linux | Linux Kernel | affected 1da177e4c3f4 d04acadb6490 custom | Not specified |
| ADP | Linux | Linux Kernel | affected 1da177e4c3f4 ba7be6667408 custom | Not specified |
| ADP | Linux | Linux Kernel | affected 1da177e4c3f4 12c2759ab134 custom | Not specified |
| ADP | Linux | Linux Kernel | affected 1da177e4c3f4 dba788e25f05 custom | Not specified |
| ADP | Linux | Linux Kernel | affected 1da177e4c3f4 65b201bf3e9a custom | Not specified |
| ADP | Linux | Linux Kernel | affected 1da177e4c3f4 dd3956a1b3dd custom | Not specified |
| ADP | Linux | Linux Kernel | affected 1da177e4c3f4 ad362fe07fec custom | Not specified |
| ADP | Linux | Linux Kernel | unaffected 5.4.269 5.5 custom | Not specified |
| ADP | Linux | Linux Kernel | unaffected 5.10.209 5.11 custom | Not specified |
| ADP | Linux | Linux Kernel | unaffected 5.15.148 5.16 custom | Not specified |
| ADP | Linux | Linux Kernel | unaffected 6.1.75 6.2 custom | Not specified |
| ADP | Linux | Linux Kernel | unaffected 6.6.14 6.7 custom | Not specified |
| ADP | Linux | Linux Kernel | unaffected 6.7.2 6.8 custom | Not specified |
| ADP | Linux | Linux Kernel | unaffected 6.8 * custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/dd3956a1b3dd11f46488c928cb890d6937d1ca80 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/ba7be666740847d967822bed15500656b26bc703 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/ad362fe07fecf0aba839ff2cc59a3617bd42c33f | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| lists.debian.org/debian-lts-announce/2024/06/msg00016.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| git.kernel.org/stable/c/d04acadb6490aa3314f9c9e087691e55de153b88 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/dba788e25f05209adf2b0175eb1691dc89fb1ba6 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/12c2759ab1343c124ed46ba48f27bd1ef5d2dff4 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/65b201bf3e9af1b0254243a5881390eda56f72d1 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 200182 Ubuntu Security Notification for Linux kernel (OEM) Vulnerabilities (USN-6688-1)
- 200243 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6725-1)
- 357317 Amazon Linux Security Advisory for kernel : ALAS2KERNEL-5.4-2024-061
- 755965 SUSE Enterprise Linux Security Update for the linux kernel (SUSE-SU-2024:0858-1)
- 756010 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2024:0977-1)