High severity · published Jul 10, 2025
CVE-2025-38342
software node: Correct a OOB check in software_node_get_reference_args()
7.1
CVSS
0.2%
EPSS
No
On KEV
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)'.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 9% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
5.0 before 5.10.239; 5.11 before 5.15.186; 5.16 before 6.1.142; 6.2 before 6.6.95; 6.7 before 6.12.35; 6.13 before 6.15.4 · source: NVD
LI
Linux · Linux
59abd83672f70cac4b6bf9b237506c5bc6837606 before 142acd739eb6f08c148a96ae8309256f1422ff4b; 59abd83672f70cac4b6bf9b237506c5bc6837606 before 56ce76e8d406cc72b89aee7931df5cf3f18db49d; 59abd83672f70cac4b6bf9b237506c5bc6837606 before 9324127b07dde8529222dc19233aa57ec810856c; 59abd83672f70cac4b6bf9b237506c5bc6837606 before f9397cf7bfb680799fb8c7f717c8f756384c3280; 59abd83672f70cac4b6bf9b237506c5bc6837606 before 4b3383110b6df48e0ba5936af2cb68d5eb6bd43b; 59abd83672f70cac4b6bf9b237506c5bc6837606 before 7af18e42bdefe1dba5bcb32555a4d524fd504939; +2 more · source: vendor
DL
Debian Linux · Debian
11.0 · source: NVD
SS
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP · Siemens
V3.1.5; V3.1.5 · source: CISA
SS
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP · Siemens
V3.1.5; V3.1.5 · source: CISA
SS
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP · Siemens
V3.1.5 · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-38342
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-38342
Patch
https://git.kernel.org/stable/c/142acd739eb6f08c148a96ae8309256f1422ff4b
Patch
https://git.kernel.org/stable/c/31e4e12e0e9609850cefd4b2e1adf782f56337d6
Patch
https://git.kernel.org/stable/c/4b3383110b6df48e0ba5936af2cb68d5eb6bd43b
Patch
https://git.kernel.org/stable/c/56ce76e8d406cc72b89aee7931df5cf3f18db49d
Patch
https://git.kernel.org/stable/c/7af18e42bdefe1dba5bcb32555a4d524fd504939
Patch
https://git.kernel.org/stable/c/9324127b07dde8529222dc19233aa57ec810856c
More from Kernel
9.8
CVE-2025-39682
tls: fix handling of zero-length records on the rx_list
8.8
CVE-2026-53266
netfilter: bridge: make ebt_snat ARP rewrite writable
8.8
CVE-2013-6282
Linux Kernel Improper Input Validation Vulnerability
8.4
CVE-2022-0185
Linux Kernel Heap-Based Buffer Overflow Vulnerability
8.4
CVE-2013-2094
Linux Kernel Privilege Escalation Vulnerability
