{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-31558","id":"CVE-2026-31558","title":"LoongArch: KVM: Make kvm_get_vcpu_by_cpuid() more robust","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nLoongArch: KVM: Make kvm_get_vcpu_by_cpuid() more robust\n\nkvm_get_vcpu_by_cpuid() takes a cpuid parameter whose type is int, so\ncpuid can be negative. Let kvm_get_vcpu_by_cpuid() return NULL for this\ncase so as to make it more robust.\n\nThis fix an out-of-bounds access to kvm_arch::phyid_map::phys_map[].","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nLoongArch: KVM: Make kvm_get_vcpu_by_cpuid() more robust\n\nkvm_get_vcpu_by_cpuid() takes a cpuid parameter whose type is int, so\ncpuid can be negative. Let kvm_get_vcpu_by_cpuid() return NULL for this\ncase so as to make it more robust.\n\nThis fix an out-of-bounds access to kvm_arch::phyid_map::phys_map[].","published":"2026-04-24T14:35:41.209Z","updated":"2026-11-13T02:30:19.687645790Z","reserved":"2026-03-09T15:48:24.116Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"73516e9da512adc63ba3859fbd82a21f6257348f","lessThan":"596c3f8069c4792f22fce8c4452f44410032d910","status":"affected","versionType":"git"},{"version":"73516e9da512adc63ba3859fbd82a21f6257348f","lessThan":"878cf6acb4fd8ab4126cf9d369a5bb0e23123418","status":"affected","versionType":"git"},{"version":"73516e9da512adc63ba3859fbd82a21f6257348f","lessThan":"47857b05bd50db01e211a1b6f513d57901cd3e6b","status":"affected","versionType":"git"},{"version":"73516e9da512adc63ba3859fbd82a21f6257348f","lessThan":"2db06c15d8c7a0ccb6108524e16cd9163753f354","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","lessThan":"6.10","status":"unaffected","versionType":"semver"},{"version":"6.12.80","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.21","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19.11","lessThanOrEqual":"6.19.*","status":"unaffected","versionType":"semver"},{"version":"7.0","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-125"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/596c3f8069c4792f22fce8c4452f44410032d910","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/878cf6acb4fd8ab4126cf9d369a5bb0e23123418","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/47857b05bd50db01e211a1b6f513d57901cd3e6b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/2db06c15d8c7a0ccb6108524e16cd9163753f354","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31558.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31558","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00129,"epssPercentile":0.02598,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-31558","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31558","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-31558","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-31558","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}