iio: adc: ad7923: Fix buffer overflow for tx_buf and ring_xfer
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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().
From the CVE record · Linux
The Linux kernel's AD7923 ADC driver has buffers that were not enlarged when support for eight-channel devices was added. Updating scan mode on such a device can cause a buffer overflow in ad7923_update_scan_mode(). The input does not specify how an attacker could trigger it or whether authentication or user interaction is required.
Engineers running the Linux kernel with an eight-channel device supported by the AD7923 driver should check their installations; affected versions are not specified.