cveboard RSS feed

CVE-2025-21656

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2025
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

hwmon: (drivetemp) Fix driver producing garbage data when SCSI errors occur

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]

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
unaffected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
5b46903d8bf372e563bf2150d46b87fff197a109affectedgit53e25b10a28edaf8c2a1d3916fd8929501a50dfcUnavailableNone listed
5b46903d8bf372e563bf2150d46b87fff197a109affectedgit42268d885e44af875a6474f7bba519cc6cea6a9dUnavailableNone listed
5b46903d8bf372e563bf2150d46b87fff197a109affectedgit82163d63ae7a4c36142cd252388737205bb7e4b9UnavailableNone listed

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
affected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
5.6affectedUnavailableUnavailableUnavailableNone listed
0unaffectedsemver5.6UnavailableNone listed
6.6.72unaffectedsemverUnavailable6.6.*None listed
6.12.10unaffectedsemverUnavailable6.12.*None listed
6.13unaffectedoriginal_commit_for_fixUnavailable*None listed