| 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-57993: HID: hid-thrustmaster: Fix warning in thrustmaster_probe by adding endpoint check |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| HID: hid-thrustmaster: Fix warning in thrustmaster_probe by adding endpoint check |
| |
| syzbot has found a type mismatch between a USB pipe and the transfer |
| endpoint, which is triggered by the hid-thrustmaster driver[1]. |
| There is a number of similar, already fixed issues [2]. |
| In this case as in others, implementing check for endpoint type fixes the issue. |
| |
| [1] https://syzkaller.appspot.com/bug?extid=040e8b3db6a96908d470 |
| [2] https://syzkaller.appspot.com/bug?extid=348331f63b034f89b622 |
| |
| The Linux kernel CVE team has assigned CVE-2024-57993 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 5.13 with commit c49c33637802a2c6957a78119eb8be3b055dd9e9 and fixed in 6.1.129 with commit 220883fba32549a34f0734e4859d07f4dcd56992 |
| Issue introduced in 5.13 with commit c49c33637802a2c6957a78119eb8be3b055dd9e9 and fixed in 6.6.76 with commit ae730deded66150204c494282969bfa98dc3ae67 |
| Issue introduced in 5.13 with commit c49c33637802a2c6957a78119eb8be3b055dd9e9 and fixed in 6.12.13 with commit e5bcae4212a6a4b4204f46a1b8bcba08909d2007 |
| Issue introduced in 5.13 with commit c49c33637802a2c6957a78119eb8be3b055dd9e9 and fixed in 6.13.2 with commit 816e84602900f7f951458d743fa12769635ebfd5 |
| Issue introduced in 5.13 with commit c49c33637802a2c6957a78119eb8be3b055dd9e9 and fixed in 6.14 with commit 50420d7c79c37a3efe4010ff9b1bb14bc61ebccf |
| |
| 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-57993 |
| 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/hid/hid-thrustmaster.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/220883fba32549a34f0734e4859d07f4dcd56992 |
| https://git.kernel.org/stable/c/ae730deded66150204c494282969bfa98dc3ae67 |
| https://git.kernel.org/stable/c/e5bcae4212a6a4b4204f46a1b8bcba08909d2007 |
| https://git.kernel.org/stable/c/816e84602900f7f951458d743fa12769635ebfd5 |
| https://git.kernel.org/stable/c/50420d7c79c37a3efe4010ff9b1bb14bc61ebccf |