CVE-2025-68217
JSON

Not scored

Input: pegasus-notetaker - fix potential out-of-bounds access

Severity
Not scored
Exploit likelihood
0.24% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 1afca2b66aac7ac262d3511c68725e9e7053b40f before c4e746651bd74c38f581e1cf31651119a94de8cd, from 1afca2b66aac7ac262d3511c68725e9e7053b40f before 36bc92b838ff72f62f2c17751a9013b29ead2513, from 1afca2b66aac7ac262d3511c68725e9e7053b40f before 015b719962696b793997e8deefac019f816aca77, from 1afca2b66aac7ac262d3511c68725e9e7053b40f before 084264e10e2ae8938a54355123ad977eb9df56d6, from 1afca2b66aac7ac262d3511c68725e9e7053b40f before d344ea1baf1946c90f0cd6f9daeb5f3e0a0ca479, from 1afca2b66aac7ac262d3511c68725e9e7053b40f before 9ab67eff6d654e34ba6da07c64761aa87c2a3c26, from 1afca2b66aac7ac262d3511c68725e9e7053b40f before 763c3f4d2394a697d14af1335d3bb42f05c9409f, from 1afca2b66aac7ac262d3511c68725e9e7053b40f before 69aeb507312306f73495598a055293fa749d454e and 1 more
Not affected: before 4.8, from 5.4.302 up to 5.4.*, from 5.10.247 up to 5.10.*, from 5.15.197 up to 5.15.*, from 6.1.159 up to 6.1.*, from 6.6.118 up to 6.6.*
CVE List

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: Entrada: pegasus-notetaker - corrige un posible acceso fuera de límites En el controlador pegasus_notetaker, la función pegasus_probe() asigna el búfer de transferencia URB utilizando el valor wMaxPacketSize del descriptor de punto final. Un atacante puede usar un descriptor USB malicioso para forzar la asignación de un búfer muy pequeño. Posteriormente, si el dispositivo envía un paquete de interrupción con un patrón específico (por ejemplo, donde el primer byte es 0x80 o 0x42), la función pegasus_parse_packet() analiza el paquete sin verificar el tamaño del búfer asignado. Esto conduce a un acceso a memoria fuera de límites.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-68217 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-68217 changed 2026-10-14Public domain