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 043564D599 for ; Tue, 19 Nov 2024 01:34:42 +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=1731980082; cv=none; b=fUhQi2ChzdreKVuZzw6ee0fDhGEWlfsdF/xRE2awy6wM65rWvCY5Jg5dXAGHStwv9Xp7Z//Zi8iYlfu2ycSKXDAm2R3m5j741aYAkVuLFvZ3a7LxkMOMbkgoJMsRwIWCXnt+/9HGI0Pw79AOL/fHXytgvo97NpMUly85HZ8EBmM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731980082; c=relaxed/simple; bh=AVo+3bPTu2FzEHvb6/W3DB1Qabeop3lCKees+LPoqjk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ITjKKcCJqD7WpOTjUf07iDK1rh9ERByDJNrTigzWIfIP53nle2MiExzWQcV64DEpUlCo8yXTTebDVlrlJaoG6FFzomqgRwPIZJPlCiUC1Xb5C+LsHY2pfE26nw47avIScf2SKc3zSisSYf/qr1mL3Jg+wdwSJusiXnYGZVpNECg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xdGUw8Df; 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="xdGUw8Df" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9D26FC4CECC; Tue, 19 Nov 2024 01:34:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1731980081; bh=AVo+3bPTu2FzEHvb6/W3DB1Qabeop3lCKees+LPoqjk=; h=From:To:Cc:Subject:Date:Reply-to:From; b=xdGUw8DfQ2z1FbC4t6o7dB+XYA3ADjByyLGQqQGPGwZmANDp5etWk0Ag01IJJWgxF fLFYws4eta/CaW6uZVF4ojKz1fp4tQSnJj0tCnful741hLJFYSAqYjBoD3cWU+93vy vJcYsRZU8qGbmQfFDbp8zRo0xfJNE2ryyCONweq0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-50302: HID: core: zero-initialize the report buffer Date: Tue, 19 Nov 2024 02:32:57 +0100 Message-ID: <2024111908-CVE-2024-50302-f677@gregkh> X-Mailer: git-send-email 2.47.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=2996; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=AVo+3bPTu2FzEHvb6/W3DB1Qabeop3lCKees+LPoqjk=; b=owGbwMvMwCRo6H6F97bub03G02pJDOnWr66evl4asyAw8Pys+2UH0nQW5M5d3mDKLJNl9+iX0 GVNiQ7rjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIoQSGBb2zpu8xrtvz6fK1 hFdvysri+xJnxTMs2Llqvfr9lZ8MWVx/33jOvyjwoHemHgA= 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: core: zero-initialize the report buffer Since the report buffer is used by all kinds of drivers in various ways, let's zero-initialize it during allocation to make sure that it can't be ever used to leak kernel memory via specially-crafted report. The Linux kernel CVE team has assigned CVE-2024-50302 to this issue. Affected and fixed versions =========================== Issue introduced in 3.12 with commit 27ce405039bf and fixed in 4.19.324 with commit e7ea60184e1e Issue introduced in 3.12 with commit 27ce405039bf and fixed in 5.4.286 with commit 3f9e88f2672c Issue introduced in 3.12 with commit 27ce405039bf and fixed in 5.10.230 with commit d7dc68d82ab3 Issue introduced in 3.12 with commit 27ce405039bf and fixed in 5.15.172 with commit 05ade5d43378 Issue introduced in 3.12 with commit 27ce405039bf and fixed in 6.1.117 with commit 1884ab3d2253 Issue introduced in 3.12 with commit 27ce405039bf and fixed in 6.6.61 with commit 9d9f5c75c0c7 Issue introduced in 3.12 with commit 27ce405039bf and fixed in 6.11.8 with commit 492015e6249f Issue introduced in 3.12 with commit 27ce405039bf and fixed in 6.12 with commit 177f25d1292c Issue introduced in 3.10.16 with commit b2b6cadad699 Issue introduced in 3.11.5 with commit fe6c9b48ebc9 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-50302 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-core.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/e7ea60184e1e88a3c9e437b3265cbb6439aa7e26 https://git.kernel.org/stable/c/3f9e88f2672c4635960570ee9741778d4135ecf5 https://git.kernel.org/stable/c/d7dc68d82ab3fcfc3f65322465da3d7031d4ab46 https://git.kernel.org/stable/c/05ade5d4337867929e7ef664e7ac8e0c734f1aaf https://git.kernel.org/stable/c/1884ab3d22536a5c14b17c78c2ce76d1734e8b0b https://git.kernel.org/stable/c/9d9f5c75c0c7f31766ec27d90f7a6ac673193191 https://git.kernel.org/stable/c/492015e6249fbcd42138b49de3c588d826dd9648 https://git.kernel.org/stable/c/177f25d1292c7e16e1199b39c85480f7f8815552