Live threats

All CVEs / Linux

CVE-2025-38142Linux Kernel

Medium 5.5

Priority
33
CVSS 3.1
5.5
EPSS
—
Auth required
Yes
Published
Jul 3, 2025
Updated
Jun 17, 2026
Category
Operating system · Linux
Weakness (CWE)
CWE-476
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What happens

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]

Original NVD text.

What to do

  1. Apply the vendor's security update for Linux Kernel.

Affected products (CPE)

VendorProductVersions
linuxlinux_kernel≥ 5.18 < 6.1.142
linuxlinux_kernel≥ 6.2 < 6.6.94
linuxlinux_kernel≥ 6.7 < 6.12.34
linuxlinux_kernel≥ 6.13 < 6.15.3
debiandebian_linux11.0

Official sources

References

Links published by the sources. Open them with care.