All reports
Medium

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

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-38342

Probability of exploitation in the next 30 days: 0.20%

FIRST EPSS · 2026-11-24

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

A flaw was found in the Linux kernel's software node subsystem. An improper bounds check when parsing property reference arguments allows a privileged local user to trigger an out-of-bounds memory read by supplying a malformed property. This flaw may lead to unauthorized disclosure of sensitive kernel memory or cause a denial of service (DoS) through a system crash.