{"id":"CVE-2026-98638","aliases":["CVE-2026-98638"],"related":[],"kind":"vulnerability","state":"published","title":"KVM: arm64: Validate the SVE vector length in pkvm_vcpu_init_sve()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: arm64: Validate the SVE vector length in pkvm_vcpu_init_sve()\n\npkvm_vcpu_init_sve() clamps only the upper bound of the host-provided\nsve_max_vl, so an invalid vector length reaches sve_state_size_from_vl()\nand the WARN_ON() there, which is fatal at EL2. The existing\n!sve_state_size test rejects such a length, but only after the macro has\nrun.\n\nCheck sve_vl_valid() before deriving the state size. A valid length\ncannot yield a zero size, so the !sve_state_size test goes with it.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: arm64: Validate the SVE vector length in pkvm_vcpu_init_sve()\n\npkvm_vcpu_init_sve() clamps only the upper bound of the host-provided\nsve_max_vl, so an invalid vector length reaches sve_state_size_from_vl()\nand the WARN_ON() there, which is fatal at EL2. The existing\n!sve_state_size test rejects such a length, but only after the macro has\nrun.\n\nCheck sve_vl_valid() before deriving the state size. A valid length\ncannot yield a zero size, so the !sve_state_size test goes with it.","source":"cvelist"}],"published":"2026-10-18T15:20:09.380Z","modified":"2026-10-19T10:19:28.037Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"5db1bef933427aa467ad89c7b695a84a6b4afe16","fixed":"faf66e55e87498ab4bf88cdf9a629e61b3f2d3bc","status":"affected"},{"type":"git","introduced":"5db1bef933427aa467ad89c7b695a84a6b4afe16","fixed":"bae3e4493046de4fefa15f809d9b8dc114e84a3d","status":"affected"},{"type":"git","introduced":"5db1bef933427aa467ad89c7b695a84a6b4afe16","fixed":"2a2eb10795a1e495aebc7f829ccecb72c05b4fd9","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.55","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.9","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/faf66e55e87498ab4bf88cdf9a629e61b3f2d3bc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bae3e4493046de4fefa15f809d9b8dc114e84a3d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2a2eb10795a1e495aebc7f829ccecb72c05b4fd9","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98638","url":"https://www.cve.org/CVERecord?id=CVE-2026-98638","licence":"CVE Terms of Use","modified":"2026-10-19T09:23:08.052Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98638","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98638","licence":"Public domain","modified":"2026-10-19T10:19:28.037Z"}],"updatedAt":"2026-11-25T22:59:45.253Z","epss":{"score":0.00166,"percentile":0.06142,"date":"2026-12-01T12:00:22.000Z"}}