CVE-2026-98860: Linux kernel · HID: bpf: cast size to ssize_t when checking hid_bpf_hw_request
Source GCVE Database
Not known to be exploited · fixed in f9f808227554b2c116fd07dd2328ecd74ea3f411 : update Linux kernel when convenient.
Data as of 26 Oct 2026, 14:05 UTC
Rated by Threat Radar · CVSS not yet scored by NVD
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 4% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in f9f808227554b2c116fd07dd2328ecd74ea3f411, 97be6396817bd3b11d06239010d27902940bfaa9, 8b85ef0f561039e249c3f883c5280a1449c6dbee +4
Exploitation evidence
Disclosed: evidence found.
CVE published 18 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in– |
AI-suggested
A fix has been implemented in the Linux kernel to address this vulnerability by casting the size variable to ssize_t to properly handle negative error codes. Users should apply the official kernel updates that include this fix. No alternative mitigations are indicated.
Description
A vulnerability in the Linux kernel related to the HID subsystem and BPF programs was resolved. The issue involved improper casting of a size variable to size_t when checking hardware request results, causing negative error codes to be misinterpreted as large positive values. This led to hardware errors being silently treated as successes, potentially causing BPF programs to operate on uninitialized or stale data. The fix involved casting the size variable to ssize_t to correctly handle negative error codes.
References
- nvd.nist.gov/vuln/detail/CVE-2026-98860 (opens in a new tab)
- git.kernel.org/stable/c/3afefbfe55c2a8a0c4bdf6f4cc1f773da120027c (opens in a new tab)
- git.kernel.org/stable/c/8b85ef0f561039e249c3f883c5280a1449c6dbee (opens in a new tab)
- git.kernel.org/stable/c/97be6396817bd3b11d06239010d27902940bfaa9 (opens in a new tab)
- git.kernel.org/stable/c/f9f808227554b2c116fd07dd2328ecd74ea3f411 (opens in a new tab)