CVE-2025-38342

software node: Correct a OOB check in software_node_get_reference_args()

HIGH 7.0

At a glance

Source
NVD
EPSS
EPSS 0.19 % · percentile 9 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.0CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.0CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 59abd83672f70cac4b6bf9b237506c5bc6837606 < 142acd739eb6f08c148a96ae8309256f1422ff4b ; affected 59abd83672f70cac4b6bf9b237506c5bc6837606 < 56ce76e8d406cc72b89aee7931df5cf3f18db49d ; affected 59abd83672f70cac4b6bf9b237506c5bc6837606 < 9324127b07dde8529222dc19233aa57ec810856c ; affected 59abd83672f70cac4b6bf9b237506c5bc6837606 < f9397cf7bfb680799fb8c7f717c8f756384c3280 ; affected 59abd83672f70cac4b6bf9b237506c5bc6837606 < 4b3383110b6df48e0ba5936af2cb68d5eb6bd43b ; affected 59abd83672f70cac4b6bf9b237506c5bc6837606 < 7af18e42bdefe1dba5bcb32555a4d524fd504939
Linux · Linuxaffected 5.0 ; unaffected 0 < 5.0 ; unaffected 5.10.239 ≤ 5.10.* ; unaffected 5.15.186 ≤ 5.15.* ; unaffected 6.1.142 ≤ 6.1.* ; unaffected 6.6.95 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD