CVE-2026-46316

KVM: arm64: vgic-its: Drop the translation cache reference only for the erased entry

State
Published
Severity
9.3 Critical
Published
Jun 9, 2026
Updated
Oct 19, 2026
Reserved
May 13, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.3 CriticalCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HLinux
3.17.0 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:Hredhat-SADP

Weaknesses

  • CWE-911 Improper Update of Reference Count
  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Affected Products

ProductVersions
LinuxLinux
  • 8201d1028caa4fae88e222c4e8cf541fdf45b821 to before b7b72e88046328c9fdc638fe887d4240257dd5dcAffected
  • 8201d1028caa4fae88e222c4e8cf541fdf45b821 to before 2bbc395e81bd29c543a0529a678327e932a7ec69Affected
  • 8201d1028caa4fae88e222c4e8cf541fdf45b821 to before 9121f4605ab94969f62d1b5714ca3c6c69bd202fAffected
  • 8201d1028caa4fae88e222c4e8cf541fdf45b821 to before 13031fb6b8357fbbcded2a7f4cba73e4781ee594Affected
LinuxLinux
  • 6.10Affected
  • before 6.10Not affected
  • 6.12.93 through 6.12.*Not affected
  • 6.18.35 through 6.18.*Not affected
  • 7.0.12 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.