| 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-57912: iio: pressure: zpa2326: fix information leak in triggered buffer |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| iio: pressure: zpa2326: fix information leak in triggered buffer |
| |
| The 'sample' local struct is used to push data to user space from a |
| triggered buffer, but it has a hole between the temperature and the |
| timestamp (u32 pressure, u16 temperature, GAP, u64 timestamp). |
| This hole is never initialized. |
| |
| Initialize the struct to zero before using it to avoid pushing |
| uninitialized information to userspace. |
| |
| The Linux kernel CVE team has assigned CVE-2024-57912 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 4.9 with commit 03b262f2bbf43b82eaef82ffb3bc671d5b5c8da1 and fixed in 5.4.290 with commit 9629ff1a86823269b12fb1ba9ca4efa945906287 |
| Issue introduced in 4.9 with commit 03b262f2bbf43b82eaef82ffb3bc671d5b5c8da1 and fixed in 5.10.234 with commit d25f1fc273670271412a52a1efbdaf5dcf274ed8 |
| Issue introduced in 4.9 with commit 03b262f2bbf43b82eaef82ffb3bc671d5b5c8da1 and fixed in 5.15.177 with commit 64a989aa7475b8e76e69b9ec86819ea293e53bab |
| Issue introduced in 4.9 with commit 03b262f2bbf43b82eaef82ffb3bc671d5b5c8da1 and fixed in 6.1.125 with commit b7849f62e61242e0e02c776e1109eb81e59c567c |
| Issue introduced in 4.9 with commit 03b262f2bbf43b82eaef82ffb3bc671d5b5c8da1 and fixed in 6.6.72 with commit fefb88a4da961a0b9c2473cbdcfce1a942fcfa9a |
| Issue introduced in 4.9 with commit 03b262f2bbf43b82eaef82ffb3bc671d5b5c8da1 and fixed in 6.12.10 with commit 979a0db76ceda8fe1f2f85a116bfe97620ebbadf |
| Issue introduced in 4.9 with commit 03b262f2bbf43b82eaef82ffb3bc671d5b5c8da1 and fixed in 6.13 with commit 6007d10c5262f6f71479627c1216899ea7f09073 |
| |
| 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-57912 |
| 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/pressure/zpa2326.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/9629ff1a86823269b12fb1ba9ca4efa945906287 |
| https://git.kernel.org/stable/c/d25f1fc273670271412a52a1efbdaf5dcf274ed8 |
| https://git.kernel.org/stable/c/64a989aa7475b8e76e69b9ec86819ea293e53bab |
| https://git.kernel.org/stable/c/b7849f62e61242e0e02c776e1109eb81e59c567c |
| https://git.kernel.org/stable/c/fefb88a4da961a0b9c2473cbdcfce1a942fcfa9a |
| https://git.kernel.org/stable/c/979a0db76ceda8fe1f2f85a116bfe97620ebbadf |
| https://git.kernel.org/stable/c/6007d10c5262f6f71479627c1216899ea7f09073 |