perf/arm-cmn: Reject unsupported hardware configurations
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 7819e05a0dceac20c5ff78ec9b252faf3b76b824 · < 36c0de02575ce59dfd879eb4ef63d53a68bbf9ce| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
perf/arm-cmn: Reject unsupported hardware configurations
So far we've been fairly lax about accepting both unknown CMN models (at least with a warning), and unknown revisions of those which we do know, as although things do frequently change between releases, typically enough remains the same to be somewhat useful for at least some basic bringup checks. However, we also make assumptions of the maximum supported sizes and numbers of things in various places, and there's no guarantee that something new might not be bigger and lead to nasty array overflows. Make sure we only try to run on things that actually match our assumptions and so will not risk memory corruption.
We have at least always failed on completely unknown node types, so update that error message for clarity and consistency too.
From the CVE record · Linux
The Linux kernel’s perf/arm-cmn driver may accept unsupported CMN models or revisions whose hardware configurations exceed its assumed limits, risking array overflows and memory corruption. The input does not specify how an attacker could trigger this, whether access or authentication is required, or whether user interaction is needed.
Engineers running Linux kernels with the perf/arm-cmn driver should check their systems; affected versions are not specified.