CVE-2025-21785
Vulnerability Summary
Timeline
Description
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).
CVSS Metrics
- v3.1•HIGH•Score: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- v3.1•HIGH•Score: 7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Trends
Current EPSS score: 0.27%• Percentile: 19%
Techniques & Countermeasures
- CWE-787•Out-of-bounds Write
The product writes data past the end, or before the beginning, of the intended buffer.
Affected Systems
- debian•linux
< 5.10.237-1 | < 6.1.129-1 | < 6.12.16-1 | < 6.12.16-1
- debian•linux-6.1
< 6.1.129-1~deb11u1
- ubuntu•linux
all | < 5.4.0-216.236 | < 5.15.0-140.150 | < 6.8.0-78.78
- ubuntu•linux-allwinner-5.19
all
- ubuntu•linux-aws
all | < 5.4.0-1146.156 | < 5.15.0-1084.91 | < 6.8.0-1035.37
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.11
all
- ubuntu•linux-aws-5.13
all
- ubuntu•linux-aws-5.15
< 5.15.0-1084.91~20.04.1
- ubuntu•linux-aws-5.19
all
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
< 5.4.0-1146.156~18.04.1
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-aws-6.2
all
- ubuntu•linux-aws-6.5
all
- ubuntu•linux-aws-6.8
< 6.8.0-1035.37~22.04.1
- ubuntu•linux-aws-fips
all | < 5.4.0-1146.156+fips1 | < 5.15.0-1084.91+fips1
- ubuntu•linux-aws-hwe
all
- ubuntu•linux-azure
all | all | < 5.4.0-1151.158 | < 5.15.0-1089.98 | < 6.8.0-1034.39
- ubuntu•linux-azure-4.15
all
- ubuntu•linux-azure-5.11
all
- ubuntu•linux-azure-5.13
all
- ubuntu•linux-azure-5.15
< 5.15.0-1089.98~20.04.1
- ubuntu•linux-azure-5.19
all
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
< 5.4.0-1151.158~18.04.1
- ubuntu•linux-azure-5.8
all
- ubuntu•linux-azure-6.11
< 6.11.0-1015.15~24.04.1
- ubuntu•linux-azure-6.2
all
- ubuntu•linux-azure-6.5
all
- ubuntu•linux-azure-6.8
< 6.8.0-1034.39~22.04.1
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fde
all | all
- ubuntu•linux-azure-fde-5.19
all
- ubuntu•linux-azure-fde-6.2
all
- ubuntu•linux-azure-fips
all | < 5.4.0-1151.158+fips1 | < 5.15.0-1089.98+fips1
- ubuntu•linux-azure-nvidia
< 6.8.0-1022.23
- ubuntu•linux-bluefield
all | < 5.4.0-1105.112 | < 5.15.0-1066.68
- ubuntu•linux-fips
all | < 5.4.0-1120.130 | < 5.15.0-140.150+fips1 | < 6.8.0-78.78+fips1
- ubuntu•linux-gcp
all | all | < 5.4.0-1149.158 | < 5.15.0-1083.92 | < 6.8.0-1036.38
- ubuntu•linux-gcp-4.15
all
- ubuntu•linux-gcp-5.11
all
- ubuntu•linux-gcp-5.13
all
- ubuntu•linux-gcp-5.15
< 5.15.0-1083.92~20.04.1
- ubuntu•linux-gcp-5.19
all
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
< 5.4.0-1149.158~18.04.1
- ubuntu•linux-gcp-5.8
all
- ubuntu•linux-gcp-6.11
< 6.11.0-1015.15~24.04.1
- ubuntu•linux-gcp-6.2
all
Showing first 50 affected entries in server-rendered view.
References (82)
- https://git.kernel.org/stable/c/4371ac7b494e933fffee2bd6265d18d73c4f05aa
- https://git.kernel.org/stable/c/e4fde33107351ec33f1a64188612fbc6ca659284
- https://git.kernel.org/stable/c/88a3e6afaf002250220793df99404977d343db14
- https://git.kernel.org/stable/c/4ff25f0b18d1d0174c105e4620428bcdc1213860
- https://git.kernel.org/stable/c/ab90894f33c15b14c1cee6959ab6c8dcb09127f8
- https://git.kernel.org/stable/c/715eb1af64779e1b1aa0a7b2ffb81414d9f708e5
- https://git.kernel.org/stable/c/67b99a2b5811df4294c2ad50f9bff3b6a08bd618
- https://git.kernel.org/stable/c/875d742cf5327c93cba1f11e12b08d3cce7a88d2
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html
- https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html
- https://access.redhat.com/errata/RHSA-2025:3127
- https://access.redhat.com/security/updates/classification/#important
- https://bugzilla.redhat.com/show_bug.cgi?id=2348630
- https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_3127.json
- https://access.redhat.com/security/cve/CVE-2025-21785
- https://www.cve.org/CVERecord?id=CVE-2025-21785
- https://nvd.nist.gov/vuln/detail/CVE-2025-21785
- https://lore.kernel.org/linux-cve-announce/2025022608-CVE-2025-21785-184c@gregkh/T
- https://access.redhat.com/errata/RHSA-2025:3128
- https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_3128.json
- https://access.redhat.com/errata/RHSA-2025:3207
- https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_3207.json
- https://access.redhat.com/errata/RHSA-2025:3208
- https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_3208.json
- https://access.redhat.com/errata/RHSA-2025:3209
- https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_3209.json
- https://access.redhat.com/errata/RHSA-2025:3211
- https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_3211.json
- https://access.redhat.com/errata/RHSA-2025:3212
- https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_3212.json
- https://access.redhat.com/errata/RHSA-2025:3213
- https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_3213.json
- https://access.redhat.com/errata/RHSA-2025:3214
- https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_3214.json
- https://access.redhat.com/errata/RHSA-2025:3216
- https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_3216.json
- https://access.redhat.com/errata/RHSA-2025:3260
- https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_3260.json
- https://access.redhat.com/errata/RHSA-2025:3264
- https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_3264.json
- https://ubuntu.com/security/CVE-2025-21785
- https://git.kernel.org/linus/875d742cf5327c93cba1f11e12b08d3cce7a88d2
- https://ubuntu.com/security/notices/USN-7510-1
- https://ubuntu.com/security/notices/USN-7510-2
- https://ubuntu.com/security/notices/USN-7511-1
- https://ubuntu.com/security/notices/USN-7511-2
- https://ubuntu.com/security/notices/USN-7512-1
- https://ubuntu.com/security/notices/USN-7516-1
- https://ubuntu.com/security/notices/USN-7516-2
- https://ubuntu.com/security/notices/USN-7517-1
- https://ubuntu.com/security/notices/USN-7518-1
- https://ubuntu.com/security/notices/USN-7521-1
- https://ubuntu.com/security/notices/USN-7510-3
- https://ubuntu.com/security/notices/USN-7510-4
- https://ubuntu.com/security/notices/USN-7510-5
- https://ubuntu.com/security/notices/USN-7511-3
- https://ubuntu.com/security/notices/USN-7516-3
- https://ubuntu.com/security/notices/USN-7516-4
- https://ubuntu.com/security/notices/USN-7517-2
- https://ubuntu.com/security/notices/USN-7521-2
- https://ubuntu.com/security/notices/USN-7516-5
- https://ubuntu.com/security/notices/USN-7516-6
- https://ubuntu.com/security/notices/USN-7517-3
- https://ubuntu.com/security/notices/USN-7510-6
- https://ubuntu.com/security/notices/USN-7521-3
- https://ubuntu.com/security/notices/USN-7510-7
- https://ubuntu.com/security/notices/USN-7539-1
- https://ubuntu.com/security/notices/USN-7540-1
- https://ubuntu.com/security/notices/USN-7516-7
- https://ubuntu.com/security/notices/USN-7516-8
- https://ubuntu.com/security/notices/USN-7510-8
- https://ubuntu.com/security/notices/USN-7516-9
- https://ubuntu.com/security/notices/USN-7593-1
- https://ubuntu.com/security/notices/USN-7602-1
- https://ubuntu.com/security/notices/USN-7640-1
- https://ubuntu.com/security/notices/USN-7703-1
- https://ubuntu.com/security/notices/USN-7703-2
- https://ubuntu.com/security/notices/USN-7703-3
- https://ubuntu.com/security/notices/USN-7719-1
- https://ubuntu.com/security/notices/USN-7703-4
- https://ubuntu.com/security/notices/USN-7737-1
- https://security-tracker.debian.org/tracker/CVE-2025-21785