CVE-2025-38342

published 10 Jul 2025 · updated 15 Oct 2026

software node: Correct a OOB check in software_node_get_reference_args()

7.0HighCVSS 7.0EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 142acd739eb6f08c148a96ae8309256f1422ff4b, Kernel 31e4e12e0e9609850cefd4b2e1adf782f56337d6, Kernel 4b3383110b6df48e0ba5936af2cb68d5eb6bd43b and 4 more.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.0, >=59abd83672f70cac4b6bf9b237506c5bc6837606 <142acd739eb6f08c148a96ae8309256f1422ff4b, >=59abd83672f70cac4b6bf9b237506c5bc6837606 <31e4e12e0e9609850cefd4b2e1adf782f56337d6, >=59abd83672f70cac4b6bf9b237506c5bc6837606 <4b3383110b6df48e0ba5936af2cb68d5eb6bd43b, >=59abd83672f70cac4b6bf9b237506c5bc6837606 <56ce76e8d406cc72b89aee7931df5cf3f18db49d, >=59abd83672f70cac4b6bf9b237506c5bc6837606 <7af18e42bdefe1dba5bcb32555a4d524fd504939, >=59abd83672f70cac4b6bf9b237506c5bc6837606 <9324127b07dde8529222dc19233aa57ec810856c, >=59abd83672f70cac4b6bf9b237506c5bc6837606 <f9397cf7bfb680799fb8c7f717c8f756384c3280142acd739eb6f08c148a96ae8309256f1422ff4b, 31e4e12e0e9609850cefd4b2e1adf782f56337d6, 4b3383110b6df48e0ba5936af2cb68d5eb6bd43b, 56ce76e8d406cc72b89aee7931df5cf3f18db49d, 7af18e42bdefe1dba5bcb32555a4d524fd504939, 9324127b07dde8529222dc19233aa57ec810856c, f9397cf7bfb680799fb8c7f717c8f756384c3280

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-38342 severity on Zeptric[![CVE-2025-38342](https://zeptric.io/badge/cve/CVE-2025-38342.svg)](https://zeptric.io/cve/CVE-2025-38342)