{"id":"CVE-2026-89917","aliases":["CVE-2026-89917"],"related":[],"kind":"vulnerability","state":"published","title":"KVM: arm64: Handle VNCR TLB invalidation race with vcpu_put() VNCR unmapping","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: arm64: Handle VNCR TLB invalidation race with vcpu_put() VNCR unmapping\n\nWhile VNCR TLB invalidation always occurs under the MMU lock,\nvcpu_put() doesn't, while it unmaps the VNCR page.\n\nThe problem is that the invalidation evaluates vncr_tlb::cpu to\ndecide whether an unmapping needs to take place (cpu != -1) before\nperforming it. On the other hand, this_cpu_reset_vncr_fixmap()\nunconditionally unmaps if L1_VNCR_MAPPED is set.\n\nThese two obviously can race, with a TOCTOU pattern on the TLBI\npath, and a BUG_ON() on the vcpu_put() path. And the two can end-up\ncalling vncr_fixmap(-1), with extra lethal effects.\n\nMove the reset of vncr_tlb::cpu to -1 to a common function, and make\nthis update atomic so that only a single thread can reset the field\nand perform the corresponding unmap. The vcpu_put() still need to\nunconditionally unmap the current VNCR to close another ugly race.\n\nFinally, the assignment of vncr_tlb::cpu is moved to be kept in sync\nwith the actual mapping, similar to L1_VNCR_MAPPED being set.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: arm64: Handle VNCR TLB invalidation race with vcpu_put() VNCR unmapping\n\nWhile VNCR TLB invalidation always occurs under the MMU lock,\nvcpu_put() doesn't, while it unmaps the VNCR page.\n\nThe problem is that the invalidation evaluates vncr_tlb::cpu to\ndecide whether an unmapping needs to take place (cpu != -1) before\nperforming it. On the other hand, this_cpu_reset_vncr_fixmap()\nunconditionally unmaps if L1_VNCR_MAPPED is set.\n\nThese two obviously can race, with a TOCTOU pattern on the TLBI\npath, and a BUG_ON() on the vcpu_put() path. And the two can end-up\ncalling vncr_fixmap(-1), with extra lethal effects.\n\nMove the reset of vncr_tlb::cpu to -1 to a common function, and make\nthis update atomic so that only a single thread can reset the field\nand perform the corresponding unmap. The vcpu_put() still need to\nunconditionally unmap the current VNCR to close another ugly race.\n\nFinally, the assignment of vncr_tlb::cpu is moved to be kept in sync\nwith the actual mapping, similar to L1_VNCR_MAPPED being set.","source":"cvelist"}],"published":"2026-09-16T10:32:12.629Z","modified":"2026-10-19T09:18:37.207Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"7270cc9157f474dfc46750a34c9d7defc686b2eb","fixed":"5cbd8761d001c11ada73b1753d772c4745a70e72","status":"affected"},{"type":"git","introduced":"7270cc9157f474dfc46750a34c9d7defc686b2eb","fixed":"9065c1261f8a05c6a7a2d90048c7c0665ab2896d","status":"affected"},{"type":"git","introduced":"7270cc9157f474dfc46750a34c9d7defc686b2eb","fixed":"38640bc32be3fcf9526d477155bc19d3f146231f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.16","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.5","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/5cbd8761d001c11ada73b1753d772c4745a70e72","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9065c1261f8a05c6a7a2d90048c7c0665ab2896d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/38640bc32be3fcf9526d477155bc19d3f146231f","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89917","url":"https://www.cve.org/CVERecord?id=CVE-2026-89917","licence":"CVE Terms of Use","modified":"2026-10-19T08:54:51.694Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89917","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89917","licence":"Public domain","modified":"2026-10-19T09:18:37.207Z"}],"updatedAt":"2026-11-25T22:59:38.977Z","epss":{"score":0.00203,"percentile":0.1087,"date":"2026-12-01T12:00:22.000Z"}}