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 E62FC3A1E90 for ; Tue, 16 Dec 2025 13:58:35 +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=1765893516; cv=none; b=MBBOcgipRdNg7OlZg1AMdCpx/q/gv456ZxUqsvo4+eGoLH3knIZDYu+Ce0NVvUzFTOTiQ9SfXKaMVqOGJFA93i0eio8KKTQA1/hJ+SxvE6d9ufGDRPkU1aPUTJhH3NuV0UcHXXzp12qtNffHGTClEu17Ive9ztLMZW+Uok98L3Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765893516; c=relaxed/simple; bh=9jr/lvkiA+t2tI8W8VegXbI+PfSd4pPBge5oIrcz61E=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=t1unBp575iGOYoZmMoualEOmR1bJMa2l+zSiik0UzfD3UK+g0XWdj5PrWP0HVnO1ysqWbbUYVMlPwq2Kq/QkEMfCKegIQVKe3iP/fcb9o4oyOTc2hAP7dyxijFmAQxcEY/uLF4n3vpT8EKEuI5JK2vQS+nR96FS1cOI//uREJ5Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0rsoJDqK; 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="0rsoJDqK" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 53540C4CEF5; Tue, 16 Dec 2025 13:58:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765893515; bh=9jr/lvkiA+t2tI8W8VegXbI+PfSd4pPBge5oIrcz61E=; h=From:To:Cc:Subject:Date:Reply-To:From; b=0rsoJDqKVgCaRZnZfqdhRz47K5dc0VWksTONfRAQ/tK3uUoPUJf7YIFA3BM9mgF6N TpgYrUAUBCdg1MAQalfYFIYKPu020wCO3uOEsyF+RhTlbwdC/oFndrbVYsu87i7YF0 ZfA/mN9yFXtgnnZgPrg6pW0sJRXedGVZn/noP3zU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68217: Input: pegasus-notetaker - fix potential out-of-bounds access Date: Tue, 16 Dec 2025 14:57:36 +0100 Message-ID: <2025121632-CVE-2025-68217-896e@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3682; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xmbD2NgBcU6SHl7gTvxovVGGVBELZTA6+xUf+fy5U6w=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmOqT5fGQ89nDNjVS6341IV6Z1HPouv32HzZ6+IdOnXj iUNxkIOHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR3zEM89PZ5uyaMHvN42rD WxYlD0/camY2ncgwV+RnY8+CaBO/y3XZU9xZztff0fidAwA= 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: Input: pegasus-notetaker - fix potential out-of-bounds access In the pegasus_notetaker driver, the pegasus_probe() function allocates the URB transfer buffer using the wMaxPacketSize value from the endpoint descriptor. An attacker can use a malicious USB descriptor to force the allocation of a very small buffer. Subsequently, if the device sends an interrupt packet with a specific pattern (e.g., where the first byte is 0x80 or 0x42), the pegasus_parse_packet() function parses the packet without checking the allocated buffer size. This leads to an out-of-bounds memory access. The Linux kernel CVE team has assigned CVE-2025-68217 to this issue. Affected and fixed versions =========================== Issue introduced in 4.8 with commit 1afca2b66aac7ac262d3511c68725e9e7053b40f and fixed in 5.4.302 with commit c4e746651bd74c38f581e1cf31651119a94de8cd Issue introduced in 4.8 with commit 1afca2b66aac7ac262d3511c68725e9e7053b40f and fixed in 5.10.247 with commit 36bc92b838ff72f62f2c17751a9013b29ead2513 Issue introduced in 4.8 with commit 1afca2b66aac7ac262d3511c68725e9e7053b40f and fixed in 5.15.197 with commit 015b719962696b793997e8deefac019f816aca77 Issue introduced in 4.8 with commit 1afca2b66aac7ac262d3511c68725e9e7053b40f and fixed in 6.1.159 with commit 084264e10e2ae8938a54355123ad977eb9df56d6 Issue introduced in 4.8 with commit 1afca2b66aac7ac262d3511c68725e9e7053b40f and fixed in 6.6.118 with commit d344ea1baf1946c90f0cd6f9daeb5f3e0a0ca479 Issue introduced in 4.8 with commit 1afca2b66aac7ac262d3511c68725e9e7053b40f and fixed in 6.12.60 with commit 9ab67eff6d654e34ba6da07c64761aa87c2a3c26 Issue introduced in 4.8 with commit 1afca2b66aac7ac262d3511c68725e9e7053b40f and fixed in 6.17.10 with commit 763c3f4d2394a697d14af1335d3bb42f05c9409f Issue introduced in 4.8 with commit 1afca2b66aac7ac262d3511c68725e9e7053b40f and fixed in 6.18 with commit 69aeb507312306f73495598a055293fa749d454e 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-2025-68217 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/input/tablet/pegasus_notetaker.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/c4e746651bd74c38f581e1cf31651119a94de8cd https://git.kernel.org/stable/c/36bc92b838ff72f62f2c17751a9013b29ead2513 https://git.kernel.org/stable/c/015b719962696b793997e8deefac019f816aca77 https://git.kernel.org/stable/c/084264e10e2ae8938a54355123ad977eb9df56d6 https://git.kernel.org/stable/c/d344ea1baf1946c90f0cd6f9daeb5f3e0a0ca479 https://git.kernel.org/stable/c/9ab67eff6d654e34ba6da07c64761aa87c2a3c26 https://git.kernel.org/stable/c/763c3f4d2394a697d14af1335d3bb42f05c9409f https://git.kernel.org/stable/c/69aeb507312306f73495598a055293fa749d454e