HIGH Introduced in 6.8
imagination FreelistReconstruct OOB
CVE-2026-98566
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
01Description
In the Linux kernel, the following vulnerability has been resolved: drm/imagination: clamp freelist reconstruction requests The firmware reconstruction count controls accesses to the request's fixed freelist ID array and the copy into the fixed response array. Neither access currently bounds the count to those protocol arrays. Clamp the count to the request capacity, which is shared by the response layout, and use that count consistently for reconstruction and response publication. Keep the firmware recovery exchange instead of dropping an oversized request without a response, as discussed with the firmware maintainer. The issue was found by our static-analysis tool.
02KernelScan AI Analysis
Risk summary
A local user with access to the Imagination Technologies GPU device can trigger an out-of-bounds memory write in the kernel driver by causing the GPU firmware to send a freelist reconstruction request with an oversized count. This allows kernel memory corruption, leading to privilege escalation, information disclosure, or system crash.
Vulnerability analysis
The GPU driver processes freelist reconstruction requests from firmware without validating the freelist count against the fixed-size arrays in the request and response structures. A malicious or corrupted firmware message with an inflated count causes the driver to read past the end of the request's freelist ID array and write past the end of the response array, corrupting adjacent kernel memory. The fix clamps the count to the array capacity before use and logs a warning when truncation occurs. The vulnerability is reachable by any local user who can open the GPU render device (typically members of the render or video group) and submit commands that induce the firmware to emit a reconstruction request with a crafted count.
Lifecycle
03Fix Versions
| Branch | Introduced | Fixed in | Patch commit |
|---|---|---|---|
| 6.12 | 6.8 | 6.12.112 | b78f8f5532a0 |
| 6.18 | 6.8 | 6.18.55 | e0560db0ea6e |
| 7.2 | 6.8 | 7.2.9 | eabd0ae36117 |
| mainline | 6.8 | 7.3 | 45585c3aa285 |
| cip/6.12 | 6.8 | 6.12.112-cip33 | b78f8f5532a0 |
04CIP Kernels
State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.
| CIP tree | State |
|---|---|
| cip/6.12 | Fixed in 6.12.112-cip33 |