Reference page — cumulative record through Thursday, November 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.
CVE-2026-31590
Linux Linux — KVM: SEV: Drop WARN on large size for KVM_MEMORY_ENCRYPT_REG_REGION
AV AC PR UI S C I A CVSS EPSS %ile KEV
L L L N U N N H 5.5 .0013 2.3 —
AFFECTED
Product Versions Fixed
Linux 78824fabc72e5e37d51e6e567fde70a4fc41a6d7 – —
Linux 5.9 – 5.10.258
TIMELINE
Mar 9 Reserved by Linux
Apr 24 Published (CNA: Linux)
Nov 6 ENRICHED — CVE-2026-31590 (Linux). Received CVSS 5.5 and CPE data from NVD.
Description
In the Linux kernel, the following vulnerability has been resolved:
KVM: SEV: Drop WARN on large size for KVM_MEMORY_ENCRYPT_REG_REGION
Drop the WARN in sev_pin_memory() on npages overflowing an int, as the
WARN is comically trivially to trigger from userspace, e.g. by doing:
struct kvm_enc_region range = {
.addr = 0,
.size = -1ul,
};
__vm_ioctl(vm, KVM_MEMORY_ENCRYPT_REG_REGION, &range);
Note, the checks in sev_mem_enc_register_region() that presumably exist to
verify the incoming address+size are completely worthless, as both "addr"
and "size" are u64s and SEV is 64-bit only, i.e. they _can't_ be greater
than ULONG_MAX. That wart will be cleaned up in the near future.
if (range->addr > ULONG_MAX || range->size > ULONG_MAX)
return -EINVAL;
Opportunistically add a comment to explain why the code calculates the
number of pages the "hard" way, e.g. instead of just shifting @ulen.
Lifecycle
Complete event history — 3 events, chronological
| Date | Event | Detail |
| March 9, 2026 | Reserved | Reserved by Linux |
| April 24, 2026 | Published | Published (CNA: Linux) |
| November 6, 2026 | ENRICHED | ENRICHED — CVE-2026-31590 (Linux). Received CVSS 5.5 and CPE data from NVD. |
Affected
Affected products and packages — 2 rows
| Vendor | Product / Package | Ecosystem | Version introduced | Fixed |
| Linux | Linux | — | 78824fabc72e5e37d51e6e567fde70a4fc41a6d7 | — |
| Linux | Linux | — | 5.9 | 5.10.258 |
About this page
This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2026-31590 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Thursday, November 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.