CVE-2025-38342

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinux59abd83672f70cac4b6bf9b237506c5bc6837606 < 142acd739eb6f08c148a96ae8309256f1422ff4baffected
LinuxLinux59abd83672f70cac4b6bf9b237506c5bc6837606 < 56ce76e8d406cc72b89aee7931df5cf3f18db49daffected
LinuxLinux59abd83672f70cac4b6bf9b237506c5bc6837606 < 9324127b07dde8529222dc19233aa57ec810856caffected
LinuxLinux59abd83672f70cac4b6bf9b237506c5bc6837606 < f9397cf7bfb680799fb8c7f717c8f756384c3280affected
LinuxLinux59abd83672f70cac4b6bf9b237506c5bc6837606 < 4b3383110b6df48e0ba5936af2cb68d5eb6bd43baffected
LinuxLinux59abd83672f70cac4b6bf9b237506c5bc6837606 < 7af18e42bdefe1dba5bcb32555a4d524fd504939affected
LinuxLinux59abd83672f70cac4b6bf9b237506c5bc6837606 < 31e4e12e0e9609850cefd4b2e1adf782f56337d6affected
LinuxLinux5.0affected
LinuxLinux0 < 5.0unaffected
LinuxLinux5.10.239 <= 5.10.*unaffected
LinuxLinux5.15.186 <= 5.15.*unaffected
LinuxLinux6.1.142 <= 6.1.*unaffected
LinuxLinux6.6.95 <= 6.6.*unaffected
LinuxLinux6.12.35 <= 6.12.*unaffected
LinuxLinux6.15.4 <= 6.15.*unaffected
LinuxLinux6.16 <= *unaffected

Weaknesses

ADP Enrichment

CVE Program Container

Additional References

Additional References

References