CVE-2026-98860

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.

Package Linux Kernel
Published 2026-10-18
Last modified 2026-10-18
Patch available
Yes

Affected versions

Linux kernel versions 6.12.78, 6.18.20, 6.19.10, 7.0 and later are affected. Fixed in 6.12.113, 6.18.56, 7.2.10, 7.3 and their respective stable series.

Affected from
≥ 6.12.78 ≥ 6.18.20 ≥ 6.19.10 ≥ 7.0
Fixed in
✓ 6.12.113 6.12.x ✓ 6.18.56 6.18.x ✓ 7.2.10 7.2.x ✓ 7.3

Frequently asked questions

  • What is CVE-2026-98860?

    CVE-2026-98860 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 6.12.78 onward and has been patched in 6.12.113, 6.18.56, 7.2.10 and others. CVE-2026-98860 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • Is there a patch available for CVE-2026-98860?

    Yes. CVE-2026-98860 has been patched. Fixed versions include 6.12.113, 6.18.56, 7.2.10 and others. If you are running Linux kernel 6.12.78 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2026-98860 actively exploited?

    No. CVE-2026-98860 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.