Linux kernel: HID: bpf: cast size to ssize_t when checking hid_bpf_hw_request
Overview
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.
- Published
- 10/18/2026
- Last modified
- 10/19/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
Linux Linux | ≥ d6efaa50af62fb0790dd1fd4e7e5506b46312510, < 8b85ef0f561039e249c3f883c5280a1449c6dbee | Verify advisory | Source |
Linux Linux | ≥ 73c5b5aea1c443239c8cb4191b4af7a4bd6fd7b1, < 97be6396817bd3b11d06239010d27902940bfaa9 | Verify advisory | Source |
Linux Linux | ≥ 2b658c1c442ec1cd9eec5ead98d68662c40fe645, < f9f808227554b2c116fd07dd2328ecd74ea3f411 | Verify advisory | Source |
Linux Linux | ≥ 2b658c1c442ec1cd9eec5ead98d68662c40fe645, < 3afefbfe55c2a8a0c4bdf6f4cc1f773da120027c | Verify advisory | Source |
Linux Linux | eb57dae20fdf6f3069cdc07821fa3bb46de381d7 | Verify advisory | Source |
Linux Linux | ≥ 6.12.78, < 6.12.113 | Verify advisory | Source |
Linux Linux | ≥ 6.18.20, < 6.18.56 | Verify advisory | Source |
Linux Linux | ≥ 6.19.10, < 6.20 | Verify advisory | Source |
Linux Linux | 7.0 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
No CVSS score is published for this record yet. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.