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: <2025050209-CVE-2023-53059-47f3@gregkh>
Date: Fri,  2 May 2025 17:55:24 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2023-53059: platform/chrome: cros_ec_chardev: fix kernel data leak from ioctl

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

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

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

platform/chrome: cros_ec_chardev: fix kernel data leak from ioctl

It is possible to peep kernel page's data by providing larger `insize`
in struct cros_ec_command[1] when invoking EC host commands.

Fix it by using zeroed memory.

[1]: https://elixir.bootlin.com/linux/v6.2/source/include/linux/platform_data/cros_ec_proto.h#L74

The Linux kernel CVE team has assigned CVE-2023-53059 to this issue.


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

	Issue introduced in 5.4 with commit eda2e30c6684d67288edb841c6125d48c608a242 and fixed in 5.4.240 with commit 13493ad6a220cb3f6f3552a16b4f2753a118b633
	Issue introduced in 5.4 with commit eda2e30c6684d67288edb841c6125d48c608a242 and fixed in 5.10.177 with commit f86ff88a1548ccf5a13960c0e7625ca787ea0993
	Issue introduced in 5.4 with commit eda2e30c6684d67288edb841c6125d48c608a242 and fixed in 5.15.105 with commit ebea2e16504f40d2c2bac42ad5c5a3de5ce034b4
	Issue introduced in 5.4 with commit eda2e30c6684d67288edb841c6125d48c608a242 and fixed in 6.1.22 with commit eab28bfafcd1245a3510df9aa9eb940589956ea6
	Issue introduced in 5.4 with commit eda2e30c6684d67288edb841c6125d48c608a242 and fixed in 6.2.9 with commit a0d8644784f73fa39f57f72f374eefaba2bf48a0
	Issue introduced in 5.4 with commit eda2e30c6684d67288edb841c6125d48c608a242 and fixed in 6.3 with commit b20cf3f89c56b5f6a38b7f76a8128bf9f291bbd3

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-2023-53059
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/chrome/cros_ec_chardev.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/13493ad6a220cb3f6f3552a16b4f2753a118b633
	https://git.kernel.org/stable/c/f86ff88a1548ccf5a13960c0e7625ca787ea0993
	https://git.kernel.org/stable/c/ebea2e16504f40d2c2bac42ad5c5a3de5ce034b4
	https://git.kernel.org/stable/c/eab28bfafcd1245a3510df9aa9eb940589956ea6
	https://git.kernel.org/stable/c/a0d8644784f73fa39f57f72f374eefaba2bf48a0
	https://git.kernel.org/stable/c/b20cf3f89c56b5f6a38b7f76a8128bf9f291bbd3

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ