CVE-2025-38342
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-modules-extra | Amazon Linux | 1:6.1.144-170.251.amzn2023 |
| kernel-tools-devel | Amazon Linux | 6.12.35-55.103.amzn2023 |
| kernel | Amazon Linux | 1:6.1.144-170.251.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 6.12.35-55.103.amzn2023 |
| kernel-headers | Amazon Linux | 6.12.35-55.103.amzn2023 |
| kernel-tools | Amazon Linux | 6.12.35-55.103.amzn2023 |
| bpftool | Amazon Linux | 6.12.35-55.103.amzn2023 |
| perf6.12 | Amazon Linux | 6.12.35-55.103.amzn2023 |
| kernel-libbpf | Amazon Linux | 6.12.35-55.103.amzn2023 |
| linux_kernel | linux | 6.15.4, 6.12.35, 6.6.95, 6.1.142, 5.15.186, 5.10.239 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 59abd83672f70cac4b6bf9b237506c5bc6837606, 59abd83672f70cac4b6bf9b237506c5bc6837606, 59abd83672f70cac4b6bf9b237506c5bc6837606 |
| Linux | Linux | 5.0, 0, 5.10.239 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.5 |
| amazon:2023 | kernel-headers | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.5 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| linux | linux_kernel | 5.0, 5.0, 5.0 |
| amazon:2023 | kernel-livepatch-6.12.35-55.103 | 0 |
| Linux | Linux | 5.15.186, 5.10.239, 6.1.142 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.5 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel-livepatch-6.1.144-170.251 | 0 |
…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