[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025121632-CVE-2025-68217-896e@gregkh>
Date: Tue, 16 Dec 2025 14:57:36 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-68217: Input: pegasus-notetaker - fix potential out-of-bounds access
From: Greg Kroah-Hartman <gregkh@...nel.org>
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
Powered by blists - more mailing lists