{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-38142","published":"2025-07-03T09:15:28.883000Z","last_modified":"2026-06-17T09:16:08.370000Z","status":"Analyzed","cvss":{"version":"3.1","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-476"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.18","version_end_excluding":"6.1.142"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.2","version_end_excluding":"6.6.94"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.7","version_end_excluding":"6.12.34"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.13","version_end_excluding":"6.15.3"},{"criteria":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"11.0"}],"cpes_truncated":false,"vendors":["linux","debian"],"products":["linux/linux_kernel","debian/debian_linux"],"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2025-38142/","html_en":"/en/cve/CVE-2025-38142/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-38142","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-38142"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: (asus-ec-sensors) check sensor index in read_string()\n\nPrevent a potential invalid memory access when the requested sensor\nis not found.\n\nfind_ec_sensor_index() may return a negative value (e.g. -ENOENT),\nbut its result was used without checking, which could lead to\nundefined behavior when passed to get_sensor_info().\n\nAdd a proper check to return -EINVAL if sensor_index is negative.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE.\n\n[groeck: Return error code returned from find_ec_sensor_index]","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/19bd9cde38dd4ca1771aed7afba623e7f4247c8e","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/25be318324563c63cbd9cb53186203a08d2f83a1","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/4e9e45746b861ebd54c03ef301da2cb8fc990536","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/6bf529ce84dccc0074dbc704e70aee4aa545057e","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/7eeb3df6f07a886bdfd52757ede127a59a8784dc","tags":["Patch"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["Third Party Advisory"]}]}}