arm64: cacheinfo: Avoid out-of-bounds write to cacheinfo array
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 5d425c18653731af62831d30a4fa023d532657a9 · < 715eb1af64779e1b1aa0a7b2ffb81414d9f708e5| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
arm64: cacheinfo: Avoid out-of-bounds write to cacheinfo array
The loop that detects/populates cache information already has a bounds check on the array size but does not account for cache levels with separate data/instructions cache. Fix this by incrementing the index for any populated leaf (instead of any populated level).
From the CVE record · Linux
The Linux kernel's arm64 cache-information code can write past the cacheinfo array when a cache level has separate data and instruction caches. The input does not specify how an attacker could trigger this issue or whether access or user interaction is required.
Engineers running the Linux kernel on arm64 systems should check their kernel version; affected versions are not specified in the input.