Skip to content
Heist/ feed
Back to feed
CriticalFix available

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

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.93, 6.18.35, 7.0.12
CVEs
CVE-2026-46316
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 01:52 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 9 Jun 2026, 11:52 UTC

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.

osv:CVE-2026-46316

Kernel

Fixed versions: 6.12.93, 6.18.35, 7.0.12

Complete source record
{
  "id": "2114a9a17cbe71f4491294ec13a5963f1e4fd7697dfae14f36fb19ac1d67efc8",
  "url": "https://osv.dev/vulnerability/CVE-2026-46316",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "KVM: arm64: vgic-its: Drop the translation cache reference only for the erased entry",
    "summary": "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.",
    "evidence": "osv:CVE-2026-46316",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.12.93",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.35",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.0.12",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-46316",
      "aliases": [
        "CVE-2026-46316"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "8201d1028caa4fae88e222c4e8cf541fdf45b821"
                },
                {
                  "fixed": "b7b72e88046328c9fdc638fe887d4240257dd5dc"
                },
                {
                  "fixed": "2bbc395e81bd29c543a0529a678327e932a7ec69"
                },
                {
                  "fixed": "9121f4605ab94969f62d1b5714ca3c6c69bd202f"
                },
                {
                  "fixed": "13031fb6b8357fbbcded2a7f4cba73e4781ee594"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46316.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.10.0"
                },
                {
                  "fixed": "6.12.93"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.35"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.0.12"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46316.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:41.537736286Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/13031fb6b8357fbbcded2a7f4cba73e4781ee594",
        "https://git.kernel.org/stable/c/2bbc395e81bd29c543a0529a678327e932a7ec69",
        "https://git.kernel.org/stable/c/9121f4605ab94969f62d1b5714ca3c6c69bd202f",
        "https://git.kernel.org/stable/c/b7b72e88046328c9fdc638fe887d4240257dd5dc",
        "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46316.json",
        "https://access.redhat.com/errata/RHSA-2026:34911",
        "https://access.redhat.com/errata/RHSA-2026:36018",
        "https://access.redhat.com/errata/RHSA-2026:38902",
        "https://access.redhat.com/errata/RHSA-2026:39371",
        "https://access.redhat.com/errata/RHSA-2026:40764",
        "https://access.redhat.com/errata/RHSA-2026:40779",
        "https://access.redhat.com/errata/RHSA-2026:40787",
        "https://access.redhat.com/errata/RHSA-2026:44231",
        "https://access.redhat.com/security/cve/CVE-2026-46316",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46316.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-46316",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2486982",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46316.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-46316",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 509221,
  "published_at": "2026-06-09T11:52:29.349+00:00"
}