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 67B24136A for ; Wed, 18 Sep 2024 07:17:28 +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=1726643848; cv=none; b=jut6ODG6OT+e9vohoH/ghUtczXX8z3sh7cnmziltpe5h39dbMnqCSarC7/YfjAjbXXgvGsSA3hyQxkGA3IUu3871+oP5dBBIQNrmf8y6qHU6Eby8PB1D/c+ZCLziwvJTRICY+daaQMl+GsEhVtAvSCP89I1ZNNiamIyRbP+Fwkg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726643848; c=relaxed/simple; bh=5B7Fb0sWRH+Wzp5AZ65f0MEmXsxatDFn4qaH1DazjvA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=aXypYVGCGQdcgaYYZ76d3Zw6iRDUPH/gT0puM7b3V0wlVdKC+1QdjmIgHX0BFh9vRTiI1QSh5SDq9+m1wKIEOXfWLZ/vfuOJv05dJG60znd5ZwiS3mDTIiWXDgUmZ5Oa/7t/i8wXwmJKYTbXs2lo8AxNj4SFvv79dl0MTob/g1o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ssSrzQgI; 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="ssSrzQgI" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7BF42C4CECE; Wed, 18 Sep 2024 07:17:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1726643848; bh=5B7Fb0sWRH+Wzp5AZ65f0MEmXsxatDFn4qaH1DazjvA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=ssSrzQgIs8+Zmi4KFbFViKOoH1F9A6QVepqxQxsccG37pvtcwunNmzuG8xDHgB3u6 hMn/o5dYXPnzN4vCVpFWGVMnuNWzHMVfYbzjBDG/bGTMFXb2a+WROu+cqQFO9ARhvB FQV9b25ixcVaw0hE6LN8VYjDmNCVMHeB8X46T4FI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-46747: HID: cougar: fix slab-out-of-bounds Read in cougar_report_fixup Date: Wed, 18 Sep 2024 09:16:42 +0200 Message-ID: <2024091837-CVE-2024-46747-f489@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=2399; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=5B7Fb0sWRH+Wzp5AZ65f0MEmXsxatDFn4qaH1DazjvA=; b=owGbwMvMwCRo6H6F97bub03G02pJDGmv6kJda9sbQlptV+x5+eTFTMfWOwnGdqtY31ZuLmC3L 1jluSyoI4aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACay7CDDggOm/fnT1vj17A1l SFl/8sG3A5MD5jDMuPLk6O6yGRYMG39HGljfL6s818wAAA== 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: cougar: fix slab-out-of-bounds Read in cougar_report_fixup report_fixup for the Cougar 500k Gaming Keyboard was not verifying that the report descriptor size was correct before accessing it The Linux kernel CVE team has assigned CVE-2024-46747 to this issue. Affected and fixed versions =========================== Fixed in 4.19.322 with commit e239e44dcd41 Fixed in 5.4.284 with commit fac3cb3c6428 Fixed in 5.10.226 with commit 34185de73d74 Fixed in 5.15.167 with commit 890dde6001b6 Fixed in 6.1.110 with commit e4a602a45aec Fixed in 6.6.51 with commit 30e9ce7cd559 Fixed in 6.10.10 with commit 48b2108efa20 Fixed in 6.11 with commit a6e9c391d45b 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-46747 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-cougar.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/e239e44dcd419b13cf840e2a3a833204e4329714 https://git.kernel.org/stable/c/fac3cb3c6428afe2207593a183b5bc4742529dfd https://git.kernel.org/stable/c/34185de73d74fdc90e8651cfc472bfea6073a13f https://git.kernel.org/stable/c/890dde6001b651be79819ef7a3f8c71fc8f9cabf https://git.kernel.org/stable/c/e4a602a45aecd6a98b4b37482f5c9f8f67a32ddd https://git.kernel.org/stable/c/30e9ce7cd5591be639b53595c95812f1a2afdfdc https://git.kernel.org/stable/c/48b2108efa205f4579052c27fba2b22cc6ad8aa0 https://git.kernel.org/stable/c/a6e9c391d45b5865b61e569146304cff72821a5d