CVE-2025-38342

software node: Correct a OOB check in software_node_get_reference_args()

HIGH
7.1
CVSS Score
Published: July 10, 2025 at 08:15 AM UTC
Updated: October 15, 2026 at 10:18 PM UTC
5 products affected across 3 vendorsLinux KernelDebian LinuxSIMATIC S7-1500 CPU 1518-4 Pn /dp MFP Firmware

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.1
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

All versions5.0 ≤ v < 5.10.2395.11 ≤ v < 5.15.1865.16 ≤ v < 6.1.1426.13 ≤ v < 6.15.46.2 ≤ v < 6.6.956.7 ≤ v < 6.12.355.059abd83672f70cac4b6bf9b237506c5bc6837606
Vendor states this is fixed in 142acd739eb6f08c148a96ae8309256f1422ff4b (fixed)
Vendor states this is fixed in 31e4e12e0e9609850cefd4b2e1adf782f56337d6 (fixed)
Vendor states this is fixed in 4b3383110b6df48e0ba5936af2cb68d5eb6bd43b (fixed)
Vendor states this is fixed in 56ce76e8d406cc72b89aee7931df5cf3f18db49d (fixed)
Vendor states this is fixed in 7af18e42bdefe1dba5bcb32555a4d524fd504939 (fixed)
Vendor states this is fixed in 9324127b07dde8529222dc19233aa57ec810856c (fixed)
Vendor states this is fixed in f9397cf7bfb680799fb8c7f717c8f756384c3280 (fixed)
Vendor states this is fixed in 5.0 (unaffected)
Vendor states this is fixed in 5.10.239 (unaffected)
Vendor states this is fixed in 5.15.186 (unaffected)
Vendor states this is fixed in 6.1.142 (unaffected)
Vendor states this is fixed in 6.12.35 (unaffected)
Vendor states this is fixed in 6.15.4 (unaffected)
Vendor states this is fixed in 6.16 (unaffected)
Vendor states this is fixed in 6.6.95 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/142acd739eb6f08c148a96ae8309256f1422ff4b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/31e4e12e0e9609850cefd4b2e1adf782f56337d6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4b3383110b6df48e0ba5936af2cb68d5eb6bd43b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/56ce76e8d406cc72b89aee7931df5cf3f18db49d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7af18e42bdefe1dba5bcb32555a4d524fd504939
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9324127b07dde8529222dc19233aa57ec810856c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f9397cf7bfb680799fb8c7f717c8f756384c3280
Third Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card