CVE-2025-38342

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-38342
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38342.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-38342
Downstream
Related
Published
2025-07-10T09:15:29Z
Modified
2025-08-12T21:01:37Z
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

software node: Correct a OOB check in softwarenodegetreferenceargs()

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

References

Affected packages