Skip to main content
Network Thinking Solutions Logo

CVE-2025-38142

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.

All CVEs
CVE-2025-38142Published 7/3/2025

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.

Vendor advisory
CVSS5.5Medium

Overview

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]

Published
7/3/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.18, < 6.1.142

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.94

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.34

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.15.3

Verify advisory

Source
debian linux
debian
11.0

Verify advisory

Source
Linux
Linux
≥ d0ddfd241e5719d696bc0b081e260db69d368668, < 6bf529ce84dccc0074dbc704e70aee4aa545057e

Verify advisory

Source
Linux
Linux
≥ d0ddfd241e5719d696bc0b081e260db69d368668, < 4e9e45746b861ebd54c03ef301da2cb8fc990536

Verify advisory

Source
Linux
Linux
≥ d0ddfd241e5719d696bc0b081e260db69d368668, < 19bd9cde38dd4ca1771aed7afba623e7f4247c8e

Verify advisory

Source
Linux
Linux
≥ d0ddfd241e5719d696bc0b081e260db69d368668, < 7eeb3df6f07a886bdfd52757ede127a59a8784dc

Verify advisory

Source
Linux
Linux
≥ d0ddfd241e5719d696bc0b081e260db69d368668, < 25be318324563c63cbd9cb53186203a08d2f83a1

Verify advisory

Source
Linux
Linux
5.18

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.