CVE-2025-38142
publishedhwmon: (asus-ec-sensors) check sensor index in read_string()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxd0ddfd241e5719d696bc0b081e260db69d368668 to < 6bf529ce84dccc0074dbc704e70aee4aa545057e · d0ddfd241e5719d696bc0b081e260db69d368668 to < 4e9e45746b861ebd54c03ef301da2cb8fc990536 · d0ddfd241e5719d696bc0b081e260db69d368668 to < 19bd9cde38dd4ca1771aed7afba623e7f4247c8e · d0ddfd241e5719d696bc0b081e260db69d368668 to < 7eeb3df6f07a886bdfd52757ede127a59a8784dc · d0ddfd241e5719d696bc0b081e260db69d368668 to < 25be318324563c63cbd9cb53186203a08d2f83a1 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.18 (affected) · 0 to < 5.18 (unaffected · semver) · 6.1.142 through 6.1.* (unaffected · semver) · 6.6.94 through 6.6.* (unaffected · semver) · 6.12.34 through 6.12.* (unaffected · semver) · 6.15.3 through 6.15.* (unaffected · semver) · 6.16 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bookworm | linux | Advisory build | 6.1.147-1 | DSA-5973-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.153-1~deb11u1 | DLA-4328-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaults390x | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.49.1 | SUSE-SU-2025:03023-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaults390x | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.49.1 | SUSE-SU-2025:03023-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaults390x | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.49.1 | SUSE-SU-2025:03023-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-64kbaarch64 | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-64kb-develaarch64 | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azureaarch64 | Advisory build | 6.4.0-150600.8.48.1 | SUSE-SU-2025:02969-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azurex86_64 | Advisory build | 6.4.0-150600.8.48.1 | SUSE-SU-2025:02969-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azure-develaarch64 | Advisory build | 6.4.0-150600.8.48.1 | SUSE-SU-2025:02969-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azure-develx86_64 | Advisory build | 6.4.0-150600.8.48.1 | SUSE-SU-2025:02969-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-cocox86_64 | Advisory build | 6.4.0-15061.28.coco15sp6.1 | SUSE-SU-2025:02923-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-coco-develx86_64 | Advisory build | 6.4.0-15061.28.coco15sp6.1 | SUSE-SU-2025:02923-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-coco_debugx86_64 | Advisory build | 6.4.0-15061.28.coco15sp6.1 | SUSE-SU-2025:02923-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-coco_debug-develx86_64 | Advisory build | 6.4.0-15061.28.coco15sp6.1 | SUSE-SU-2025:02923-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaultaarch64 | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaultppc64le | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaults390x | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaultx86_64 | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-baseaarch64 | Advisory build | 6.4.0-150600.23.65.1.150600.12.28.4 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-baseppc64le | Advisory build | 6.4.0-150600.23.65.1.150600.12.28.4 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-basex86_64 | Advisory build | 6.4.0-150600.23.65.1.150600.12.28.4 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-develaarch64 | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-develppc64le | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-devels390x | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-develx86_64 | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-extrax86_64 | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatchppc64le | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatchs390x | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatchx86_64 | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatch-develppc64le | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatch-devels390x | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatch-develx86_64 | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-develnoarch | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-devel-azurenoarch | Advisory build | 6.4.0-150600.8.48.1 | SUSE-SU-2025:02969-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-devel-coconoarch | Advisory build | 6.4.0-15061.28.coco15sp6.1 | SUSE-SU-2025:02923-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-devel-rtnoarch | Advisory build | 6.4.0-150600.10.49.1 | SUSE-SU-2025:03023-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-docsnoarch | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_10_49-rtx86_64 | Advisory build | 1-150600.1.5.1 | SUSE-SU-2025:03023-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_23_65-defaultppc64le | Advisory build | 1-150600.13.3.4 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_23_65-defaults390x | Advisory build | 1-150600.13.3.4 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_23_65-defaultx86_64 | Advisory build | 1-150600.13.3.4 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-macrosnoarch | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-buildaarch64 | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-buildppc64le | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-builds390x | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-buildx86_64 | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-rtx86_64 | Advisory build | 6.4.0-150600.10.49.1 | SUSE-SU-2025:03023-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-rt-develx86_64 | Advisory build | 6.4.0-150600.10.49.1 | SUSE-SU-2025:03023-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-rt_debugx86_64 | Advisory build | 6.4.0-150600.10.49.1 | SUSE-SU-2025:03023-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-rt_debug-develx86_64 | Advisory build | 6.4.0-150600.10.49.1 | SUSE-SU-2025:03023-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-sourcenoarch | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-source-azurenoarch | Advisory build | 6.4.0-150600.8.48.1 | SUSE-SU-2025:02969-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-source-coconoarch | Advisory build | 6.4.0-15061.28.coco15sp6.1 | SUSE-SU-2025:02923-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-source-rtnoarch | Advisory build | 6.4.0-150600.10.49.1 | SUSE-SU-2025:03023-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symsaarch64 | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symsppc64le | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symss390x | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symsx86_64 | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-syms-azureaarch64 | Advisory build | 6.4.0-150600.8.48.1 | SUSE-SU-2025:02969-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-syms-azurex86_64 | Advisory build | 6.4.0-150600.8.48.1 | SUSE-SU-2025:02969-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-syms-cocox86_64 | Advisory build | 6.4.0-15061.28.coco15sp6.1 | SUSE-SU-2025:02923-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-syms-rtx86_64 | Advisory build | 6.4.0-150600.10.49.1 | SUSE-SU-2025:03023-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-zfcpdumps390x | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaults390x | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.49.1 | SUSE-SU-2025:03023-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-cocox86_64 | Advisory build | 6.4.0-15061.28.coco15sp6.1 | SUSE-SU-2025:02923-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaults390x | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-defaultaarch64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-defaultppc64le | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-defaults390x | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-rtx86_64 | Advisory build | 6.4.0-150700.7.13.1 | SUSE-SU-2025:02853-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-defaultaarch64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-defaultppc64le | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-defaults390x | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-defaultx86_64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-rtx86_64 | Advisory build | 6.4.0-150700.7.13.1 | SUSE-SU-2025:02853-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-defaultaarch64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-defaultppc64le | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-defaults390x | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-defaultx86_64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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]
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | d0ddfd241e5719d696bc0b081e260db69d368668 to < 6bf529ce84dccc0074dbc704e70aee4aa545057e (affected · git)d0ddfd241e5719d696bc0b081e260db69d368668 to < 4e9e45746b861ebd54c03ef301da2cb8fc990536 (affected · git)d0ddfd241e5719d696bc0b081e260db69d368668 to < 19bd9cde38dd4ca1771aed7afba623e7f4247c8e (affected · git)d0ddfd241e5719d696bc0b081e260db69d368668 to < 7eeb3df6f07a886bdfd52757ede127a59a8784dc (affected · git)d0ddfd241e5719d696bc0b081e260db69d368668 to < 25be318324563c63cbd9cb53186203a08d2f83a1 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.18 (affected)0 to < 5.18 (unaffected · semver)6.1.142 through 6.1.* (unaffected · semver)6.6.94 through 6.6.* (unaffected · semver)6.12.34 through 6.12.* (unaffected · semver)6.15.3 through 6.15.* (unaffected · semver)6.16 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
6- https://git.kernel.org/stable/c/19bd9cde38dd4ca1771aed7afba623e7f4247c8e
- https://git.kernel.org/stable/c/25be318324563c63cbd9cb53186203a08d2f83a1
- https://git.kernel.org/stable/c/4e9e45746b861ebd54c03ef301da2cb8fc990536
- https://git.kernel.org/stable/c/6bf529ce84dccc0074dbc704e70aee4aa545057e
- https://git.kernel.org/stable/c/7eeb3df6f07a886bdfd52757ede127a59a8784dc
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
Provider assertions
2Linux · cna
hwmon: (asus-ec-sensors) check sensor index in read_string()
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7aff639271d7cf304b862049790ce5e6f9de30be32c01f7c2d746aa3af798ba3
- Ingested
- 23 Sep 2026, 08:46:29 UTC
- Source record
- Official CVE record