CVE-2025-38142
BaseFortify
Publication date: 2025-07-03
Last updated on: 2025-12-18
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 5.18 (inc) to 6.1.142 (exc) |
| linux | linux_kernel | From 6.2 (inc) to 6.6.94 (exc) |
| linux | linux_kernel | From 6.7 (inc) to 6.12.34 (exc) |
| linux | linux_kernel | From 6.13 (inc) to 6.15.3 (exc) |
| debian | debian_linux | 11.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-476 | The product dereferences a pointer that it expects to be valid but is NULL. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability occurs in the Linux kernel's hwmon (hardware monitoring) subsystem, specifically in the asus-ec-sensors driver. The function find_ec_sensor_index() can return a negative value if a requested sensor is not found, but this return value was not properly checked before being used in get_sensor_info(). This can lead to invalid memory access and undefined behavior. The fix involves adding a check to return an error code (-EINVAL) if the sensor index is negative, preventing potential invalid memory access.
How can this vulnerability impact me? :
This vulnerability can lead to invalid memory access and undefined behavior in the Linux kernel when the system tries to read a sensor that does not exist or is not found. This could potentially cause system instability, crashes, or other unpredictable behavior, which may affect system reliability and security.