<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-01T14:02:18.486589+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2026-31590</id>
    <title>CVE-2026-31590 — KVM: SEV: Drop WARN on large size for KVM_MEMORY_ENCRYPT_REG_REGION</title>
    <updated>2026-10-01T14:02:18.505002+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>KVM: SEV: Drop WARN on large size for KVM_MEMORY_ENCRYPT_REG_REGION</p>
<p>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:</p>
<p>struct kvm_enc_region range = {
          .addr = 0,
          .size = -1ul,
  };</p>
<p>__vm_ioctl(vm, KVM_MEMORY_ENCRYPT_REG_REGION, &amp;range);</p>
<p>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.</p>
<p>if (range-&gt;addr &gt; ULONG_MAX || range-&gt;size &gt; ULONG_MAX)
		return -EINVAL;</p>
<p>Opportunistically add a comment to explain why the code calculates the
number of pages the "hard" way, e.g. instead of just shifting @ulen.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-31590"/>
  </entry>
</feed>
