HID: roccat: bound device-supplied profile index
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.110, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: HID: roccat: bound device-supplied profile index kone_keep_values_up_to_date() and kone_profile_activated() use an 8-bit, device-supplied profile value as an index into the 5-element kone->profiles[] array without a range check. A malicious USB device claiming the Roccat Kone id can send a switch-profile event (or a startup_profile read at probe) with an out-of-range value and make the driver read out of bounds; the result is exposed via the actual_dpi sysfs attribute. Reject out-of-range indices in both paths. This was found with static analysis and confirmed with the KUnit test added in the following patch (KASAN: slab-out-of-bounds).
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 14bf62cde79423a02a590e02664ed29a36facec1 · fixed in 686e5c3bd378933b4e795fcc7d40c5aad358eaaa; From 14bf62cde79423a02a590e02664ed29a36facec1 · fixed in 0a139188a7ce4baab7acc5d60e0d1c8657f9b4d4; From 14bf62cde79423a02a590e02664ed29a36facec1 · fixed in 67d7851f113fd0205dd27416d3c47ab32b176097; From 14bf62cde79423a02a590e02664ed29a36facec1 · fixed in 4b29be4b23bc28f59def1485702887e395256e11; From 14bf62cde79423a02a590e02664ed29a36facec1 · fixed in 579c78c8c317ecff8b6b820c227c93e6ec4e565d; From 14bf62cde79423a02a590e02664ed29a36facec1 · fixed in 635914c60da26a9892f27ffb5edcc922a10effab; From 14bf62cde79423a02a590e02664ed29a36facec1 · fixed in 99330b12376c3373ab555c24bc797630f03b81a2; From 14bf62cde79423a02a590e02664ed29a36facec1 · fixed in 43fae42628a8c10fa8981773d7ec9f1a367821a7
- Linux Linux
2.6.35
- KernelLinux
From 2.6.35 · fixed in 5.10.270; From 5.11.0 · fixed in 5.15.221; From 5.16.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6
References 8
git.kernel.org
- stable/c/686e5c3bd378933b4e795fcc7d40c5aad358eaaa
- stable/c/0a139188a7ce4baab7acc5d60e0d1c8657f9b4d4
- stable/c/67d7851f113fd0205dd27416d3c47ab32b176097
- stable/c/4b29be4b23bc28f59def1485702887e395256e11
- stable/c/579c78c8c317ecff8b6b820c227c93e6ec4e565d
- stable/c/635914c60da26a9892f27ffb5edcc922a10effab
- stable/c/99330b12376c3373ab555c24bc797630f03b81a2
- stable/c/43fae42628a8c10fa8981773d7ec9f1a367821a7