Imagination Technologies Graphics DDK
GPU DDK - libusc.so NPD due to integer overflow at ConvertSwitchToArrayLookup during WebGPU shader compilation
A web page that contains unusual GPU shader code is loaded into the GPU compiler process and can lead memory allocation failure. If the allocation failure is not properly handled, the compiler may dereference a NULL pointer at a controlled offset, resulting in a crash of the compiler process. On certain platforms, when the compiler process has system privileges this could lead to crashes or enable further exploits on the device. The weakness results from performing arithmetic operations on values derived from the shader program without properly preventing integer overflow. The overflow can cause incorrect memory size calculations, leading to memory allocation failures and subsequent invalid program behaviour. Integer overflow can produce unexpected values that affect memory allocation and other security-relevant operations.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- 23.2 RTM2
- 24.2 RTM2
- >= 25.1 RTM2, <= 25.3 RTM
- 26.1 RTM1
Fixed in 1.18 RTM2, 26.1 RTM2
Mitigation
Upgrade Graphics DDK to 1.18 RTM2 or 26.1 RTM2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.