CVE-2026-98860: Linux
EPSS: 0.2% probability of exploitation activity in the next 30 days.
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.
What to do
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- Linux, from 6.12.78, before 6.12.113: fixed in 6.12.113
- Linux, from 6.18.20, before 6.18.56: fixed in 6.18.56
- Linux, from 6.19.10, before 6.20: fixed in 6.20
- Linux, from 7.0, before 7.2.10: fixed in 7.2.10
Affected products
- Linux Linux: from 6.12.78, before 6.12.113 (fixed in 6.12.113); from 6.18.20, before 6.18.56 (fixed in 6.18.56); from 6.19.10, before 6.20 (fixed in 6.20); from 7.0, before 7.2.10 (fixed in 7.2.10)
Published 2026-10-18. Last modified 2026-10-19.