Linux: drm/imagination: clamp freelist reconstruction requests
What fixes it
- 45585c3aa285854face65293acc95eff73063d6dLinuxCVE List
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
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.
Text from CVE List
Affected versions 10
- Linuxaffected: 6eedddab733b350886571f98b810108b13bf74ae before b78f8f5532a077baa4aabccf657a4fb3b164659eCVE List
- Linuxaffected: 6eedddab733b350886571f98b810108b13bf74ae before e0560db0ea6e10c283ebe7c259a7af8d3b6e61a6CVE List
- Linuxaffected: 6eedddab733b350886571f98b810108b13bf74ae before eabd0ae3611769c826dbc118a1e240628731b348CVE List
- Linuxaffected: 6eedddab733b350886571f98b810108b13bf74ae before 45585c3aa285854face65293acc95eff73063d6dCVE List
- Linuxaffected: 6.8CVE List
- Linuxunaffected: all versions before 6.8CVE List
- Linuxunaffected: 6.12.112 through 6.12.*CVE List
- Linuxunaffected: 6.18.55 through 6.18.*CVE List
- Linuxunaffected: 7.2.9 through 7.2.*CVE List
- Linuxunaffected: 7.3CVE List
References 4
- git.kernel.org/stable/c/b78f8f5532a077baa4aabccf657a4fb3b164659eReferencevia CVE List
- git.kernel.org/stable/c/e0560db0ea6e10c283ebe7c259a7af8d3b6e61a6Referencevia CVE List
- git.kernel.org/stable/c/eabd0ae3611769c826dbc118a1e240628731b348Referencevia CVE List
- git.kernel.org/stable/c/45585c3aa285854face65293acc95eff73063d6dReferencevia CVE List