{"id":"CVE-2025-38342","aliases":["CVE-2025-38342"],"related":[],"kind":"vulnerability","state":"published","title":"software node: Correct a OOB check in software_node_get_reference_args()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsoftware node: Correct a OOB check in software_node_get_reference_args()\n\nsoftware_node_get_reference_args() wants to get @index-th element, so\nthe property value requires at least '(index + 1) * sizeof(*ref)' bytes\nbut that can not be guaranteed by current OOB check, and may cause OOB\nfor malformed property.\n\nFix by using as OOB check '((index + 1) * sizeof(*ref) > prop->length)'.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsoftware node: Correct a OOB check in software_node_get_reference_args()\n\nsoftware_node_get_reference_args() wants to get @index-th element, so\nthe property value requires at least '(index + 1) * sizeof(*ref)' bytes\nbut that can not be guaranteed by current OOB check, and may cause OOB\nfor malformed property.\n\nFix by using as OOB check '((index + 1) * sizeof(*ref) > prop->length)'.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: nodo de software: Se corrige una comprobación OOB en software_node_get_reference_args(). software_node_get_reference_args() busca obtener el elemento @index-ésimo, por lo que el valor de la propiedad requiere al menos '(index + 1) * sizeof(*ref)' bytes, pero esto no se puede garantizar con la comprobación OOB actual y puede causar OOB para una propiedad mal formada. Se corrige usando como comprobación OOB '((index + 1) * sizeof(*ref) &gt; prop-&gt;length)'.","source":"nvd"}],"published":"2025-07-10T08:15:11.561Z","modified":"2026-10-15T22:18:38.860Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"git","introduced":"59abd83672f70cac4b6bf9b237506c5bc6837606","fixed":"142acd739eb6f08c148a96ae8309256f1422ff4b","status":"affected"},{"type":"git","introduced":"59abd83672f70cac4b6bf9b237506c5bc6837606","fixed":"56ce76e8d406cc72b89aee7931df5cf3f18db49d","status":"affected"},{"type":"git","introduced":"59abd83672f70cac4b6bf9b237506c5bc6837606","fixed":"9324127b07dde8529222dc19233aa57ec810856c","status":"affected"},{"type":"git","introduced":"59abd83672f70cac4b6bf9b237506c5bc6837606","fixed":"f9397cf7bfb680799fb8c7f717c8f756384c3280","status":"affected"},{"type":"git","introduced":"59abd83672f70cac4b6bf9b237506c5bc6837606","fixed":"4b3383110b6df48e0ba5936af2cb68d5eb6bd43b","status":"affected"},{"type":"git","introduced":"59abd83672f70cac4b6bf9b237506c5bc6837606","fixed":"7af18e42bdefe1dba5bcb32555a4d524fd504939","status":"affected"},{"type":"git","introduced":"59abd83672f70cac4b6bf9b237506c5bc6837606","fixed":"31e4e12e0e9609850cefd4b2e1adf782f56337d6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.0","status":"unaffected"},{"type":"semver","introduced":"5.10.239","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.186","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.142","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.95","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.35","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.15.4","lastAffected":"6.15.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.16","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.0","fixed":"5.10.239"},{"status":"affected","introduced":"5.11","fixed":"5.15.186"},{"status":"affected","introduced":"5.16","fixed":"6.1.142"},{"status":"affected","introduced":"6.2","fixed":"6.6.95"},{"status":"affected","introduced":"6.7","fixed":"6.12.35"},{"status":"affected","introduced":"6.13","fixed":"6.15.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/142acd739eb6f08c148a96ae8309256f1422ff4b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/56ce76e8d406cc72b89aee7931df5cf3f18db49d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9324127b07dde8529222dc19233aa57ec810856c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f9397cf7bfb680799fb8c7f717c8f756384c3280","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4b3383110b6df48e0ba5936af2cb68d5eb6bd43b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7af18e42bdefe1dba5bcb32555a4d524fd504939","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/31e4e12e0e9609850cefd4b2e1adf782f56337d6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-082556.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-15T21:49:40.301Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-38342","url":"https://www.cve.org/CVERecord?id=CVE-2025-38342","licence":"CVE Terms of Use","modified":"2026-10-15T21:52:14.411Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-38342","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38342","licence":"Public domain","modified":"2026-10-15T22:18:38.860Z"}],"updatedAt":"2026-11-25T22:59:01.085Z","epss":{"score":0.00198,"percentile":0.09983,"date":"2026-12-01T12:00:22.000Z"}}