CVE-2024-56557 iio: adc: ad7923: Fix buffer overflow for tx_buf and ring_xfer

High 7.8 Published Updated

A buffer overflow in the AD7923 ADC driver allows attackers to potentially execute arbitrary code or escalate privileges within the Linux kernel.

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-56557?

CVE-2024-56557 is a high-severity memory corruption vulnerability in Linux kernel, published on 27 Dec 2024. 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: adc: ad7923: Fix buffer overflow for tx_buf and ring_xfer

The AD7923 was updated to support devices with 8 channels, but the size of tx_buf and ring_xfer was not increased accordingly, leading to a potential buffer overflow in ad7923_update_scan_mode().

Weakness: CWE-120

Which versions are affected by CVE-2024-56557?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-56557?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-56557 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-59019, BELL-CVE-2024-56557, DEBIAN-CVE-2024-56557, GHSA-rh8j-5vmg-wppv, ROOT-OS-DEBIAN-11-CVE-2024-56557, ROOT-OS-UBUNTU-2204-CVE-2024-56557 and 1 more.

Is CVE-2024-56557 in your software?

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

Check your SBOMs for free