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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
1afca2b66aac7ac262d3511c68725e9e7053b40f to < c4e746651bd74c38f581e1cf31651119a94de8cdaffected1afca2b66aac7ac262d3511c68725e9e7053b40f to < 36bc92b838ff72f62f2c17751a9013b29ead2513affected1afca2b66aac7ac262d3511c68725e9e7053b40f to < 015b719962696b793997e8deefac019f816aca77affected1afca2b66aac7ac262d3511c68725e9e7053b40f to < 084264e10e2ae8938a54355123ad977eb9df56d6affected1afca2b66aac7ac262d3511c68725e9e7053b40f to < d344ea1baf1946c90f0cd6f9daeb5f3e0a0ca479affected1afca2b66aac7ac262d3511c68725e9e7053b40f to < 9ab67eff6d654e34ba6da07c64761aa87c2a3c26affected1afca2b66aac7ac262d3511c68725e9e7053b40f to < 763c3f4d2394a697d14af1335d3bb42f05c9409faffected1afca2b66aac7ac262d3511c68725e9e7053b40f to < 69aeb507312306f73495598a055293fa749d454eaffected
Linux Linux
Default version status: affected
4.8affected0 to < 4.8unaffected5.4.302 to ≤ 5.4.*unaffected5.10.247 to ≤ 5.10.*unaffected5.15.197 to ≤ 5.15.*unaffected6.1.159 to ≤ 6.1.*unaffected6.6.118 to ≤ 6.6.*unaffected6.12.60 to ≤ 6.12.*unaffected6.17.10 to ≤ 6.17.*unaffected6.18 to ≤ *unaffected
References
- 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 ↗