Paper/Archive/CVE-2026-46316

CVE-2026-46316

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

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
Linux8201d1028caa4fae88e222c4e8cf541fdf45b821 – < b7b72e88046328c9fdc638fe887d4240257dd5dcb7b72e88046328c9fdc638fe887d4240257dd5dcCNA
Linux8201d1028caa4fae88e222c4e8cf541fdf45b821 – < 2bbc395e81bd29c543a0529a678327e932a7ec692bbc395e81bd29c543a0529a678327e932a7ec69CNA
Linux8201d1028caa4fae88e222c4e8cf541fdf45b821 – < 9121f4605ab94969f62d1b5714ca3c6c69bd202f9121f4605ab94969f62d1b5714ca3c6c69bd202fCNA
Linux8201d1028caa4fae88e222c4e8cf541fdf45b821 – < 13031fb6b8357fbbcded2a7f4cba73e4781ee59413031fb6b8357fbbcded2a7f4cba73e4781ee594CNA
Linux6.106.12.93CNA
Red Hat Enterprise Linux 10see advisory0:6.12.0-211.30.1.el10_2redhat-SADP
Red Hat Enterprise Linux 10.0 Extended Update Supportsee advisory0:6.12.0-55.88.1.el10_0redhat-SADP
Red Hat Enterprise Linux 9see advisory0:5.14.0-687.22.1.el9_8redhat-SADP
Red Hat Enterprise Linux 9.6 Extended Update Supportsee advisory0:5.14.0-570.127.1.el9_6redhat-SADP
Red Hat OpenShift Container Platform 4.19see advisory4.19.9.6.202607220857-0redhat-SADP
Red Hat OpenShift Container Platform 4.20see advisory4.20.9.6.202607151937-0redhat-SADP
Red Hat OpenShift Container Platform 4.21see advisory4.21.9.6.202607151836-0redhat-SADP

Scores by source

Linux (CNA)9.3CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
redhat-SADP (CNA)7.0CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: total

References

refgit.kernel.org/stable/c/b7b72e88046328c9fdc638fe887d4240257dd5dcrefgit.kernel.org/stable/c/2bbc395e81bd29c543a0529a678327e932a7ec69refgit.kernel.org/stable/c/9121f4605ab94969f62d1b5714ca3c6c69bd202frefgit.kernel.org/stable/c/13031fb6b8357fbbcded2a7f4cba73e4781ee594refaccess.redhat.com/security/cve/CVE-2026-46316refbugzilla.redhat.com/show_bug.cgi?id=2486982refsecurity.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46316.jsonadvisoryaccess.redhat.com/errata/RHSA-2026:44231advisoryaccess.redhat.com/errata/RHSA-2026:40787advisoryaccess.redhat.com/errata/RHSA-2026:40779advisoryaccess.redhat.com/errata/RHSA-2026:40764advisoryaccess.redhat.com/errata/RHSA-2026:39371advisoryaccess.redhat.com/errata/RHSA-2026:34911advisoryaccess.redhat.com/errata/RHSA-2026:38902advisoryaccess.redhat.com/errata/RHSA-2026:36018