CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's AMD GPU video codec engine (VCE), where oversized command streams can lead to a 32-bit integer overflow, allowing for out-of-bounds memory access. This could potentially enable attackers to execute arbitrary code or crash the system by manipulating image dimensions. Organizations using affected Linux distributions with AMD GPUs should prioritize applying the patch to mitigate the risk of exploitation.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu/vce: fix integer overflow in image size Fix a security vulnerability where malicious VCE command streams with oversized dimensions (e.g. 65536×65536) cause 32-bit integer overflow, wrapping the calculated buffer size to 0. This bypasses validation and allows GPU firmware to perform out-of-bound memory access. The fix uses 64-bit arithmetic to detect overflow and rejects invalid dimensions before they reach the hardware. V2: remove redundant check V3: modify max height value V4: remove size64 (cherry picked from commit cbe408dba581755ad1279a487ec786d8927d778d)