CVE-2023-53059 platform/chrome: cros_ec_chardev: fix kernel data leak from ioctl

High 7.1 Published Updated

A local attacker can read uninitialized kernel memory by providing a large input size in Chrome OS EC host commands, potentially exposing sensitive data.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-53059?

CVE-2023-53059 is a high-severity vulnerability in Linux kernel, published on 2 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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

Which versions are affected by CVE-2023-53059?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-53059?

Apply the vendor's patch.

Is CVE-2023-53059 being exploited?

There is no known exploitation of CVE-2023-53059 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-53059, DEBIAN-CVE-2023-53059, GHSA-6jxj-r3pv-7wf7, UBUNTU-CVE-2023-53059.

Is CVE-2023-53059 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free