CVE-2025-38342
software node: Correct a OOB check in software_node_get_reference_args()
Mitigation
- Upgrade Linux to 31e4e12e0e9609850cefd4b2e1adf782f56337d6 or later.
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
Vulnerability facts
- Affected
- Linux >= 59abd83672f70cac4b6bf9b237506c5bc6837606, < 142acd739eb6f08c148a96ae8309256f1422ff4b; >= 59abd83672f70cac4b6bf9b237506c5bc6837606, < 56ce76e8d406cc72b89aee7931df5cf3f18db49d; >= 59abd83672f70cac4b6bf9b237506c5bc6837606, < 9324127b07dde8529222dc19233aa57ec810856c; >= 59abd83672f70cac4b6bf9b237506c5bc6837606, < f9397cf7bfb680799fb8c7f717c8f756384c3280; >= 59abd83672f70cac4b6bf9b237506c5bc6837606, < 4b3383110b6df48e0ba5936af2cb68d5eb6bd43b; >= 59abd83672f70cac4b6bf9b237506c5bc6837606, < 7af18e42bdefe1dba5bcb32555a4d524fd504939; >= 59abd83672f70cac4b6bf9b237506c5bc6837606, < 31e4e12e0e9609850cefd4b2e1adf782f56337d6; Linux 5.0
- Fixed in
- Linux 142acd739eb6f08c148a96ae8309256f1422ff4b, Linux 56ce76e8d406cc72b89aee7931df5cf3f18db49d, Linux 9324127b07dde8529222dc19233aa57ec810856c, Linux 4b3383110b6df48e0ba5936af2cb68d5eb6bd43b, Linux 7af18e42bdefe1dba5bcb32555a4d524fd504939, Linux 31e4e12e0e9609850cefd4b2e1adf782f56337d6
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.0 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.30% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- CWE
- CWE-125
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 59abd83672f70cac4b6bf9b237506c5bc6837606, < 142acd739eb6f08c148a96ae8309256f1422ff4b; >= 59abd83672f70cac4b6bf9b237506c5bc6837606, < 56ce76e8d406cc72b89aee7931df5cf3f18db49d; >= 59abd83672f70cac4b6bf9b237506c5bc6837606, < 9324127b07dde8529222dc19233aa57ec810856c; >= 59abd83672f70cac4b6bf9b237506c5bc6837606, < f9397cf7bfb680799fb8c7f717c8f756384c3280; >= 59abd83672f70cac4b6bf9b237506c5bc6837606, < 4b3383110b6df48e0ba5936af2cb68d5eb6bd43b; >= 59abd83672f70cac4b6bf9b237506c5bc6837606, < 7af18e42bdefe1dba5bcb32555a4d524fd504939; >= 59abd83672f70cac4b6bf9b237506c5bc6837606, < 31e4e12e0e9609850cefd4b2e1adf782f56337d6 | — | cvelist |
| Linux | 5.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Patches
- 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
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.