In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: check numentries in GEMOP GETMAPPINGINFO
kvcalloc(args->numentries, sizeof(*vmentries), GFPKERNEL) at amdgpugem.c:1050 uses the user-supplied numentries directly without any upper bounds check. Since numentries is a __u32 and sizeof(drmamdgpugemvmentry) is 32 bytes, a large numentries produces an allocation exceeding INTMAX, triggering WARNING in __kvmallocnodenoprof(), causing a kernel WARNING, TAINTWARN, and panic on CONFIGPANICONWARN=y systems.
Add a size bounds check before we invoke the kvzalloc() to reject oversized num_entries early with -EINVAL.
(cherry picked from commit 1fe7bf5457f6efd7be60b17e23163ba54341d73d)
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63878.json",
"cna_assigner": "Linux"
}