CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel, specifically in the `qaic_gem_object_mmap` function, where improper handling of large buffer objects can lead to memory mapping beyond the virtual memory area (VMA). This flaw may result in use-after-free conditions during unmapping, potentially allowing attackers to exploit memory corruption. Organizations using affected Linux systems, particularly those with applications relying on the QAIC driver, should prioritize patching this vulnerability to mitigate the risk of exploitation.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: accel/qaic: Add overflow check to remap_pfn_range during mmap The call to remap_pfn_range in qaic_gem_object_mmap is susceptible to (re)mapping beyond the VMA if the BO is too large. This can cause use after free issues when munmap() unmaps only the VMA region and not the additional mappings. To prevent this, check the remaining size of the VMA before remapping and truncate the remapped length if sg->length is too large. [jhugo: fix braces from checkpatch --strict]