From mboxrd@z Thu Jan 1 00:00:00 1970 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=1795098471; b=P62k91ggojo4rVQCPutDKKYd36q+8539QbasTKB7tg+KS6lp6Sdjila7Odq0xu3N69lw nu5KYWYm+iYiQex+Q1lhLx2aEAtJYOyuLdIC4hFQ4HKoCffK0IqBoKuucxYq9SOU7nzjV x6ytSUDoc3rydeo+JJBMoiC7+LW4zydsQ1yJPbW5BV43YgY27t/aB7OX8DWvXMamnWkBt vV1VgvKYawxQMDof6z1vgbOe23hwAwaUJ6u686It6mwoXLn6bZthGuVj5ptBiigkcc++R IZk8762gNusRGMTJFZ9b0kLzG2KcM8z/IK9RimvveNtoWBKNfunqJeOBD7J25cjjbmw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795098471; 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=cuBfFivllNn0JpsVSFnuaTKRV9rj+IC242lfqWLoM2w=; b=oJS4yyBE9Fux+jfpUfTkrgWwwThjAxHSlVepVlLsKY13af18eL3P50y7s8pQgA+67CRm bprclL3Yn2oCEanoIOK22m8Codt2UDeZJHKkB7wtkJ6JEE2TOpGlCy2ZgrILqQrSjuHt4 aiho4ZY/2GJdsBeyEXxxE1NvD67Vh8Wmep9jlcydCFXHIBRzvd3xookKpxCq2oXd3lyWH tgQwcu1Km+l+vlgnfZGWu/hgr/42lg+X6g3G8lD1wU1iZLYilUUTeUoDDa9wSAuP/c5Bp dnPMKKRJDVf2T907cnYr2R5YPN5LO3enzFi+VKwBX99QqmgVXwIwgZ65rs6WnFTaxVQ== 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=dUXhflNy; 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 3E9D0606A335 for ; Thu, 19 Nov 2026 14:27:51 +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=dUXhflNy Received: by smtp.kernel.org (Postfix) with ESMTPSA id 517631F000C5; Thu, 19 Nov 2026 14:27:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795098471; bh=cuBfFivllNn0JpsVSFnuaTKRV9rj+IC242lfqWLoM2w=; h=From:To:Cc:Subject:Date:Reply-To; b=dUXhflNyZFaWZVDg3GW5g6okrd80ZZU0viKVCkHZg4HMsqUEefpnI4V8MHIWkUgyj Veb7PaLq2iWwoH4h/vMMDT75Dlu0Sxbl/5AnAROJ66t89XaSM9uSZh4+V6fF4KBowz soEztIDMUUfAAR7pEH6PN1nv+29EwxnV2vGT77vo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99331: HID: cp2112: validate response report lengths Date: Thu, 19 Nov 2026 15:23:49 +0100 Message-ID: <2026111944-CVE-2026-99331-5ee2@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=2884; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=oX2+M1iqjBWL9jFk3qd3b+Sd5WMt48lEK/xNp/VAfSw=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2QreLtukbfZHddGvf9nhmueNpiQqME5J6KnrX8glw rzH4rZXRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzkRwzDgqOeJw8XHlv6fe0C jktNnyz+fYja5ciwYDX3t9rjpbHLwxdky12ycDm+b5FuDQA= 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: cp2112: validate response report lengths The HID core invokes raw_event callbacks before validating the report length. cp2112_raw_event() reads every field of a transfer status response without checking size. For a data response, it reads the length at offset two and copies that many bytes from offset three, again without ensuring that the input report contains them. Require a complete transfer status structure. For data responses, first require the header and then ensure the clamped payload length fits in the received report before copying it. Commit 47669bec44fe ("HID: asus: refactor the two workqueues and init sequence") added the same kind of raw_event length validation to hid-asus. The Linux kernel CVE team has assigned CVE-2026-99331 to this issue. Affected and fixed versions =========================== Issue introduced in 3.15 with commit e932d817866770d456815c9a84b7ed94f0589d80 and fixed in 6.12.117 with commit e178cdd6ed0f4ac20afc9220eceae3a89e6719af Issue introduced in 3.15 with commit e932d817866770d456815c9a84b7ed94f0589d80 and fixed in 6.18.61 with commit 94d0e789d8b0d2ea8e25ed5ff2fe2648e11f2297 Issue introduced in 3.15 with commit e932d817866770d456815c9a84b7ed94f0589d80 and fixed in 7.3.2 with commit 773307dd4c3e8c27eb31650af2df2d91cba22de8 Issue introduced in 3.15 with commit e932d817866770d456815c9a84b7ed94f0589d80 and fixed in 7.4-rc1 with commit fc54e71a063c0dcc4bceba6d0f71805a9b84082d 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-99331 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-cp2112.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/e178cdd6ed0f4ac20afc9220eceae3a89e6719af https://git.kernel.org/stable/c/94d0e789d8b0d2ea8e25ed5ff2fe2648e11f2297 https://git.kernel.org/stable/c/773307dd4c3e8c27eb31650af2df2d91cba22de8 https://git.kernel.org/stable/c/fc54e71a063c0dcc4bceba6d0f71805a9b84082d