CVE-2026-98860
HID: bpf: cast size to ssize_t when checking hid_bpf_hw_request
Mitigation
- Upgrade Linux to 6.20 or later.
Who should check
- Anyone running Linux >= d6efaa50af62fb0790dd1fd4e7e5506b46312510, < 8b85ef0f561039e249c3f883c5280a1449c6dbee; >= 73c5b5aea1c443239c8cb4191b4af7a4bd6fd7b1, < 97be6396817bd3b11d06239010d27902940bfaa9; >= 2b658c1c442ec1cd9eec5ead98d68662c40fe645, < f9f808227554b2c116fd07dd2328ecd74ea3f411; >= 2b658c1c442ec1cd9eec5ead98d68662c40fe645, < 3afefbfe55c2a8a0c4bdf6f4cc1f773da120027c; eb57dae20fdf6f3069cdc07821fa3bb46de381d7; >= 6.12.78, < 6.12.113; >= 6.18.20, < 6.18.56; >= 6.19.10, < 6.20
- Anyone running Linux 7.0
Vulnerability facts
- Affected
- Linux >= d6efaa50af62fb0790dd1fd4e7e5506b46312510, < 8b85ef0f561039e249c3f883c5280a1449c6dbee; >= 73c5b5aea1c443239c8cb4191b4af7a4bd6fd7b1, < 97be6396817bd3b11d06239010d27902940bfaa9; >= 2b658c1c442ec1cd9eec5ead98d68662c40fe645, < f9f808227554b2c116fd07dd2328ecd74ea3f411; >= 2b658c1c442ec1cd9eec5ead98d68662c40fe645, < 3afefbfe55c2a8a0c4bdf6f4cc1f773da120027c; eb57dae20fdf6f3069cdc07821fa3bb46de381d7; >= 6.12.78, < 6.12.113; >= 6.18.20, < 6.18.56; >= 6.19.10, < 6.20; Linux 7.0
- Fixed in
- Linux 8b85ef0f561039e249c3f883c5280a1449c6dbee, Linux 97be6396817bd3b11d06239010d27902940bfaa9, Linux 3afefbfe55c2a8a0c4bdf6f4cc1f773da120027c, Linux 6.12.113, Linux 6.18.56, Linux 6.20
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.21% chance of exploitation in 30 days (percentile 6, 2026-11-26)
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= d6efaa50af62fb0790dd1fd4e7e5506b46312510, < 8b85ef0f561039e249c3f883c5280a1449c6dbee; >= 73c5b5aea1c443239c8cb4191b4af7a4bd6fd7b1, < 97be6396817bd3b11d06239010d27902940bfaa9; >= 2b658c1c442ec1cd9eec5ead98d68662c40fe645, < f9f808227554b2c116fd07dd2328ecd74ea3f411; >= 2b658c1c442ec1cd9eec5ead98d68662c40fe645, < 3afefbfe55c2a8a0c4bdf6f4cc1f773da120027c; eb57dae20fdf6f3069cdc07821fa3bb46de381d7; >= 6.12.78, < 6.12.113; >= 6.18.20, < 6.18.56; >= 6.19.10, < 6.20 | — | cvelist |
| Linux | 7.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-98860. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-98860.md Affected: Linux >= d6efaa50af62fb0790dd1fd4e7e5506b46312510, < 8b85ef0f561039e249c3f883c5280a1449c6dbee; >= 73c5b5aea1c443239c8cb4191b4af7a4bd6fd7b1, < 97be6396817bd3b11d06239010d27902940bfaa9; >= 2b658c1c442ec1cd9eec5ead98d68662c40fe645, < f9f808227554b2c116fd07dd2328ecd74ea3f411; >= 2b658c1c442ec1cd9eec5ea… Fixed in: Linux 8b85ef0f561039e249c3f883c5280a1449c6dbee, Linux 97be6396817bd3b11d06239010d27902940bfaa9, Linux 3afefbfe55c2a8a0c4bdf6f4cc1f773da120027c, Linux 6.12.113, Linux 6.18.56, Linux 6.20 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-98860 being exploited?
There is no confirmed exploitation: CVE-2026-98860 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-98860?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-98860?
Linux >= d6efaa50af62fb0790dd1fd4e7e5506b46312510, < 8b85ef0f561039e249c3f883c5280a1449c6dbee; >= 73c5b5aea1c443239c8cb4191b4af7a4bd6fd7b1, < 97be6396817bd3b11d06239010d27902940bfaa9; >= 2b658c1c442ec1cd9eec5ead98d68662c40fe645, < f9f808227554b2c116fd07dd2328ecd74ea3f411; >= 2b658c1c442ec1cd9eec5ead98d68662c40fe645, < 3afefbfe55c2a8a0c4bdf6f4cc1f773da120027c; eb57dae20fdf6f3069cdc07821fa3bb46de381d7; >= 6.12.78, < 6.12.113; >= 6.18.20, < 6.18.56; >= 6.19.10, < 6.20; Linux 7.0.
Is there a fix for CVE-2026-98860?
Yes. Fixed in Linux 8b85ef0f561039e249c3f883c5280a1449c6dbee, Linux 97be6396817bd3b11d06239010d27902940bfaa9, Linux 3afefbfe55c2a8a0c4bdf6f4cc1f773da120027c, Linux 6.12.113, Linux 6.18.56, Linux 6.20. Upgrade Linux to 6.20 or later.
How do I check if I'm affected by CVE-2026-98860?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.