drm/amdgpu/vce: fix integer overflow in image size
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel a6d7065b91a14790980ce6f4960db0ca8c3c9940, Kernel 00c311a13d225266800c712f2b7db2711c6897de, Kernel 186bfdc4e26d019b2e7570cb121964a1d89b2e5b and 8 more.
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)
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=f1689ec1b0b1256d0e69653cd4aaeee44aafdf5c <a6d7065b91a14790980ce6f4960db0ca8c3c9940, >=f1689ec1b0b1256d0e69653cd4aaeee44aafdf5c <00c311a13d225266800c712f2b7db2711c6897de, >=f1689ec1b0b1256d0e69653cd4aaeee44aafdf5c <186bfdc4e26d019b2e7570cb121964a1d89b2e5b, >=f1689ec1b0b1256d0e69653cd4aaeee44aafdf5c <7eebef042c12dfe0568593ee6a8926d16505925e, >=f1689ec1b0b1256d0e69653cd4aaeee44aafdf5c <893db20383800cfe92e638705984eebb13bc81a5, >=f1689ec1b0b1256d0e69653cd4aaeee44aafdf5c <a07430abd556de3707adfcadcc60db3fa64e4b2b, =4.2 | a6d7065b91a14790980ce6f4960db0ca8c3c9940, 00c311a13d225266800c712f2b7db2711c6897de, 186bfdc4e26d019b2e7570cb121964a1d89b2e5b, 7eebef042c12dfe0568593ee6a8926d16505925e, 893db20383800cfe92e638705984eebb13bc81a5, a07430abd556de3707adfcadcc60db3fa64e4b2b |
| linux-kernel: Kernel | >=6.13.0 <6.18.42, >=6.19.0 <7.1.6, >=6.2.0 <6.6.148, >=6.7.0 <6.12.101, >=4.2.0 <6.1.183 | 6.18.42, 7.1.6, 6.6.148, 6.12.101, 6.1.183 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket