CVE-2025-38342CWE-125

CVE-2025-38342

High · published July 10, 2025

CVSS v3.1
7.0
EPSS
0%
Percentile
8.5
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
7.0 · HIGH
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00193 · 8.5th percentile
Weakness
CWE-125 · Out-of-bounds Read
Published
2025-07-10T13:15Z
Affected products (7)
ProductVersionsFixed in
linux/linux_kernel≥ 5.0, < 5.10.2395.10.239
linux/linux_kernel≥ 5.11, < 5.15.1865.15.186
linux/linux_kernel≥ 5.16, < 6.1.1426.1.142
linux/linux_kernel≥ 6.2, < 6.6.956.6.95
linux/linux_kernel≥ 6.7, < 6.12.356.12.35
linux/linux_kernel≥ 6.13, < 6.15.46.15.4
debian/debian_linuxall versions—
References (10)
EPSS history
Timeline
  • 10 JUL 08:15Z
    software node: Correct a OOB check in software_node_get_reference_args()
    cvelistv5