CVE-2024-26598
Assigner: Linux
Published: 2024-02-23T14:46:26.672Z
State: PUBLISHED
descriptions: value: 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: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions: version: 1da177e4c3f4
lessThan: d04acadb6490
status: affected
versionType: git
version: 1da177e4c3f4
lessThan: ba7be6667408
status: affected
versionType: git
version: 1da177e4c3f4
lessThan: 12c2759ab134
status: affected
versionType: git
version: 1da177e4c3f4
lessThan: dba788e25f05
status: affected
versionType: git
version: 1da177e4c3f4
lessThan: 65b201bf3e9a
status: affected
versionType: git
version: 1da177e4c3f4
lessThan: dd3956a1b3dd
status: affected
versionType: git
version: 1da177e4c3f4
lessThan: ad362fe07fec
status: affected
versionType: git
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions: version: 5.4.269
lessThanOrEqual: 5.4.*
status: unaffected
versionType: custom
version: 5.10.209
lessThanOrEqual: 5.10.*
status: unaffected
versionType: custom
version: 5.15.148
lessThanOrEqual: 5.15.*
status: unaffected
versionType: custom
version: 6.1.75
lessThanOrEqual: 6.1.*
status: unaffected
versionType: custom
version: 6.6.14
lessThanOrEqual: 6.6.*
status: unaffected
versionType: custom
version: 6.7.2
lessThanOrEqual: 6.7.*
status: unaffected
versionType: custom
version: 6.8
lessThanOrEqual: *
status: unaffected
versionType: original_commit_for_fix
title: KVM: arm64: vgic-its: Avoid potential UAF in LPI translation cache
x_generator: engine: bippy-8df59b4913de