| 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-50247: fs/ntfs3: Check if more than chunk-size bytes are written |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| fs/ntfs3: Check if more than chunk-size bytes are written |
| |
| A incorrectly formatted chunk may decompress into |
| more than LZNT_CHUNK_SIZE bytes and a index out of bounds |
| will occur in s_max_off. |
| |
| The Linux kernel CVE team has assigned CVE-2024-50247 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 5.15 with commit 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e and fixed in 5.15.171 with commit e5ae7859008688626b4d2fa6139eeaa08e255053 |
| Issue introduced in 5.15 with commit 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e and fixed in 6.1.116 with commit 1b6bc5f7212181093b6c5310eea216fc09c721a9 |
| Issue introduced in 5.15 with commit 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e and fixed in 6.6.60 with commit 5f21e3e60982cd7353998b4f59f052134fd47d64 |
| Issue introduced in 5.15 with commit 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e and fixed in 6.11.7 with commit 4a4727bc582832f354e0d3d49838a401a28ae25e |
| Issue introduced in 5.15 with commit 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e and fixed in 6.12 with commit 9931122d04c6d431b2c11b5bb7b10f28584067f0 |
| |
| 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-50247 |
| 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: |
| fs/ntfs3/lznt.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/e5ae7859008688626b4d2fa6139eeaa08e255053 |
| https://git.kernel.org/stable/c/1b6bc5f7212181093b6c5310eea216fc09c721a9 |
| https://git.kernel.org/stable/c/5f21e3e60982cd7353998b4f59f052134fd47d64 |
| https://git.kernel.org/stable/c/4a4727bc582832f354e0d3d49838a401a28ae25e |
| https://git.kernel.org/stable/c/9931122d04c6d431b2c11b5bb7b10f28584067f0 |