CVE-2025-21656 Affecting kernel-coco-devel package, versions <6.4.0-15061.12.coco15sp6.1


Severity

Recommended
0.0
low
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.05% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES156-KERNELCOCODEVEL-8678607
  • published30 Jan 2025
  • disclosed29 Jan 2025

Introduced: 29 Jan 2025

NewCVE-2025-21656  (opens in a new tab)

How to fix?

Upgrade SLES:15.6 kernel-coco-devel to version 6.4.0-15061.12.coco15sp6.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-coco-devel package and not the kernel-coco-devel package as distributed by SLES. See How to fix? for SLES:15.6 relevant fixed versions and status.

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 Scores

version 3.1