{"id":"CVE-2026-89627","state":"PUBLISHED","title":"HID: roccat: free buffered reports when destroying device","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: roccat: free buffered reports when destroying device\n\nroccat_report_event() duplicates each report with kmemdup() and stores\nthe allocation in a circular-buffer slot. The allocation is released only\nwhen that slot is reused.\n\nThe device destruction paths free struct roccat_device without releasing\nreports still stored in cbuf[]. This makes those allocations unreachable\nand leaks up to ROCCAT_CBUF_SIZE report buffers per device.\n\nAdd a small destructor that frees every buffered report before freeing the\ndevice, and use it in both paths that can destroy a registered device.","publishedAt":"2026-09-11T19:45:23.479Z","updatedAt":"2026-10-19T08:49:59.521Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"206f5f2fcb5ff5bb0c60f9e9189937f3ca03e378","status":"affected","lessThan":"cebb20b9a29cfc90bf56e54337333084f85a69dd","versionType":"git"},{"version":"206f5f2fcb5ff5bb0c60f9e9189937f3ca03e378","status":"affected","lessThan":"690da9177e64bcfda2f4c0b5b8465178e4a236d8","versionType":"git"},{"version":"206f5f2fcb5ff5bb0c60f9e9189937f3ca03e378","status":"affected","lessThan":"b3cc411daa50b39ba5706492a80a5a0804d9c85f","versionType":"git"},{"version":"206f5f2fcb5ff5bb0c60f9e9189937f3ca03e378","status":"affected","lessThan":"4cb3ff31d237ad1f515455c497ef07d7172d912b","versionType":"git"},{"version":"206f5f2fcb5ff5bb0c60f9e9189937f3ca03e378","status":"affected","lessThan":"943b8dc2c6044c01e36395f51bb809a4b6bdfd22","versionType":"git"},{"version":"206f5f2fcb5ff5bb0c60f9e9189937f3ca03e378","status":"affected","lessThan":"da00eac19feef209c9591e48c860afc2014603be","versionType":"git"},{"version":"206f5f2fcb5ff5bb0c60f9e9189937f3ca03e378","status":"affected","lessThan":"fbb5a60f5c31b5625f0d89a79912fbcb2559289b","versionType":"git"},{"version":"206f5f2fcb5ff5bb0c60f9e9189937f3ca03e378","status":"affected","lessThan":"bbff0ccbff360a5498075525005f6a913239a3d7","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hid/hid-roccat.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.35","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.35","versionType":"semver"},{"version":"5.10.270","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.221","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.188","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.157","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.109","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.50","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.4","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hid/hid-roccat.c"]}],"references":["https://git.kernel.org/stable/c/cebb20b9a29cfc90bf56e54337333084f85a69dd","https://git.kernel.org/stable/c/690da9177e64bcfda2f4c0b5b8465178e4a236d8","https://git.kernel.org/stable/c/b3cc411daa50b39ba5706492a80a5a0804d9c85f","https://git.kernel.org/stable/c/4cb3ff31d237ad1f515455c497ef07d7172d912b","https://git.kernel.org/stable/c/943b8dc2c6044c01e36395f51bb809a4b6bdfd22","https://git.kernel.org/stable/c/da00eac19feef209c9591e48c860afc2014603be","https://git.kernel.org/stable/c/fbb5a60f5c31b5625f0d89a79912fbcb2559289b","https://git.kernel.org/stable/c/bbff0ccbff360a5498075525005f6a913239a3d7"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:26.108Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/89xxx/CVE-2026-89627.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-89627","state":"PUBLISHED","datePublished":"2026-09-11T19:45:23.479Z","dateUpdated":"2026-10-19T08:49:59.521Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-11T19:38:34.738Z"},"containers":{"cna":{"title":"HID: roccat: free buffered reports when destroying device","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: roccat: free buffered reports when destroying device\n\nroccat_report_event() duplicates each report with kmemdup() and stores\nthe allocation in a circular-buffer slot. The allocation is released only\nwhen that slot is reused.\n\nThe device destruction paths free struct roccat_device without releasing\nreports still stored in cbuf[]. This makes those allocations unreachable\nand leaks up to ROCCAT_CBUF_SIZE report buffers per device.\n\nAdd a small destructor that frees every buffered report before freeing the\ndevice, and use it in both paths that can destroy a registered device."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"206f5f2fcb5ff5bb0c60f9e9189937f3ca03e378","status":"affected","lessThan":"cebb20b9a29cfc90bf56e54337333084f85a69dd","versionType":"git"},{"version":"206f5f2fcb5ff5bb0c60f9e9189937f3ca03e378","status":"affected","lessThan":"690da9177e64bcfda2f4c0b5b8465178e4a236d8","versionType":"git"},{"version":"206f5f2fcb5ff5bb0c60f9e9189937f3ca03e378","status":"affected","lessThan":"b3cc411daa50b39ba5706492a80a5a0804d9c85f","versionType":"git"},{"version":"206f5f2fcb5ff5bb0c60f9e9189937f3ca03e378","status":"affected","lessThan":"4cb3ff31d237ad1f515455c497ef07d7172d912b","versionType":"git"},{"version":"206f5f2fcb5ff5bb0c60f9e9189937f3ca03e378","status":"affected","lessThan":"943b8dc2c6044c01e36395f51bb809a4b6bdfd22","versionType":"git"},{"version":"206f5f2fcb5ff5bb0c60f9e9189937f3ca03e378","status":"affected","lessThan":"da00eac19feef209c9591e48c860afc2014603be","versionType":"git"},{"version":"206f5f2fcb5ff5bb0c60f9e9189937f3ca03e378","status":"affected","lessThan":"fbb5a60f5c31b5625f0d89a79912fbcb2559289b","versionType":"git"},{"version":"206f5f2fcb5ff5bb0c60f9e9189937f3ca03e378","status":"affected","lessThan":"bbff0ccbff360a5498075525005f6a913239a3d7","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hid/hid-roccat.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.35","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.35","versionType":"semver"},{"version":"5.10.270","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.221","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.188","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.157","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.109","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.50","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.4","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hid/hid-roccat.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/cebb20b9a29cfc90bf56e54337333084f85a69dd"},{"url":"https://git.kernel.org/stable/c/690da9177e64bcfda2f4c0b5b8465178e4a236d8"},{"url":"https://git.kernel.org/stable/c/b3cc411daa50b39ba5706492a80a5a0804d9c85f"},{"url":"https://git.kernel.org/stable/c/4cb3ff31d237ad1f515455c497ef07d7172d912b"},{"url":"https://git.kernel.org/stable/c/943b8dc2c6044c01e36395f51bb809a4b6bdfd22"},{"url":"https://git.kernel.org/stable/c/da00eac19feef209c9591e48c860afc2014603be"},{"url":"https://git.kernel.org/stable/c/fbb5a60f5c31b5625f0d89a79912fbcb2559289b"},{"url":"https://git.kernel.org/stable/c/bbff0ccbff360a5498075525005f6a913239a3d7"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T08:49:59.521Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.35","versionEndExcluding":"5.10.270"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.35","versionEndExcluding":"5.15.221"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.35","versionEndExcluding":"6.1.188"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.35","versionEndExcluding":"6.6.157"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.35","versionEndExcluding":"6.12.109"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.35","versionEndExcluding":"6.18.50"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.35","versionEndExcluding":"7.2.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.35","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}