CVE-2025-38342 – Linux Kernel Out-of-Bounds Read in software_node_get_reference_args()

The following table lists the changes that have been made to the
CVE-2025-38342 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution
of a vulnerability, and for identifying the most recent changes that may
impact the vulnerability’s severity, exploitability, or other characteristics.

  • New CVE Received
    by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jul. 10, 2025

    Action Type Old Value New Value
    Added 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)’.

    Added Reference https://git.kernel.org/stable/c/142acd739eb6f08c148a96ae8309256f1422ff4b
    Added Reference https://git.kernel.org/stable/c/31e4e12e0e9609850cefd4b2e1adf782f56337d6
    Added Reference https://git.kernel.org/stable/c/4b3383110b6df48e0ba5936af2cb68d5eb6bd43b
    Added Reference https://git.kernel.org/stable/c/56ce76e8d406cc72b89aee7931df5cf3f18db49d
    Added Reference https://git.kernel.org/stable/c/7af18e42bdefe1dba5bcb32555a4d524fd504939
    Added Reference https://git.kernel.org/stable/c/9324127b07dde8529222dc19233aa57ec810856c
    Added Reference https://git.kernel.org/stable/c/f9397cf7bfb680799fb8c7f717c8f756384c3280
Share the Post:

Related Posts