| From bippy-5f407fcff5a0 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2024-56557: iio: adc: ad7923: Fix buffer overflow for tx_buf and ring_xfer |
| |
| 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(). |
| |
| The Linux kernel CVE team has assigned CVE-2024-56557 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 5.6 with commit 851644a60d200c9a294de5a5594004bcf13d34c7 and fixed in 6.1.120 with commit 00663d3e000c31d0d49ef86a809f5c107c2d09cd |
| Issue introduced in 5.6 with commit 851644a60d200c9a294de5a5594004bcf13d34c7 and fixed in 6.6.64 with commit e5cac32721997cb8bcb208a29f4598b3faf46338 |
| Issue introduced in 5.6 with commit 851644a60d200c9a294de5a5594004bcf13d34c7 and fixed in 6.12.4 with commit 218ecc35949129171ca39bcc0d407c8dc4cd0bbc |
| Issue introduced in 5.6 with commit 851644a60d200c9a294de5a5594004bcf13d34c7 and fixed in 6.13 with commit 3a4187ec454e19903fd15f6e1825a4b84e59a4cd |
| |
| 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-2024-56557 |
| 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/iio/adc/ad7923.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/00663d3e000c31d0d49ef86a809f5c107c2d09cd |
| https://git.kernel.org/stable/c/e5cac32721997cb8bcb208a29f4598b3faf46338 |
| https://git.kernel.org/stable/c/218ecc35949129171ca39bcc0d407c8dc4cd0bbc |
| https://git.kernel.org/stable/c/3a4187ec454e19903fd15f6e1825a4b84e59a4cd |