CVE Catalog

CVE-2025-38342

HighCVSS 7.0
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.16%

6th percentile - higher than 6% of all known CVEs

Summary

In the Linux kernel's software node, an out-of-bounds (OOB) check bug in software_node_get_reference_args() can cause out-of-bounds read for maliciously crafted properties.

Risk Assessment

This bug could allow an attacker to read kernel memory beyond bounds, leading to information disclosure or system instability.

Recommendation

Apply the kernel patch that fixes the OOB check by using the condition ((index + 1) * sizeof(*ref) > prop->length).

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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

Vulnerability data from NVD (NIST) · CISA KEV · EPSS