CVE-2025-71086
Linux Kernel 4.19.304 – 4.20
Raw vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2025-71086 is a high-severity Improper Validation of Array Index (CWE-129) vulnerability in Linux Kernel. Its CVSS base score is 7.8 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked at the 4th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
CVE-2025-71086 is a vulnerability in the Linux kernel's ROSE networking module, specifically in the rose_kill_by_device() function. This function collects sockets bound to a device being brought down into a local array and iterates over them to disconnect them. Due to a coding error, the loop incorrectly indexes array[cnt] instead of array[i], resulting in either reading an uninitialized entry when cnt is less than the array size or an out-of-bounds read when cnt equals the array size. This can lead to dereferencing an invalid socket pointer and leaking references taken via sock_hold(). The vulnerability is rated 7.8 on the CVSS 3.1 scale (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) and is associated with CWE-129 (Improper Validation of Array Index).
A local attacker with low privileges can exploit this vulnerability by triggering the rose_kill_by_device() function, such as when a ROSE device is brought down. The low attack complexity and lack of user interaction requirement make it straightforward to invoke. Successful exploitation can result in high impacts across confidentiality, integrity, and availability, potentially through kernel crashes from invalid pointer dereferences, memory corruption, or reference leaks that enable further privilege escalation or denial of service.
Mitigation involves applying patches from the Linux kernel stable repository, as detailed in the referenced commits: https://git.kernel.org/stable/c/1418c12cd3bba79dc56b57b61c99efe40f579981, https://git.kernel.org/stable/c/6595beb40fb0ec47223d3f6058ee40354694c8e4, https://git.kernel.org/stable/c/819fb41ae54960f66025802400c9d3935eef4042, https://git.kernel.org/stable/c/92d900aac3a5721fb54f3328f1e089b44a861c38, and https://git.kernel.org/stable/c/9f6185a32496834d6980b168cffcccc2d6b17280. These patches correct the array index to use 'i' instead of 'cnt', preventing the invalid reads. Security practitioners should update affected Linux kernels, particularly those with ROSE support enabled.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2026-2247
Vulnerability Data
In the Linux kernel, the following vulnerability has been resolved: net: rose: fix invalid array index in rose_kill_by_device() rose_kill_by_device() collects sockets into a local array[] and then iterates over them to disconnect sockets bound to a device being brought down.…
more
The loop mistakenly indexes array[cnt] instead of array[i]. For cnt < ARRAY_SIZE(array), this reads an uninitialized entry; for cnt == ARRAY_SIZE(array), it is an out-of-bounds read. Either case can lead to an invalid socket pointer dereference and also leaks references taken via sock_hold(). Fix the index to use i.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Secure SDLC practices directly require input validation and bounds checking that prevent improper array indexing.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Security testing in development can detect out-of-bounds array access but does not prevent the weakness by itself.
A.5.21's reach is on supplier relationships and third-party attestations; the penetration testing it names validates supplier security posture and compliance with stated requirements, not discovery of implementation defects in delivered code, and CWE-129 is a first-party implementation flaw the clause does not reach.
Training developers on secure coding practices (input validation, bounds checking) reduces instances of improper array index validation, but is fallible — developers can still write code with missing or incorrect bounds checks even after training, leaving a substantial remainder.
Secure coding standards explicitly require bounds checking and validation of array indices derived from untrusted data.
A.8.30 carries its effect through the secure-development practices (8.25–8.29) its contract requires of the supplier, so it reduces ordinary implementation-phase software weaknesses like CWE-129 in delivered code the way those practices do, at the clause's declared ceiling of `partial`.
A.8.8's reach is DISCLOSURE — it sees array-index validation errors only where they have been published as CVEs or vendor advisories, and most CWE-129 instances in first-party code never surface that way; the observed CVEs show the class does get disclosed, so the found share is a minority rather than zero.