drm/amdgpu/vce: fix integer overflow in image size
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.1.183, 6.6.148, 6.12.101, 6.18.42, 7.1.6
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
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)
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From f1689ec1b0b1256d0e69653cd4aaeee44aafdf5c · fixed in 893db20383800cfe92e638705984eebb13bc81a5; From f1689ec1b0b1256d0e69653cd4aaeee44aafdf5c · fixed in a07430abd556de3707adfcadcc60db3fa64e4b2b; From f1689ec1b0b1256d0e69653cd4aaeee44aafdf5c · fixed in a6d7065b91a14790980ce6f4960db0ca8c3c9940; From f1689ec1b0b1256d0e69653cd4aaeee44aafdf5c · fixed in 7eebef042c12dfe0568593ee6a8926d16505925e; From f1689ec1b0b1256d0e69653cd4aaeee44aafdf5c · fixed in 00c311a13d225266800c712f2b7db2711c6897de; From f1689ec1b0b1256d0e69653cd4aaeee44aafdf5c · fixed in 186bfdc4e26d019b2e7570cb121964a1d89b2e5b
- Linux Linux
4.2
- KernelLinux
From 4.2.0 · fixed in 6.1.183; From 6.2.0 · fixed in 6.6.148; From 6.7.0 · fixed in 6.12.101; From 6.13.0 · fixed in 6.18.42; From 6.19.0 · fixed in 7.1.6