5.5

CVE-2025-21656: hwmon: (drivetemp) Fix driver producing garbage data when SCSI errors occur

Modified
AliasesUBUNTU-CVE-2025-21656DEBIAN-CVE-2025-21656
Published 21-01-2025Last modified 30-10-2026

Vulnerability summary

CVE-2025-21656 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 10.6% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.21%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 28 · Related 28

Timeline

  1. 21-01-2025
    PublishedVulnerability first disclosed.
  2. 30-10-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: hwmon: (drivetemp) Fix driver producing garbage data when SCSI errors occur scsi_execute_cmd() function can return both negative (linux codes) and positive (scsi_cmnd result field) error codes. Currently the driver just passes error codes of scsi_execute_cmd() to hwmon core, which is incorrect because hwmon only checks for negative error codes. This leads to hwmon reporting uninitialized data to userspace in case of SCSI errors (for example if the disk drive was disconnected). This patch checks scsi_execute_cmd() output and returns -EIO if it's error code is positive. [groeck: Avoid inline variable declaration for portability]

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.21%

Chance of exploitation in the next 30 days

Percentile

11%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.20% on 21-10-2026

21-10-202620-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu125 products
  • linuxAll versions (No fix recorded) | < 5.15.0-203.213 | < 6.8.0-60.63
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 5.15.0-1120.127 | < 6.8.0-1029.31
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 5b46903d8bf372e563bf2150d46b87fff197a109, < babdf2a11329d30dc5086eb7a938a360aa490282 | ≥ 5b46903d8bf372e563bf2150d46b87fff197a109, < 0435d35f9d511fa5ddba49c9f68f947e395c93f9 | ≥ 5b46903d8bf372e563bf2150d46b87fff197a109, < f9723fd2770ef5563ff1685f72bcc1c411219c29 | ≥ 5b46903d8bf372e563bf2150d46b87fff197a109, < 53e25b10a28edaf8c2a1d3916fd8929501a50dfc | ≥ 5b46903d8bf372e563bf2150d46b87fff197a109, < 42268d885e44af875a6474f7bba519cc6cea6a9d | ≥ 5b46903d8bf372e563bf2150d46b87fff197a109, < 82163d63ae7a4c36142cd252388737205bb7e4b9 | 5.6
  • linux_kernel≥ 5.6, < 6.6.72 | ≥ 6.7, < 6.12.10 | 6.13:rc1 | 6.13:rc2 | 6.13:rc3 | 6.13:rc4 | 6.13:rc5 | 6.13:rc6
Debian1 product
  • linuxAll versions (No fix recorded) | < 6.1.192-1 | < 6.12.10-1

3 vendors · 128 products

References

30 links
Show all 30 references