VDB

CVE-2025-38342

CVE-2025-38342 PUBLISHED CVSS 7 HIGH

software node: Correct a OOB check in software_node_get_reference_args()

Reported by linux · Published July 10, 2025

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-modules-extraAmazon Linux1:6.1.144-170.251.amzn2023
kernel-tools-develAmazon Linux6.12.35-55.103.amzn2023
kernelAmazon Linux1:6.1.144-170.251.amzn2023
kernel-modules-extra-commonAmazon Linux6.12.35-55.103.amzn2023
kernel-headersAmazon Linux6.12.35-55.103.amzn2023
kernel-toolsAmazon Linux6.12.35-55.103.amzn2023
bpftoolAmazon Linux6.12.35-55.103.amzn2023
perf6.12Amazon Linux6.12.35-55.103.amzn2023
kernel-libbpfAmazon Linux6.12.35-55.103.amzn2023
linux_kernellinux6.15.4, 6.12.35, 6.6.95, 6.1.142, 5.15.186, 5.10.239

Risk scores

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

Affected products

VendorProductVersions
LinuxLinux59abd83672f70cac4b6bf9b237506c5bc6837606, 59abd83672f70cac4b6bf9b237506c5bc6837606, 59abd83672f70cac4b6bf9b237506c5bc6837606
LinuxLinux5.0, 0, 5.10.239
amazon:2023kernel-modules-extra0
amazon:2023kernel-tools-devel0
amazon:2023kernel0
amazon:2023kernel-modules-extra-common0
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.5
amazon:2023kernel-headers0
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.5
amazon:2023kernel-tools0
amazon:2023bpftool0
amazon:2023perf6.120
amazon:2023kernel-libbpf0
linuxlinux_kernel5.0, 5.0, 5.0
amazon:2023kernel-livepatch-6.12.35-55.1030
LinuxLinux5.15.186, 5.10.239, 6.1.142
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.5
amazon:2023python3-perf6.120
amazon:2023kernel6.120
amazon:2023kernel-livepatch-6.1.144-170.2510

…and 6 more

Timeline

  • Jul 9, 2025 CVE Published
  • Jul 10, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 11, 2025 PoC Published (15 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (169 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (175 in total, the first dated here)
  • Jun 9, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-38342
vulnetix vdb fixes CVE-2025-38342

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38342/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›