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: <2025061840-CVE-2025-38077-f53e@gregkh>
Date: Wed, 18 Jun 2025 11:34:12 +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-38077: platform/x86: dell-wmi-sysman: Avoid buffer overflow in current_password_store()

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

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

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

platform/x86: dell-wmi-sysman: Avoid buffer overflow in current_password_store()

If the 'buf' array received from the user contains an empty string, the
'length' variable will be zero. Accessing the 'buf' array element with
index 'length - 1' will result in a buffer overflow.

Add a check for an empty string.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

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


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

	Issue introduced in 5.11 with commit e8a60aa7404bfef37705da5607c97737073ac38d and fixed in 5.15.185 with commit fb7cde625872709b8cedad9b241e0ec3d82fa7d3
	Issue introduced in 5.11 with commit e8a60aa7404bfef37705da5607c97737073ac38d and fixed in 6.1.141 with commit 60bd13f8c4b3de2c910ae1cdbef85b9bbc9685f5
	Issue introduced in 5.11 with commit e8a60aa7404bfef37705da5607c97737073ac38d and fixed in 6.6.93 with commit f86465626917df3b8bdd2756ec0cc9d179c5af0f
	Issue introduced in 5.11 with commit e8a60aa7404bfef37705da5607c97737073ac38d and fixed in 6.12.31 with commit 8594a123cfa23d708582dc6fb36da34479ef8a5b
	Issue introduced in 5.11 with commit e8a60aa7404bfef37705da5607c97737073ac38d and fixed in 6.14.9 with commit 97066373ffd55bd9af0b512ff3dd1f647620a3dc
	Issue introduced in 5.11 with commit e8a60aa7404bfef37705da5607c97737073ac38d and fixed in 6.15 with commit 4e89a4077490f52cde652d17e32519b666abf3a6

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-38077
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/platform/x86/dell/dell-wmi-sysman/passobj-attributes.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/fb7cde625872709b8cedad9b241e0ec3d82fa7d3
	https://git.kernel.org/stable/c/60bd13f8c4b3de2c910ae1cdbef85b9bbc9685f5
	https://git.kernel.org/stable/c/f86465626917df3b8bdd2756ec0cc9d179c5af0f
	https://git.kernel.org/stable/c/8594a123cfa23d708582dc6fb36da34479ef8a5b
	https://git.kernel.org/stable/c/97066373ffd55bd9af0b512ff3dd1f647620a3dc
	https://git.kernel.org/stable/c/4e89a4077490f52cde652d17e32519b666abf3a6

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ