Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E79521465AE for ; Thu, 27 Feb 2025 02:08:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740622121; cv=none; b=MWAm7RYR1ritovcIZaDRU74yDFrxKyC43dAdeSqiXfOGl6b0dt78aQeeynSThhUJG+snCT+NEpzDO4CInZWi6H0R75Mc6CP6i/WqplffqCWh73awT/fQ2AaH3yVycbzv1KhydKKFcNEVA9NRXEgt2LvpKiNa7FDqCv2ARNSPBmM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740622121; c=relaxed/simple; bh=cd67L1mhF5/fJw7LLX0wKPIHxMT4kJZ8FC8+8tBtOiU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=P76OKnwsi1QedaFMcW0VKt4lp9WjS1rkgZrq0zl1YwmHkyvWmCfeKQnVsPZbIFmXYeKl66pgq239zBjEq1ZsUK+bZVTUHeJ1dMm9Rxak+y2DzEnpuxIg+2RtVCjD63tXr+oWnVvBGHi38iMCSoTkVIWWLyP9cQuxua5+aXv3U+c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CFNyeKnc; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="CFNyeKnc" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B997AC4CEE2; Thu, 27 Feb 2025 02:08:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740622120; bh=cd67L1mhF5/fJw7LLX0wKPIHxMT4kJZ8FC8+8tBtOiU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=CFNyeKnck/Q4VRXlCnzfuno8kBltwpHSdhXZDHohiU19sKrFibbfK1x8ZKHIEXFhC wBO+Rd0zwQA8J4V7n2u7oT283V6mgyYNAQX2X6hhNWuqBwMAyqtfCvvLhv6A3k/lJ1 gIOS5kIrbyjbh+Grk3p/RWhEEsFcXl/bOlKwAJrs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-57993: HID: hid-thrustmaster: Fix warning in thrustmaster_probe by adding endpoint check Date: Wed, 26 Feb 2025 18:05:52 -0800 Message-ID: <2025022639-CVE-2024-57993-e136@gregkh> X-Mailer: git-send-email 2.48.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2891; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=cd67L1mhF5/fJw7LLX0wKPIHxMT4kJZ8FC8+8tBtOiU=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7TxT/3fkvgHHtjIkv3vO48NndevHRXVZzKVf2btcpt pOl3i+07IhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJJAYwzGadG5cuurJ8td7f iyIBl5TEaq/rVTMsmPW0yMlq7m7+mG8lZ2oeCp+bcq9nIQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit 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-rc1 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