Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected f1689ec1b0b1256d0e69653cd4aaeee44aafdf5c before 893db20383800cfe92e638705984eebb13bc81a5; affected f1689ec1b0b1256d0e69653cd4aaeee44aafdf5c before a07430abd556de3707adfcadcc60db3fa64e4b2b; affected f1689ec1b0b1256d0e69653cd4aaeee44aafdf5c before a6d7065b91a14790980ce6f4960db0ca8c3c9940; affected f1689ec1b0b1256d0e69653cd4aaeee44aafdf5c before 7eebef042c12dfe0568593ee6a8926d16505925e; affected f1689ec1b0b1256d0e69653cd4aaeee44aafdf5c before 00c311a13d225266800c712f2b7db2711c6897de; affected f1689ec1b0b1256d0e69653cd4aaeee44aafdf5c before 186bfdc4e26d019b2e7570cb121964a1d89b2e5b |
| Linux / Linux | affected 4.2; unaffected 0 before 4.2; unaffected 6.1.183 through 6.1.*; unaffected 6.6.148 through 6.6.*; unaffected 6.12.101 through 6.12.*; unaffected 6.18.42 through 6.18.*; unaffected 7.1.6 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/893db20383800cfe92e638705984eebb13bc81a5
- https://git.kernel.org/stable/c/a07430abd556de3707adfcadcc60db3fa64e4b2b
- https://git.kernel.org/stable/c/a6d7065b91a14790980ce6f4960db0ca8c3c9940
- https://git.kernel.org/stable/c/7eebef042c12dfe0568593ee6a8926d16505925e
- https://git.kernel.org/stable/c/00c311a13d225266800c712f2b7db2711c6897de
- https://git.kernel.org/stable/c/186bfdc4e26d019b2e7570cb121964a1d89b2e5b
ADP enrichment
No English description supplied.
No references supplied.