# CVE-2025-38342: software node: Correct a OOB check in software_node_get_reference_args()

- Severity: High 7.0 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 9% of CVEs (2026-12-01)
- Published: 2025-07-10T08:15:11.561Z
- Modified: 2026-10-15T22:18:38.860Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

software node: Correct a OOB check in software_node_get_reference_args()

software_node_get_reference_args() wants to get @index-th element, so
the property value requires at least '(index + 1) * sizeof(*ref)' bytes
but that can not be guaranteed by current OOB check, and may cause OOB
for malformed property.

Fix by using as OOB check '((index + 1) * sizeof(*ref) > prop->length)'.

(As written by CVE List.)

## Affected

- Linux Linux: from 59abd83672f70cac4b6bf9b237506c5bc6837606 before 142acd739eb6f08c148a96ae8309256f1422ff4b; from 59abd83672f70cac4b6bf9b237506c5bc6837606 before 56ce76e8d406cc72b89aee7931df5cf3f18db49d; from 59abd83672f70cac4b6bf9b237506c5bc6837606 before 9324127b07dde8529222dc19233aa57ec810856c; from 59abd83672f70cac4b6bf9b237506c5bc6837606 before f9397cf7bfb680799fb8c7f717c8f756384c3280; from 59abd83672f70cac4b6bf9b237506c5bc6837606 before 4b3383110b6df48e0ba5936af2cb68d5eb6bd43b; from 59abd83672f70cac4b6bf9b237506c5bc6837606 before 7af18e42bdefe1dba5bcb32555a4d524fd504939; from 59abd83672f70cac4b6bf9b237506c5bc6837606 before 31e4e12e0e9609850cefd4b2e1adf782f56337d6; 5.0 (not affected: before 5.0; from 5.10.239 up to 5.10.*; from 5.15.186 up to 5.15.*; from 6.1.142 up to 6.1.*; from 6.6.95 up to 6.6.*; from 6.12.35 up to 6.12.*; from 6.15.4 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 5.0 before 5.10.239; from 5.11 before 5.15.186; from 5.16 before 6.1.142; from 6.2 before 6.6.95; from 6.7 before 6.12.35; from 6.13 before 6.15.4
- debian debian_linux: 11.0

## Every score

- Linux: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/142acd739eb6f08c148a96ae8309256f1422ff4b> (patch)
- <https://git.kernel.org/stable/c/56ce76e8d406cc72b89aee7931df5cf3f18db49d> (patch)
- <https://git.kernel.org/stable/c/9324127b07dde8529222dc19233aa57ec810856c> (patch)
- <https://git.kernel.org/stable/c/f9397cf7bfb680799fb8c7f717c8f756384c3280> (patch)
- <https://git.kernel.org/stable/c/4b3383110b6df48e0ba5936af2cb68d5eb6bd43b> (patch)
- <https://git.kernel.org/stable/c/7af18e42bdefe1dba5bcb32555a4d524fd504939> (patch)
- <https://git.kernel.org/stable/c/31e4e12e0e9609850cefd4b2e1adf782f56337d6> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html> (third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>

## Sources

- CVE List: [CVE-2025-38342](https://www.cve.org/CVERecord?id=CVE-2025-38342), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-38342](https://nvd.nist.gov/vuln/detail/CVE-2025-38342), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2025-38342 · Whole record: https://cve.day/CVE-2025-38342.json · Rebuilt by cve.day 2026-11-25T22:59:01.085Z
