9.3
/ 10
CRITICAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Description
In the Linux kernel, the following vulnerability has been resolved:
KVM: arm64: vgic-its: Drop the translation cache reference only for the erased entry
vgic_its_invalidate_cache() walks the per-ITS translation cache with
xa_for_each() and drops the cache's reference on each entry with
vgic_put_irq(). It puts the iterated pointer, though, rather than the
value returned by xa_erase().
The function is called from contexts that do not exclude one another: the
ITS command handlers hold its_lock, the GITS_CTLR write path holds
cmd_lock, and the path that clears EnableLPIs in a redistributor's
GICR_CTLR holds neither. Two or more of them can drain the same cache
concurrently, and if each one observes the same entry, erases it and then
puts it, the single reference the cache holds on that entry is dropped
more than once. The entry can then be freed while an ITE still maps it.
xa_erase() is atomic and returns the previous entry, so put only the entry
that this context actually removed. The cache reference is then dropped
exactly once per entry even when the invalidations run concurrently, and
the behavior is unchanged when only one context runs.
KVM: arm64: vgic-its: Drop the translation cache reference only for the erased entry
vgic_its_invalidate_cache() walks the per-ITS translation cache with
xa_for_each() and drops the cache's reference on each entry with
vgic_put_irq(). It puts the iterated pointer, though, rather than the
value returned by xa_erase().
The function is called from contexts that do not exclude one another: the
ITS command handlers hold its_lock, the GITS_CTLR write path holds
cmd_lock, and the path that clears EnableLPIs in a redistributor's
GICR_CTLR holds neither. Two or more of them can drain the same cache
concurrently, and if each one observes the same entry, erases it and then
puts it, the single reference the cache holds on that entry is dropped
more than once. The entry can then be freed while an ITE still maps it.
xa_erase() is atomic and returns the previous entry, so put only the entry
that this context actually removed. The cache reference is then dropped
exactly once per entry even when the invalidations run concurrently, and
the behavior is unchanged when only one context runs.
AI Analysis
A vulnerability in the Linux kernel's KVM: arm64: vgic-its component allows for a potential use-after-free scenario due to incorrect handling of translation cache references.
Basic Information
ID
CVE-2026-46316
Source
Linux
Published
Jun 9, 2026 at 11:52
Modified
Jun 14, 2026 at 04:30
Affected Product
Vendor
Linux
Product
Linux
Version
8201d1028caa4fae88e222c4e8cf541fdf45b821
Affected Versions
Linux Linux 8201d1028caa4fae88e222c4e8cf541fdf45b821
Linux Linux 8201d1028caa4fae88e222c4e8cf541fdf45b821
Linux Linux 8201d1028caa4fae88e222c4e8cf541fdf45b821
Linux Linux 8201d1028caa4fae88e222c4e8cf541fdf45b821
Linux Linux 6.10
Linux Linux 8201d1028caa4fae88e222c4e8cf541fdf45b821
Linux Linux 8201d1028caa4fae88e222c4e8cf541fdf45b821
Linux Linux 8201d1028caa4fae88e222c4e8cf541fdf45b821
Linux Linux 6.10
AI Assessment
AI Score
9.3 / 10
AI Severity
Critical
Vendor
Linux
Product
Linux Kernel
Version
6.10, 8201d1028caa4fae88e222c4e8cf541fdf45b821