In the Linux kernel, the following vulnerability has been resolved:
hwmon: (asus-ec-sensors) check sensor index in read_string()
Prevent a potential invalid memory access when the requested sensor
is not found.
find_ec_sensor_index() may return a negative value (e.g. -ENOENT),
but its result was used without checking, which could lead to
undefined behavior when passed to get_sensor_info().
Add a proper check to return -EINVAL if sensor_index is negative.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
[groeck: Return error code returned from find_ec_sensor_index]
References
Configurations
History
18 Dec 2025, 21:24
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.5 |
| CPE | cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
|
| CWE | CWE-476 | |
| First Time |
Linux
Debian Debian debian Linux Linux linux Kernel |
|
| References | () https://git.kernel.org/stable/c/19bd9cde38dd4ca1771aed7afba623e7f4247c8e - Patch | |
| References | () https://git.kernel.org/stable/c/25be318324563c63cbd9cb53186203a08d2f83a1 - Patch | |
| References | () https://git.kernel.org/stable/c/4e9e45746b861ebd54c03ef301da2cb8fc990536 - Patch | |
| References | () https://git.kernel.org/stable/c/6bf529ce84dccc0074dbc704e70aee4aa545057e - Patch | |
| References | () https://git.kernel.org/stable/c/7eeb3df6f07a886bdfd52757ede127a59a8784dc - Patch | |
| References | () https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html - Third Party Advisory |
03 Nov 2025, 18:16
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
|
| References |
|
03 Jul 2025, 09:15
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2025-07-03 09:15
Updated : 2025-12-18 21:24
NVD link : CVE-2025-38142
Mitre link : CVE-2025-38142
CVE.ORG link : CVE-2025-38142
JSON object : View
Products Affected
debian
- debian_linux
linux
- linux_kernel
CWE
CWE-476
NULL Pointer Dereference
