lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025081627-CVE-2025-38548-6800@gregkh>
Date: Sat, 16 Aug 2025 13:34:25 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-38548: hwmon: (corsair-cpro) Validate the size of the received input buffer

From: Greg Kroah-Hartman <gregkh@...nel.org>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

hwmon: (corsair-cpro) Validate the size of the received input buffer

Add buffer_recv_size to store the size of the received bytes.
Validate buffer_recv_size in send_usb_cmd().

The Linux kernel CVE team has assigned CVE-2025-38548 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 5.9 with commit 40c3a445422579db8ad96c234dbe6c0ab3f6b936 and fixed in 6.1.147 with commit 0db770e2922389753ddbd6663a5516a32b97b743
	Issue introduced in 5.9 with commit 40c3a445422579db8ad96c234dbe6c0ab3f6b936 and fixed in 6.6.100 with commit eda5e38cc4dd2dcb422840540374910ef2818494
	Issue introduced in 5.9 with commit 40c3a445422579db8ad96c234dbe6c0ab3f6b936 and fixed in 6.12.40 with commit 3c4bdc8a852e446080adc8ceb90ddd67a56e1bb8
	Issue introduced in 5.9 with commit 40c3a445422579db8ad96c234dbe6c0ab3f6b936 and fixed in 6.15.8 with commit 2771d2ee3d95700f34e1e4df6a445c90565cd4e9
	Issue introduced in 5.9 with commit 40c3a445422579db8ad96c234dbe6c0ab3f6b936 and fixed in 6.16 with commit 495a4f0dce9c8c4478c242209748f1ee9e4d5820

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2025-38548
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/hwmon/corsair-cpro.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/0db770e2922389753ddbd6663a5516a32b97b743
	https://git.kernel.org/stable/c/eda5e38cc4dd2dcb422840540374910ef2818494
	https://git.kernel.org/stable/c/3c4bdc8a852e446080adc8ceb90ddd67a56e1bb8
	https://git.kernel.org/stable/c/2771d2ee3d95700f34e1e4df6a445c90565cd4e9
	https://git.kernel.org/stable/c/495a4f0dce9c8c4478c242209748f1ee9e4d5820

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ