HID: rapoo: fix missing hid_is_usb() check
In the Linux kernel, the following vulnerability has been resolved: HID: rapoo: fix missing hid_is_usb() check to_usb_interface() can only be used on a hid_device whose parent is really USB; uhid can create devices that identify as being on BUS_USB, but don't actually have a USB parent. Fix the use of to_usb_interface() without a hid_is_usb() check. Add a dependency on USB_HID for hid_is_usb(), as other HID drivers do; the alternative would be to provide a simple stub implementation on !USB_HID builds. I have verified that it is currently possible to trigger a kernel splat due to this bug in an ASAN build, and that this commit fixes the issue.
CVE-2026-80769
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-80769
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "b3b1c68fb726907ea35ac172906705fe62c7fdaf",
"lessThan": "99ed3febafe0452994620a4d819f595583289bec",
"versionType": "git"
},
{
"status": "affected",
"version": "b3b1c68fb726907ea35ac172906705fe62c7fdaf",
"lessThan": "49b6fd28fbcc0b6457e16e25c7617f63449d4808",
"versionType": "git"
},
{
"status": "affected",
"version": "b3b1c68fb726907ea35ac172906705fe62c7fdaf",
"lessThan": "b57af2448268c30c25509a832b6ff6dc27176b28",
"versionType": "git"
}
],
"programFiles": [
"drivers/hid/Kconfig",
"drivers/hid/hid-rapoo.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "7.0"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "7.0",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "7.1.11",
"versionType": "semver",
"lessThanOrEqual": "7.1.*"
},
{
"status": "unaffected",
"version": "7.2.1",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/hid/Kconfig",
"drivers/hid/hid-rapoo.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-80769
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #34788 · Revision 1
- Added to Heist Feed
- Publisher date