CVE-2026-89928 (GCVE-0-2026-89928)

Vulnerability from cvelistv5 – Published: 2026-09-16 10:32 – Updated: 2026-10-19 08:55
VLAI
Title
KVM: x86/mmu: Consume the locked rmap value in the lockless rmap walk
Summary
In the Linux kernel, the following vulnerability has been resolved: KVM: x86/mmu: Consume the locked rmap value in the lockless rmap walk __kvm_rmap_lock() deliberately elides the rmap lock when it observes an empty rmap. In that case kvm_rmap_lock_readonly() also re-enables preemption and returns zero, so the caller holds neither the rmap lock nor a preemption reference. The elision documents the invariant it relies on: * Elide the lock if the rmap is empty, as lockless walkers (read-only * mode) don't need to (and can't) walk an empty rmap, nor can they add * entries to the rmap. I.e. the only paths that process empty rmaps * do so while holding mmu_lock for write, and are mutually exclusive. kvm_rmap_age_gfn_range() ignores the returned value and unconditionally enters for_each_rmap_spte_lockless(). The iterator started with rmap_get_first(), which re-reads rmap_head->val rather than using the value returned by the lock. If a writer populates the rmap between the lock's read and the iterator's re-read, the aging path walks the newly installed rmap without holding its lock. For a KVM_RMAP_MANY rmap this leaves the walker following a pte_list_desc chain that it never locked. A writer holding mmu_lock for write may free that chain (e.g. kvm_zap_all_rmap_sptes() on the recycle path, or any rmap zap) via kmem_cache_free() while the walk is in progress, giving a slab use-after-free. Nothing serialises the two: the aging path runs without mmu_lock when CONFIG_KVM_MMU_LOCKLESS_AGING=y, and the rmap lock that would otherwise exclude the writer was elided. Because the empty path re-enables preemption, the interval between the two reads can span an arbitrary scheduling delay. Fix the class of bug by having the lockless walk consume the value returned by the lock instead of re-reading the rmap. Split rmap_get_first() into __rmap_get_first(), which starts an iterator from an already-read rmap value, and make for_each_rmap_spte_lockless() take that value and call __rmap_get_first() directly. kvm_rmap_age_gfn_range() passes the value returned by kvm_rmap_lock_readonly(): when the lock was elided the value is zero, __rmap_get_first() returns NULL, and the walk is skipped. No lockless walker re-reads the rmap, so the lock-elision invariant cannot be violated, and no lock()-without-paired-unlock() path is added to the aging code.
Assigner
Linux CNA under the mitre root
CNA scorecard D 53/100 over 6637 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: af3b6a9eba48419732b07a0472db7160282f0f39 , < 41debfc98526c0a95c41a62435aca0a70340a26d (git)
Affected: af3b6a9eba48419732b07a0472db7160282f0f39 , < 8edb3c09e43f7cd8a5dfd291c6e0fc9c74d4621d (git)
Affected: af3b6a9eba48419732b07a0472db7160282f0f39 , < e428f9779a43737d830111238816f1928b07aefb (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.15
Unaffected: 0 , < 6.15 (semver)
Unaffected: 6.18.51 , ≤ 6.18.* (semver)
Unaffected: 7.2.5 , ≤ 7.2.* (semver)
Unaffected: 7.3 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "arch/x86/kvm/mmu/mmu.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "41debfc98526c0a95c41a62435aca0a70340a26d",
              "status": "affected",
              "version": "af3b6a9eba48419732b07a0472db7160282f0f39",
              "versionType": "git"
            },
            {
              "lessThan": "8edb3c09e43f7cd8a5dfd291c6e0fc9c74d4621d",
              "status": "affected",
              "version": "af3b6a9eba48419732b07a0472db7160282f0f39",
              "versionType": "git"
            },
            {
              "lessThan": "e428f9779a43737d830111238816f1928b07aefb",
              "status": "affected",
              "version": "af3b6a9eba48419732b07a0472db7160282f0f39",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "arch/x86/kvm/mmu/mmu.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.15"
            },
            {
              "lessThan": "6.15",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.51",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.51",
                  "versionStartIncluding": "6.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.5",
                  "versionStartIncluding": "6.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "6.15",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: x86/mmu: Consume the locked rmap value in the lockless rmap walk\n\n__kvm_rmap_lock() deliberately elides the rmap lock when it observes an\nempty rmap.  In that case kvm_rmap_lock_readonly() also re-enables\npreemption and returns zero, so the caller holds neither the rmap lock\nnor a preemption reference.  The elision documents the invariant it\nrelies on:\n\n\t * Elide the lock if the rmap is empty, as lockless walkers (read-only\n\t * mode) don\u0027t need to (and can\u0027t) walk an empty rmap, nor can they add\n\t * entries to the rmap.  I.e. the only paths that process empty rmaps\n\t * do so while holding mmu_lock for write, and are mutually exclusive.\n\nkvm_rmap_age_gfn_range() ignores the returned value and unconditionally\nenters for_each_rmap_spte_lockless().  The iterator started with\nrmap_get_first(), which re-reads rmap_head-\u003eval rather than using the\nvalue returned by the lock.  If a writer populates the rmap between the\nlock\u0027s read and the iterator\u0027s re-read, the aging path walks the newly\ninstalled rmap without holding its lock.\n\nFor a KVM_RMAP_MANY rmap this leaves the walker following a\npte_list_desc chain that it never locked.  A writer holding mmu_lock for\nwrite may free that chain (e.g. kvm_zap_all_rmap_sptes() on the recycle\npath, or any rmap zap) via kmem_cache_free() while the walk is in\nprogress, giving a slab use-after-free.  Nothing serialises the two: the\naging path runs without mmu_lock when CONFIG_KVM_MMU_LOCKLESS_AGING=y,\nand the rmap lock that would otherwise exclude the writer was elided.\nBecause the empty path re-enables preemption, the interval between the\ntwo reads can span an arbitrary scheduling delay.\n\nFix the class of bug by having the lockless walk consume the value\nreturned by the lock instead of re-reading the rmap.  Split\nrmap_get_first() into __rmap_get_first(), which starts an iterator from\nan already-read rmap value, and make for_each_rmap_spte_lockless() take\nthat value and call __rmap_get_first() directly.\nkvm_rmap_age_gfn_range() passes the value returned by\nkvm_rmap_lock_readonly(): when the lock was elided the value is zero,\n__rmap_get_first() returns NULL, and the walk is skipped.  No lockless\nwalker re-reads the rmap, so the lock-elision invariant cannot be\nviolated, and no lock()-without-paired-unlock() path is added to the\naging code."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 8.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The UAF is reached only through local KVM: MMU notifiers on the VM mm (clear_young/clear_flush_young/test_young \u2192 kvm_age_gfn \u2192 kvm_rmap_age_gfn_range) racing with KVM_RUN shadow-MMU rmap updates. There is no network, adjacent-radio, or physical-device path.\nAC:L - The attacker controls both sides: KVM_RUN/nested EPT faults populate an empty rmap to KVM_RMAP_MANY and later zap it, while reclaim of the same process\u0027s guest RAM runs the lockless walker. Lockless aging is default on x86 KVM, nested=1 is default, and eliding the empty-rmap lock re-enables preemption so the TOCTOU window is large.\nPR:L - Exploitation requires /dev/kvm (typically kvm-group QEMU/libvirt) or a nested-capable x86 guest, not init-namespace root. KVM_CREATE_VM and KVM_RUN have no capable() check; kvm-group membership is unprivileged device access.\nUI:N - Once the attacker can run the VM, they drive rmap populate/zap and host aging of their own guest memory with no separate victim action such as mounting a filesystem or opening a file.\nS:C - The UAF runs in the host KVM MMU while walking guest/nested shadow SPTEs and frees host pte_list_desc slab objects, corrupting kernel state beyond the guest VM. That is a KVM guest-to-host escape-class boundary crossing.\nC:H - A writer may kmem_cache_free() the pte_list_desc chain while the lockless ager still walks it, which is a host slab use-after-free. After spray, desc-\u003esptes[] and the subsequent SPTE reads become attacker-influenced kernel reads.\nI:H - kvm_rmap_age_gfn_range then clear_bit() or cmpxchg64() through the UAF-derived sptep to drop Accessed bits or mark access-track, yielding a host kernel write primitive suitable for control-flow hijacking.\nA:H - A slab use-after-free on pte_list_desc during the lockless walk can oops or panic the host kernel, and a malicious guest can retrigger it, denying service to the host and co-resident VMs."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T08:55:03.077Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/41debfc98526c0a95c41a62435aca0a70340a26d"
        },
        {
          "url": "https://git.kernel.org/stable/c/8edb3c09e43f7cd8a5dfd291c6e0fc9c74d4621d"
        },
        {
          "url": "https://git.kernel.org/stable/c/e428f9779a43737d830111238816f1928b07aefb"
        }
      ],
      "title": "KVM: x86/mmu: Consume the locked rmap value in the lockless rmap walk",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-89928",
    "datePublished": "2026-09-16T10:32:20.173Z",
    "dateReserved": "2026-09-11T19:38:34.775Z",
    "dateUpdated": "2026-10-19T08:55:03.077Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-89928",
      "date": "2026-11-05",
      "epss": "0.00168",
      "percentile": "0.06218"
    },
    "microsoft_vex": {
      "current_release_date": "2026-10-21T18:39:11.000Z",
      "cve": "CVE-2026-89928",
      "id": "msrc_CVE-2026-89928",
      "initial_release_date": "2026-10-20T22:21:25.000Z",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "KVM: x86/mmu: Consume the locked rmap value in the lockless rmap walk",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-89928.json",
      "version": "2"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "arch/x86/kvm/mmu/mmu.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "41debfc98526c0a95c41a62435aca0a70340a26d",
                    "status": "affected",
                    "version": "af3b6a9eba48419732b07a0472db7160282f0f39",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "8edb3c09e43f7cd8a5dfd291c6e0fc9c74d4621d",
                    "status": "affected",
                    "version": "af3b6a9eba48419732b07a0472db7160282f0f39",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "e428f9779a43737d830111238816f1928b07aefb",
                    "status": "affected",
                    "version": "af3b6a9eba48419732b07a0472db7160282f0f39",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "arch/x86/kvm/mmu/mmu.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.15"
                  },
                  {
                    "lessThan": "6.15",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.51",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.2.*",
                    "status": "unaffected",
                    "version": "7.2.5",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.3",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: x86/mmu: Consume the locked rmap value in the lockless rmap walk\n\n__kvm_rmap_lock() deliberately elides the rmap lock when it observes an\nempty rmap.  In that case kvm_rmap_lock_readonly() also re-enables\npreemption and returns zero, so the caller holds neither the rmap lock\nnor a preemption reference.  The elision documents the invariant it\nrelies on:\n\n\t * Elide the lock if the rmap is empty, as lockless walkers (read-only\n\t * mode) don\u0027t need to (and can\u0027t) walk an empty rmap, nor can they add\n\t * entries to the rmap.  I.e. the only paths that process empty rmaps\n\t * do so while holding mmu_lock for write, and are mutually exclusive.\n\nkvm_rmap_age_gfn_range() ignores the returned value and unconditionally\nenters for_each_rmap_spte_lockless().  The iterator started with\nrmap_get_first(), which re-reads rmap_head-\u003eval rather than using the\nvalue returned by the lock.  If a writer populates the rmap between the\nlock\u0027s read and the iterator\u0027s re-read, the aging path walks the newly\ninstalled rmap without holding its lock.\n\nFor a KVM_RMAP_MANY rmap this leaves the walker following a\npte_list_desc chain that it never locked.  A writer holding mmu_lock for\nwrite may free that chain (e.g. kvm_zap_all_rmap_sptes() on the recycle\npath, or any rmap zap) via kmem_cache_free() while the walk is in\nprogress, giving a slab use-after-free.  Nothing serialises the two: the\naging path runs without mmu_lock when CONFIG_KVM_MMU_LOCKLESS_AGING=y,\nand the rmap lock that would otherwise exclude the writer was elided.\nBecause the empty path re-enables preemption, the interval between the\ntwo reads can span an arbitrary scheduling delay.\n\nFix the class of bug by having the lockless walk consume the value\nreturned by the lock instead of re-reading the rmap.  Split\nrmap_get_first() into __rmap_get_first(), which starts an iterator from\nan already-read rmap value, and make for_each_rmap_spte_lockless() take\nthat value and call __rmap_get_first() directly.\nkvm_rmap_age_gfn_range() passes the value returned by\nkvm_rmap_lock_readonly(): when the lock was elided the value is zero,\n__rmap_get_first() returns NULL, and the walk is skipped.  No lockless\nwalker re-reads the rmap, so the lock-elision invariant cannot be\nviolated, and no lock()-without-paired-unlock() path is added to the\naging code."
          }
        ],
        "id": "CVE-2026-89928",
        "lastModified": "2026-10-19T09:18:38.467",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 8.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "CHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 2.0,
              "impactScore": 6.0,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-09-16T11:17:02.060",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/41debfc98526c0a95c41a62435aca0a70340a26d"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/8edb3c09e43f7cd8a5dfd291c6e0fc9c74d4621d"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/e428f9779a43737d830111238816f1928b07aefb"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-10-20T00:54:40Z",
      "cve": "CVE-2026-89928",
      "id": "CVE-2026-89928",
      "initial_release_date": "2026-09-17T16:34:25Z",
      "product_status:known_affected": "0",
      "product_status:known_not_affected": "348",
      "product_status:recommended": "4",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-89928",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-89928.json",
      "version": "4"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.