CVE Database›Document archive›CVE-2025-38342

CVE-2025-38342

kernel: software node: Correct a OOB check in software_node_get_reference_args()

Loading…

Severity

Moderate

Red Hat Product Security

4.4

CVSS 3.1

Review impact separately from score.

Published · July 10, 2025

Updated · July 30, 2026

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

Statement

Exploiting this vulnerability requires the ability to craft or manipulate firmware node properties from kernel space. Such operations typically require high privileges, such as loading kernel modules or using in-kernel interfaces. Therefore, the vulnerability is not accessible to unprivileged users and is classified as Privileges Required: High (PR:H).

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 4.4
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

CWE-125 · Out-of-bounds Read