| 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-50143: udf: fix uninit-value use in udf_get_fileshortad |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| udf: fix uninit-value use in udf_get_fileshortad |
| |
| Check for overflow when computing alen in udf_current_aext to mitigate |
| later uninit-value use in udf_get_fileshortad KMSAN bug[1]. |
| After applying the patch reproducer did not trigger any issue[2]. |
| |
| [1] https://syzkaller.appspot.com/bug?extid=8901c4560b7ab5c2f9df |
| [2] https://syzkaller.appspot.com/x/log.txt?x=10242227980000 |
| |
| The Linux kernel CVE team has assigned CVE-2024-50143 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Fixed in 4.19.323 with commit 5eb76fb98b3335aa5cca6a7db2e659561c79c32b |
| Fixed in 5.4.285 with commit 417bd613bdbe791549f7687bb1b9b8012ff111c2 |
| Fixed in 5.15.170 with commit 4fc0d8660e391dcd8dde23c44d702be1f6846c61 |
| Fixed in 6.1.115 with commit 72e445df65a0aa9066c6fe2b8736ba2fcca6dac7 |
| Fixed in 6.6.59 with commit 1ac49babc952f48d82676979b20885e480e69be8 |
| Fixed in 6.11.6 with commit e52e0b92ed31dc62afbda15c243dcee0bb5bb58d |
| Fixed in 6.12 with commit 264db9d666ad9a35075cc9ed9ec09d021580fbb1 |
| |
| 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-50143 |
| 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/udf/inode.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/5eb76fb98b3335aa5cca6a7db2e659561c79c32b |
| https://git.kernel.org/stable/c/417bd613bdbe791549f7687bb1b9b8012ff111c2 |
| https://git.kernel.org/stable/c/4fc0d8660e391dcd8dde23c44d702be1f6846c61 |
| https://git.kernel.org/stable/c/72e445df65a0aa9066c6fe2b8736ba2fcca6dac7 |
| https://git.kernel.org/stable/c/1ac49babc952f48d82676979b20885e480e69be8 |
| https://git.kernel.org/stable/c/e52e0b92ed31dc62afbda15c243dcee0bb5bb58d |
| https://git.kernel.org/stable/c/264db9d666ad9a35075cc9ed9ec09d021580fbb1 |