Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795099103; b=gZeZDIbslv2umQ8ebbhqC4n7dJaoK/IoVdr0XzI87IwGC/sjfI1NxXkHHxk18YUVgIZQ kegvj5juyHyPtMt9sH2kVk7ZixmJhjqdcKVF4mQyjwD/a+nhc85iDpQA0e6EYZEjOQzz7 mQqvo79+4t0YtjvfxzYwJMWmRJAnGMf+ewTIPPfCAZ/U1pCG5aL1WdlmcqZHSMdue7F02 eYf9Dv5HDyjtYzsD6Z3XrgljD3qBFmnk+LwVhoDVBap+xTvsM8J0l5yQjYpA10PVfL+9s QNRDcsrgVXTNa8hsp3AUdefssm4wPG8590ZUGumg3b0Y8kC2Qad5Ma9aHZGPtgV/A/Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795099103; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=tAa/j96GDucJ7U1CYb1rLBnpIFWhBn2fvCJfssxf+uo=; b=fHv7vuug99Oq4HIaN11TkuJAOtNAeklt5/06FlPL73ma8yhHTZznXAMvDPYLMOTaD+3m GkrM8pEid29o+GrErxiLDnbh7IJvWVK0pcUF+K3i6BCI5yWaTnQ2ZIXZBCgwt4bD2wk1r I792JIWT+LqdYMsRsBLChz2NmPmEjACkDGzkXjVX+GC2nOBNhxGzvXhtB8HZErXOPCcYz z8JLTngLpg8ZfsFTEEfe/v8/sp5jgE7qDlGHJ68+Cs3DBwCsgwLzeh4TO9PasxZuBaUbo SiFI3AN7gFGy+ShphopAgH1SizBSwFtbr/RFP8/hFEv2ByjAPrkTOldDuZrOA2v8ikA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=Fv95Lyjd; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 672CA606A339 for ; Thu, 19 Nov 2026 14:38:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=Fv95Lyjd Received: by smtp.kernel.org (Postfix) with ESMTPSA id 00F1F1F000C4; Thu, 19 Nov 2026 14:38:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795099103; bh=tAa/j96GDucJ7U1CYb1rLBnpIFWhBn2fvCJfssxf+uo=; h=From:To:Cc:Subject:Date:Reply-To; b=Fv95LyjdcnMJf2IsyLhpoO7ipsTtpNdANelZAPD9ZVYvFdzOXKd8KTi/MbJgF+fb3 4iorNkLphI1XJRu0T694NGtjX9/S4rfHjD7Nq5rOJi5eJThMlt1qSF01LNhgIN8OAW nhIJZvzdtsGX3pWwVgUx4MsKZNQwduUmfEHQi6TM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99332: HID: core: Fix out-of-bounds left shift by 32 in s32ton() Date: Thu, 19 Nov 2026 15:23:50 +0100 Message-ID: <2026111944-CVE-2026-99332-2267@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3136; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=VFu2CB+M3b/aGih9ExsJ2ZQd9tpjVxYJQw6axba7Hv8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2QqC479oCSwTEUh5KrEvsW1pztzG6hOZ2q9KHj6xa aj8vEG4I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbiOZdhNmuPlFBjy9Yj25p2 vc1yPLv0ruMfDYb56bffnxC87NFSxphwQmSC0NM23UlFAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: HID: core: Fix out-of-bounds left shift by 32 in s32ton() Syzbot reported an out-of-bounds shift (32-bit integer shifted left by 32) in the s32ton() routine in the HID core. This routine converts a signed 32-bit integer to a signed n-bit integer, and it caps the value of n at 32. But when n == 32 there's no need to do anything; it can simply return the input value. This will avoid calculating (1 << n) when n is 32, which was the cause of the invalid shift. The Linux kernel CVE team has assigned CVE-2026-99332 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12.83 with commit 58386f00af710922cafb0fb69211497beddfaa95 and fixed in 6.12.117 with commit 8bc6279634b03222d79788481810562a7d3564fe Issue introduced in 6.18.24 with commit 8a8333237f1f5caab8d4c3d2c2e7578c4263a97f and fixed in 6.18.61 with commit 076bea989f998f4d5a62d74de2f04f6f5b94b3f3 Issue introduced in 7.1 with commit 69c02ffde6ed4d535fa4e693a9e572729cad3d0d and fixed in 7.3.2 with commit 20518a118bf185e72f769eb07aeed5848c095d31 Issue introduced in 7.1 with commit 69c02ffde6ed4d535fa4e693a9e572729cad3d0d and fixed in 7.4-rc1 with commit 5fe63b415c636c7f4f6848a8e53bdd4bbf0c300d Issue introduced in 5.10.258 with commit 76ad02854a30c394e0c076e6e6bed0a388573a94 Issue introduced in 5.15.209 with commit eb415ddaf25e09ddb8fe5736a70c9de2e6462534 Issue introduced in 6.1.175 with commit 0ab048dbdb1daacf17d52e9252297eb6e1298e49 Issue introduced in 6.6.136 with commit 932ae5309e53561197aa7d1606c7cf63af10e24f Issue introduced in 6.19.14 with commit ea363a34086ddb4231adc581a7f36c39ec154bfc Issue introduced in 7.0.1 with commit 97014719bb8fccb1ffcbbc299e84b1f11b114195 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-2026-99332 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/8bc6279634b03222d79788481810562a7d3564fe https://git.kernel.org/stable/c/076bea989f998f4d5a62d74de2f04f6f5b94b3f3 https://git.kernel.org/stable/c/20518a118bf185e72f769eb07aeed5848c095d31 https://git.kernel.org/stable/c/5fe63b415c636c7f4f6848a8e53bdd4bbf0c300d