CVE-2026-64283: KVM: guest_memfd: Treat memslot binding offset+size as unsigned values
Vulnerability summary
CVE-2026-64283 is a high (CVSS 7.0) Integer Overflow or Wraparound vulnerability in linux. EPSS estimates a 0.15% chance of exploitation in the next 30 days, higher than 4.2% of scored vulnerabilities.
Not severe (CVSS 7, local access); no exploitation reported by the 5 checked sources
CIRCL last checked 06-12-2026
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 36 · Related 34Timeline
- 25-07-2026PublishedVulnerability first disclosed.
- 06-11-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: KVM: guest_memfd: Treat memslot binding offset+size as unsigned values When binding a memslot to a guest_memfd file, treat the offset and size as unsigned values to fix a bug where the sum of the two can result in a false negative when checking for overflow against the size of the file. Passing unsigned values also avoids relying on somewhat obscure checks in other flows for safety, and tracks the offset and size as they are intended to be tracked, as unsigned values. On 64-bit kernels, the number of pages a memslot contains and thus the size (and offset) of its guest_memfd binding are unsigned 64-bit values. Taking the offset+size as an loff_t instead of a uoff_t inadvertently converts the unsigned value to a signed value if the offset and/or size is massive. Locally storing the offset and size as signed values is benign in and of itself (though even that is *extremely* difficult to discern), but operating on their sum is not. For the offset, KVM explicitly checks against a negative value, which might seem like a bug as KVM could incorrectly reject a legitimate binding, but that's not actually the case as KVM_CREATE_GUEST_MEMFD takes a signed value for its size, i.e. a would-be-negative offset is also greater than the maximum possible size of any guest_memfd file. Regarding the size, while KVM lacks an explicit check for a negative value, i.e. seemingly has a flawed overflow check, KVM restricts the number of pages in a single memslot to the largest positive signed 32-bit value: if (id < KVM_USER_MEM_SLOTS && (mem->memory_size >> PAGE_SHIFT) > KVM_MEM_MAX_NR_PAGES) return -EINVAL; and so that maximum "size" will ever be is 0x7fffffff000. The sum of the two is, however, problematic. While the size is restricted by KVM's memslot logic, the offset is not, i.e. the offset is completely unchecked until the "offset + size > i_size_read(inode)" check. If the offset is the (nearly) largest possible _positive_ value, then adding size to the offset can result in a signed, negative 64-bit value. When compared against the size of the file (guaranteed to be positive), the negative sum is always smaller, and KVM incorrectly allows the absurd offset. Opportunistically add missing includes in kvm_mm.h (instead of relying on its parents).
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.15%
Chance of exploitation in the next 30 days
Percentile
4%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.15% on 05-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu142 products
- linuxAll versions (No fix recorded) | < 6.8.0-151.151 | < 7.0.0-31.31
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 6.8.0-1070.76 | < 7.0.0-1012.12
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Chainguard45 products
- hyperv-daemons-6.18All versions (No fix recorded)
- linux-aws-6.18< 6.18.57-r0 | All versions (No fix recorded)
- linux-aws-6.18-boot-installedAll versions (No fix recorded)
- linux-aws-6.18-bootcAll versions (No fix recorded)
- linux-aws-6.18-bootc-boot-installedAll versions (No fix recorded)
Debian2 products
- linuxAll versions (No fix recorded) | < 6.12.115-2 | < 7.1.4-1
- linux-6.12< 6.12.115-2~deb12u1
Linux2 products
- linux≥ a7800aa80ea4d5356b8474c2302812e9d4926fa6, < e4683654881f3303ab286e45df6f91c0675d867c | ≥ a7800aa80ea4d5356b8474c2302812e9d4926fa6, < 3f9c0fdefa0431ad7a5528d76b9cdad912500bdf | ≥ a7800aa80ea4d5356b8474c2302812e9d4926fa6, < f3a98d5881b9bd4807f49156143565f6aabcef1e | ≥ a7800aa80ea4d5356b8474c2302812e9d4926fa6, < eba85fee7fc6cf28fec38a5bf3c378bef9a79ca6 | 6.8
- linux_kernel≥ 6.8, < 7.1.4
4 vendors · 191 products