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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 16, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2025-07-10T08:15:11.561Z
- **Modified:** 2026-10-15T22:18:38.860Z

## Who should check

- Anyone running Linux \>= 59abd83672f70cac4b6bf9b237506c5bc6837606, \< 142acd739eb6f08c148a96ae8309256f1422ff4b; \>= 59abd83672f70cac4b6bf9b237506c5bc6837606, \< 56ce76e8d406cc72b89aee7931df5cf3f18db49d; \>= 59abd83672f70cac4b6bf9b237506c5bc6837606, \< 9324127b07dde8529222dc19233aa57ec810856c; \>= 59abd83672f70cac4b6bf9b237506c5bc6837606, \< f9397cf7bfb680799fb8c7f717c8f756384c3280; \>= 59abd83672f70cac4b6bf9b237506c5bc6837606, \< 4b3383110b6df48e0ba5936af2cb68d5eb6bd43b; \>= 59abd83672f70cac4b6bf9b237506c5bc6837606, \< 7af18e42bdefe1dba5bcb32555a4d524fd504939; \>= 59abd83672f70cac4b6bf9b237506c5bc6837606, \< 31e4e12e0e9609850cefd4b2e1adf782f56337d6
- Anyone running Linux 5.0

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

## Affected and fixed versions

- Linux: \>= 59abd83672f70cac4b6bf9b237506c5bc6837606, \< 142acd739eb6f08c148a96ae8309256f1422ff4b; \>= 59abd83672f70cac4b6bf9b237506c5bc6837606, \< 56ce76e8d406cc72b89aee7931df5cf3f18db49d; \>= 59abd83672f70cac4b6bf9b237506c5bc6837606, \< 9324127b07dde8529222dc19233aa57ec810856c; \>= 59abd83672f70cac4b6bf9b237506c5bc6837606, \< f9397cf7bfb680799fb8c7f717c8f756384c3280; \>= 59abd83672f70cac4b6bf9b237506c5bc6837606, \< 4b3383110b6df48e0ba5936af2cb68d5eb6bd43b; \>= 59abd83672f70cac4b6bf9b237506c5bc6837606, \< 7af18e42bdefe1dba5bcb32555a4d524fd504939; \>= 59abd83672f70cac4b6bf9b237506c5bc6837606, \< 31e4e12e0e9609850cefd4b2e1adf782f56337d6 (cvelist)
- Linux: 5.0 (cvelist)

## Mitigation

- Upgrade Linux to 31e4e12e0e9609850cefd4b2e1adf782f56337d6 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38342. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38342.md
Affected: Linux >= 59abd83672f70cac4b6bf9b237506c5bc6837606, < 142acd739eb6f08c148a96ae8309256f1422ff4b; >= 59abd83672f70cac4b6bf9b237506c5bc6837606, < 56ce76e8d406cc72b89aee7931df5cf3f18db49d; >= 59abd83672f70cac4b6bf9b237506c5bc6837606, < 9324127b07dde8529222dc19233aa57ec810856c; >= 59abd83672f70cac4b6bf9b…
Fixed in: Linux 142acd739eb6f08c148a96ae8309256f1422ff4b, Linux 56ce76e8d406cc72b89aee7931df5cf3f18db49d, Linux 9324127b07dde8529222dc19233aa57ec810856c, Linux 4b3383110b6df48e0ba5936af2cb68d5eb6bd43b, Linux 7af18e42bdefe1dba5bcb32555a4d524fd504939, Linux 31e4e12e0e9609850cefd4b2e1adf782f56337d6

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-38342 being exploited?

There is no confirmed exploitation: CVE-2025-38342 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-38342?

High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2025-38342?

Linux \>= 59abd83672f70cac4b6bf9b237506c5bc6837606, \< 142acd739eb6f08c148a96ae8309256f1422ff4b; \>= 59abd83672f70cac4b6bf9b237506c5bc6837606, \< 56ce76e8d406cc72b89aee7931df5cf3f18db49d; \>= 59abd83672f70cac4b6bf9b237506c5bc6837606, \< 9324127b07dde8529222dc19233aa57ec810856c; \>= 59abd83672f70cac4b6bf9b237506c5bc6837606, \< f9397cf7bfb680799fb8c7f717c8f756384c3280; \>= 59abd83672f70cac4b6bf9b237506c5bc6837606, \< 4b3383110b6df48e0ba5936af2cb68d5eb6bd43b; \>= 59abd83672f70cac4b6bf9b237506c5bc6837606, \< 7af18e42bdefe1dba5bcb32555a4d524fd504939; \>= 59abd83672f70cac4b6bf9b237506c5bc6837606, \< 31e4e12e0e9609850cefd4b2e1adf782f56337d6; Linux 5.0.

### Is there a fix for CVE-2025-38342?

Yes. Fixed in Linux 142acd739eb6f08c148a96ae8309256f1422ff4b, Linux 56ce76e8d406cc72b89aee7931df5cf3f18db49d, Linux 9324127b07dde8529222dc19233aa57ec810856c, Linux 4b3383110b6df48e0ba5936af2cb68d5eb6bd43b, Linux 7af18e42bdefe1dba5bcb32555a4d524fd504939, Linux 31e4e12e0e9609850cefd4b2e1adf782f56337d6. Upgrade Linux to 31e4e12e0e9609850cefd4b2e1adf782f56337d6 or later.

### How do I check if I'm affected by CVE-2025-38342?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38342>

HTML: <https://flawdb.com/CVE-2025-38342> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38342>
