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 5A64C1E764D for ; Wed, 4 Sep 2024 19:58:20 +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=1725479900; cv=none; b=gpQHKNu39LsEr3VD/5w2zffE9vFQ2wD1f/s9+dmESEjbUSjeHM0DBQpuOHNZIN0VGoc1hAE+v3R9FL77CqhVML8oC6lvHLwQRfqBpp/ZVJ6rEG424F+kXqRvlb2k7nCX8OWzCU52Ld+h/Oyuw68rOqgNguUkrf7gX7+owxIiezQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725479900; c=relaxed/simple; bh=ChVf7+BTxk/xM6qQcgx/+BpSguBU2EkI3+1OsWsgwug=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Mj5CaX0jVAgIhsStuv6vBefD+weDO9p0MOGnBwqPpi5eH7/OBtV/jC1M18O8Fmq6NCj2rIUnER/AeU3NTuK+AozQeSoRleHVkmMrupCCmzlB85l8lKaqn0BWKuH0ZN0+vVQuvFZ3Lh/ZNnRHpwITfZBeIjpIG+a+G2RjrfiIQjw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=imKbfim3; 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="imKbfim3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B9708C4CEC2; Wed, 4 Sep 2024 19:58:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1725479900; bh=ChVf7+BTxk/xM6qQcgx/+BpSguBU2EkI3+1OsWsgwug=; h=From:To:Cc:Subject:Date:Reply-to:From; b=imKbfim3Eb0YpBMZQ4YTp6xwFJaPvx/ga8Uy/uOuTeveYTkqyP9JTxG/8UeaRb4eT Rp3JmgN+nxxMaRVEsq/2/rzrXELqAc81SwoFLHch8IvqbJ5e+28UplV/rkMGDzJTrf R353x/pjMK5ulJRZUjVHcnA8YirEStStQD/h1G6E= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-45008: Input: MT - limit max slots Date: Wed, 4 Sep 2024 21:57:13 +0200 Message-ID: <2024090452-CVE-2024-45008-1d89@gregkh> X-Mailer: git-send-email 2.46.0 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=2436; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ChVf7+BTxk/xM6qQcgx/+BpSguBU2EkI3+1OsWsgwug=; b=owGbwMvMwCRo6H6F97bub03G02pJDGk3drco3NZ2V/jfcGhytqTH/y2i15Jz7vC/fHe8XlPwU O+uLd7zO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiUzMZFkye12398vMyycU/ pqZ4J55/YLjjQynDPDt5U9Vr2ayvFHUq1m++PSXlwIqpqwE= 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: Input: MT - limit max slots syzbot is reporting too large allocation at input_mt_init_slots(), for num_slots is supplied from userspace using ioctl(UI_DEV_CREATE). Since nobody knows possible max slots, this patch chose 1024. The Linux kernel CVE team has assigned CVE-2024-45008 to this issue. Affected and fixed versions =========================== Fixed in 4.19.321 with commit 2829c8061489 Fixed in 5.4.283 with commit 87f610a1a7fb Fixed in 5.10.225 with commit 05dd9aabd04f Fixed in 5.15.166 with commit 95f73d01f547 Fixed in 6.1.107 with commit 94736334b8a2 Fixed in 6.6.48 with commit 8f04edd554d1 Fixed in 6.10.7 with commit cd19f1799c32 Fixed in 6.11-rc2 with commit 99d3bf5f7377 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-45008 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/input/input-mt.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/2829c80614890624456337e47320289112785f3e https://git.kernel.org/stable/c/87f610a1a7fbdb1f2e3d90b54c955bd3b8a0c322 https://git.kernel.org/stable/c/05dd9aabd04f9b5eb04dab9bb83d8c3e982d7549 https://git.kernel.org/stable/c/95f73d01f547dfc67fda3022c51e377a0454b505 https://git.kernel.org/stable/c/94736334b8a25e4fae8daa6934e54a31f099be43 https://git.kernel.org/stable/c/8f04edd554d191834e9e1349ef030318ea6b11ba https://git.kernel.org/stable/c/cd19f1799c32ba7b874474b1b968815ce5364f73 https://git.kernel.org/stable/c/99d3bf5f7377d42f8be60a6b9cb60fb0be34dceb