Database/Kernel, userspace & hypervisor
Linux kernel (drivers/gpu/drm/i915/gem): The access handler for a memory-mapped GEM object never bounds-checks the
Impact
The access handler for a memory-mapped GEM object never bounds-checks the requested length before the memcpy, so a tenant can read and write kernel memory adjacent to the object's mapping. Out-of-bounds read gives another tenant's leftover buffer contents; out-of-bounds write gives kernel heap corruption from an unprivileged process.
Who can reach it
A tenant process holding /dev/dri/renderD* on an i915 GPU maps a GEM object and then drives the vm_access path against it (process_vm_readv/writev or ptrace-style access to its own mapping, which is what the public PoC does). No privilege beyond the render node, no display access needed.
What to do
Boot a kernel carrying the i915 vm_access bounds-check fix below. Interim: drop /dev/dri/renderD* from containers that do not need i915 acceleration; there is no runtime toggle that closes this path while the device node is exposed.
References
Related entries
- Linux kernel (drivers/gpu/drm/i915/gem): The size of a partial GEM mapping is computed without accounting for theCVE-2024-42259 · Linux kernel (drivers/gpu/drm/i915/gem)High
- Linux kernel (drivers/iommu/arm/arm-smmu-v3): The SMMUv3 SVA path released the pinned ASID without holding a referenceCVE-2022-49426 · Linux kernel (drivers/iommu/arm/arm-smmu-v3)High
- Linux kernel (arch/x86/kvm/mmu): When guest memory is backed by a VM_PFNMAP mapping, KVM derived the target page frameCVE-2022-49562 · Linux kernel (arch/x86/kvm/mmu)High
- Linux kernel (drivers/gpu/drm/i915/gt): The GPU migration copy path used plain ints for sizes that a tenant controlsCVE-2022-49963 · Linux kernel (drivers/gpu/drm/i915/gt)High
- Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd): A double free in the amdkfd (KFD compute driverCVE-2022-50303 · Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd)High
- Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd): A NULL pointer dereference in the amdkfd (KFD computeCVE-2022-50354 · Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd)High
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.