CVE-2026-31558LoongArch: KVM: Make kvm_get_vcpu_by_cpuid() more robust
- 8.8HighCVSS base score
- 0.13%Exploitation in 30 daysEPSS · top 97% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: LoongArch: KVM: Make kvm_get_vcpu_by_cpuid() more robust kvm_get_vcpu_by_cpuid() takes a cpuid parameter whose type is int, so cpuid can be negative. Let kvm_get_vcpu_by_cpuid() return NULL for this case so as to make it more robust. This fix an out-of-bounds access to kvm_arch::phyid_map::phys_map[].
Timeline
ID reserved
By Linux
- 46 days later
· 46 days later
Published
- 3 months later
· 3 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High8.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | High8.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.13% · top 97% of all CVEs (18 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.8.
Affected products
- affected 73516e9da512adc63ba3859fbd82a21f6257348f – < 596c3f8069c4792f22fce8c4452f44410032d910
- affected 73516e9da512adc63ba3859fbd82a21f6257348f – < 878cf6acb4fd8ab4126cf9d369a5bb0e23123418
- affected 73516e9da512adc63ba3859fbd82a21f6257348f – < 47857b05bd50db01e211a1b6f513d57901cd3e6b
- affected 73516e9da512adc63ba3859fbd82a21f6257348f – < 2db06c15d8c7a0ccb6108524e16cd9163753f354
- affected 6.10
- unaffected < 6.10
- unaffected 6.12.80 – ≤ 6.12.*
- unaffected 6.18.21 – ≤ 6.18.*
- unaffected 6.19.11 – ≤ 6.19.*
- unaffected 7.0 – ≤ *
References
References4
- https://git.kernel.org/stable/c/596c3f8069c4792f22fce8c4452f44410032d910 (opens in a new tab)
- https://git.kernel.org/stable/c/878cf6acb4fd8ab4126cf9d369a5bb0e23123418 (opens in a new tab)
- https://git.kernel.org/stable/c/47857b05bd50db01e211a1b6f513d57901cd3e6b (opens in a new tab)
- https://git.kernel.org/stable/c/2db06c15d8c7a0ccb6108524e16cd9163753f354 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-25451 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-31558)Record last updated .