From mboxrd@z Thu Jan 1 00:00:00 1970 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 6CC6A15ECE3 for ; Fri, 12 Jul 2024 12:32:39 +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=1720787559; cv=none; b=akQadPJ0JPKV/Yy273TAXoh9SGjDVsnCpQsolnDsbTQ2+/5R3AwcKkNI/2eH2/vBYdzoecb5agLG1zNnPFbomqjTVdYgLSzd9SrJbHDXU26PiMomp3la4OEb43pSGnFJlQuH6NOQu75zTDK8XPIxCh1wSkE9KC1o6J+gc8AIVoI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720787559; c=relaxed/simple; bh=PfJtF166TYyFjPb8TsSuEwBSgOMw7R7+DpBSvmOC9f0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ru1ksKt8SNYuDiAq/wPcnydcdzE012Q3RljEuLG4dHJs6JRuJqg3blhP6PKpNXQ7P/zWP7b/NfG/qwjLI6tqrOdcsudlv5lrIQOJfIHbiPV8iaRUNPqie55GK6F0Mdn3Us/D3oR1+itH2xo5JzmjUDy/rMbyIKorWmTxIjLYywc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=oFrQKTiY; 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="oFrQKTiY" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8CD5AC32782; Fri, 12 Jul 2024 12:32:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1720787558; bh=PfJtF166TYyFjPb8TsSuEwBSgOMw7R7+DpBSvmOC9f0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=oFrQKTiYyb3OkFEpcdK7xEinUfeD8aSkxVbEIYsJeqM/gucHDhfSzlCrADLP3C44o eU+zCXDrMkm2/MPhjMzw07k+sMnZZ0QIBsqSdHx2dc6ebHYoMUgXodNntkFgPxsUAG zsyJt9gOh2Zv7q7LwNnwwOrc2MoIBDAYtpf5O/cI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-40946: hid: asus: asus_report_fixup: fix potential read out of bounds Date: Fri, 12 Jul 2024 14:32:22 +0200 Message-ID: <2024071221-CVE-2024-40946-e1fd@gregkh> X-Mailer: git-send-email 2.45.2 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=1855; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=PfJtF166TYyFjPb8TsSuEwBSgOMw7R7+DpBSvmOC9f0=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkTlUK1+1h7t18y1PZdcO5gYPi5j++cdmtMC7RcFuao1 aG8kp+/I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZy5g3DPOWdPQ5Le3uX3r5y /LjsIybtl4t+5DMsaFrFseB3Y6/Tv1O6JxN/Kc3P+mrCCQA= 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: asus: asus_report_fixup: fix potential read out of bounds syzbot reported a potential read out of bounds in asus_report_fixup. this patch adds checks so that a read out of bounds will not occur The Linux kernel CVE team has assigned CVE-2024-40946 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10-rc1 with commit 59d2f5b7392e and fixed in 6.10-rc3 with commit 89e1ee118d6f 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-40946 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-asus.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/8a630e8acd97c1610f71bb6d864262163410ed6e https://git.kernel.org/stable/c/9de62e88310cf50b3ee06344030dc16c19a26ccc https://git.kernel.org/stable/c/5c117d5936ca7a271437f3d9eee0fce65edaca2c https://git.kernel.org/stable/c/89e1ee118d6f0ee6bd6e80d8fe08839875daa241