CVE-2026-98860

Published October 18, 2026 · updated October 19, 2026

What it is

The Linux kernel can report a hardware error from an input device, such as a keyboard or mouse, as a success to custom programs loaded to handle that device. Those programs could then work with outdated or unset data. The record does not describe an attack.

Written in plain English by AI from the official record. Show the official wording

In the Linux kernel, the following vulnerability has been resolved: HID: bpf: cast size to ssize_t when checking hid_bpf_hw_request As reported by Sashiko: If a transport driver encounters a hardware error and returns a negative error code such as -EPIPE, ret is implicitly promoted to size_t when compared against size. This causes the negative error code to evaluate as a large positive number, making the (ret > size) condition true. This silently converts the hardware error into a success return value and copies the unmodified buffer back, which could leave BPF programs operating on uninitialized or stale data. Fix this by casting size into ssize_t to return the actual negative error code.

Chance of being attacked in the next 30 days: 0.2 % (EPSS).

What it affects, and the version that fixes it

  • Linux Kernel Each release has its own fixed version: 6.12.113, 6.18.56, 6.20, 7.2.10, 7.3.

The official vulnerability database has not reviewed this record yet, so this comes from the vendor's own listing and may be incomplete.

The official record (NVD) · CVE.org