Skip to main content
VulnerabilityPublished

CVE-2026-98860: Linux kernel · HID: bpf: cast size to ssize_t when checking hid_bpf_hw_request

Source GCVE Database

0
Authoritative record:CVE-2026-98860· Medium

Not known to be exploited · fixed in f9f808227554b2c116fd07dd2328ecd74ea3f411 : update Linux kernel when convenient.

Data as of 26 Oct 2026, 14:05 UTC

Severity
Medium

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

  1. Disclosed: evidence found.

    CVE published 18 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
LinuxLinuxAffected
  • >=6.12.78 <6.12.113
  • >=6.18.20 <6.18.56
  • >=6.19.10 <6.20
Fixed in
  • f9f808227554b2c116fd07dd2328ecd74ea3f411
  • 97be6396817bd3b11d06239010d27902940bfaa9
  • 8b85ef0f561039e249c3f883c5280a1449c6dbee
  • 6.20
  • 6.18.56
  • 6.12.113
  • 3afefbfe55c2a8a0c4bdf6f4cc1f773da120027c
LinuxLinuxAffected
  • =7.0
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

Community reviews

Loading reviews…