CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's GPU subsystem, specifically the iommu_map_sgtable() function, which improperly handles return values, potentially leading to negative integer overflows in the pin_job() function. This flaw could result in erroneous memory mappings, leading to system instability or security issues. Linux system administrators and developers working with GPU drivers should prioritize this update to mitigate potential risks associated with this vulnerability.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: gpu: host1x: Fix iommu_map_sgtable() return value check Commit "iommu: return full error code from iommu_map_sg[_atomic]()" changed iommu_map_sgtable() to return an ssize_t and negative values in error cases, rather than a size_t and a zero. pin_job() also was incorrectly assigning to 'int', which could cause overflows into negative values. Update pin_job() to correctly check for errors from iommu_map_sgtable.