CVE-2024-57911 iio: dummy: iio_simply_dummy_buffer: fix information leak in triggered buffer

High 7.1 Published Updated

A local attacker can read uninitialized kernel memory via the IIO dummy buffer driver due to missing initialization of inactive channels.

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-2024-57911?

CVE-2024-57911 is a high-severity vulnerability in Linux kernel, published on 19 Jan 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:

iio: dummy: iio_simply_dummy_buffer: fix information leak in triggered buffer

The 'data' array is allocated via kmalloc() and it is used to push data to user space from a triggered buffer, but it does not set values for inactive channels, as it only uses iio_for_each_active_channel() to assign new values.

Use kzalloc for the memory allocation to avoid pushing uninitialized information to userspace.

Weakness: CWE-908

Which versions are affected by CVE-2024-57911?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-57911?

Apply the vendor's patch.

Is CVE-2024-57911 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-56235, AZL-56243, BELL-CVE-2024-57911, DEBIAN-CVE-2024-57911, GHSA-2w6v-cv9c-qwv2, UBUNTU-CVE-2024-57911.

Is CVE-2024-57911 in your software?

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

Check your SBOMs for free