CVE-2026-98566: drm/imagination: clamp freelist reconstruction requests
From: Greg Kroah-Hartman <[email protected]>
Description
===========
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.
The Linux kernel CVE team has assigned CVE-2026-98566 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.8 with commit 6eedddab733b350886571f98b810108b13bf74ae and fixed in 6.12.112 with commit b78f8f5532a077baa4aabccf657a4fb3b164659e Issue introduced in 6.8 with commit 6eedddab733b350886571f98b810108b13bf74ae and fixed in 6.18.55 with commit e0560db0ea6e10c283ebe7c259a7af8d3b6e61a6 Issue introduced in 6.8 with commit 6eedddab733b350886571f98b810108b13bf74ae and fixed in 7.2.9 with commit eabd0ae3611769c826dbc118a1e240628731b348 Issue introduced in 6.8 with commit 6eedddab733b350886571f98b810108b13bf74ae and fixed in 7.3-rc5 with commit 45585c3aa285854face65293acc95eff73063d6d
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-98566
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/gpu/drm/imagination/pvr_free_list.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/b78f8f5532a077baa4aabccf657a4fb3b164659e https://git.kernel.org/stable/c/e0560db0ea6e10c283ebe7c259a7af8d3b6e61a6 https://git.kernel.org/stable/c/eabd0ae3611769c826dbc118a1e240628731b348 https://git.kernel.org/stable/c/45585c3aa285854face65293acc95eff73063d6d