Linux
arm64: cacheinfo: Avoid out-of-bounds write to cacheinfo array
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).
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 5d425c18653731af62831d30a4fa023d532657a9, < 4371ac7b494e933fffee2bd6265d18d73c4f05aa
- >= 5d425c18653731af62831d30a4fa023d532657a9, < e4fde33107351ec33f1a64188612fbc6ca659284
- >= 5d425c18653731af62831d30a4fa023d532657a9, < 88a3e6afaf002250220793df99404977d343db14
- >= 5d425c18653731af62831d30a4fa023d532657a9, < 4ff25f0b18d1d0174c105e4620428bcdc1213860
- >= 5d425c18653731af62831d30a4fa023d532657a9, < ab90894f33c15b14c1cee6959ab6c8dcb09127f8
- >= 5d425c18653731af62831d30a4fa023d532657a9, < 715eb1af64779e1b1aa0a7b2ffb81414d9f708e5
- >= 5d425c18653731af62831d30a4fa023d532657a9, < 67b99a2b5811df4294c2ad50f9bff3b6a08bd618
- >= 5d425c18653731af62831d30a4fa023d532657a9, < 875d742cf5327c93cba1f11e12b08d3cce7a88d2
Fixed in 4371ac7b494e933fffee2bd6265d18d73c4f05aa, e4fde33107351ec33f1a64188612fbc6ca659284, 88a3e6afaf002250220793df99404977d343db14, 4ff25f0b18d1d0174c105e4620428bcdc1213860, ab90894f33c15b14c1cee6959ab6c8dcb09127f8, 715eb1af64779e1b1aa0a7b2ffb81414d9f708e5, 67b99a2b5811df4294c2ad50f9bff3b6a08bd618, 875d742cf5327c93cba1f11e12b08d3cce7a88d2
- 4.0
Fixed in 0, 5.4.291, 5.10.235, 5.15.179, 6.1.129, 6.6.79, 6.12.16, 6.13.4, 6.14
Mitigation
Upgrade Linux to 4371ac7b494e933fffee2bd6265d18d73c4f05aa or e4fde33107351ec33f1a64188612fbc6ca659284 or 88a3e6afaf002250220793df99404977d343db14 or 4ff25f0b18d1d0174c105e4620428bcdc1213860 or ab90894f33c15b14c1cee6959ab6c8dcb09127f8 or 715eb1af64779e1b1aa0a7b2ffb81414d9f708e5 or 67b99a2b5811df4294c2ad50f9bff3b6a08bd618 or 875d742cf5327c93cba1f11e12b08d3cce7a88d2 or later.
Upgrade Linux to 0 or 5.4.291 or 5.10.235 or 5.15.179 or 6.1.129 or 6.6.79 or 6.12.16 or 6.13.4 or 6.14 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.