U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2025-38342 Detail

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


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
https://git.kernel.org/stable/c/142acd739eb6f08c148a96ae8309256f1422ff4b kernel.org
https://git.kernel.org/stable/c/31e4e12e0e9609850cefd4b2e1adf782f56337d6 kernel.org
https://git.kernel.org/stable/c/4b3383110b6df48e0ba5936af2cb68d5eb6bd43b kernel.org
https://git.kernel.org/stable/c/56ce76e8d406cc72b89aee7931df5cf3f18db49d kernel.org
https://git.kernel.org/stable/c/7af18e42bdefe1dba5bcb32555a4d524fd504939 kernel.org
https://git.kernel.org/stable/c/9324127b07dde8529222dc19233aa57ec810856c kernel.org
https://git.kernel.org/stable/c/f9397cf7bfb680799fb8c7f717c8f756384c3280 kernel.org

Weakness Enumeration

CWE-ID CWE Name Source

Change History

1 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2025-38342
NVD Published Date:
07/10/2025
NVD Last Modified:
07/10/2025
Source:
kernel.org