CVE-2025-38342
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-07-10

Last updated on: 2025-12-16

Assigner: kernel.org

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)'.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-07-10
Last Modified
2025-12-16
Generated
2026-05-07
AI Q&A
2025-07-10
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 3 associated CPEs
Vendor Product Version / Range
linux linux_kernel From 5.11 (inc) to 5.15.186 (inc)
debian debian_linux 11.0
linux linux_kernel 3.1
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-125 The product reads data past the end, or before the beginning, of the intended buffer.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is an out-of-bounds (OOB) check issue in the Linux kernel function software_node_get_reference_args(). The function attempts to access the @index-th element of a property value, but the existing OOB check does not properly ensure that the property value has enough bytes to safely access that element. This can lead to out-of-bounds access when the property is malformed. The fix involves correcting the OOB check to properly verify that the property length is sufficient before accessing the element.


How can this vulnerability impact me? :

This vulnerability can cause out-of-bounds memory access in the Linux kernel, which may lead to system instability, crashes, or potentially allow an attacker to execute arbitrary code or cause denial of service if they can supply malformed properties to trigger the flaw.


What immediate steps should I take to mitigate this vulnerability?

Apply the patch or update to the fixed version of the Linux kernel that includes the correction for the out-of-bounds (OOB) check in software_node_get_reference_args(). This fix ensures proper bounds checking to prevent OOB access caused by malformed properties.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart