Skip to main content
Network Thinking Solutions Logo

CVE-2026-31401

Linux kernel: HID: bpf: prevent buffer overflow in hid_hw_request

All CVEs
CVE-2026-31401Published 4/3/2026

Linux kernel: HID: bpf: prevent buffer overflow in hid_hw_request

Vendor advisory
CVSS7.8High

Overview

In the Linux kernel, the following vulnerability has been resolved: HID: bpf: prevent buffer overflow in hid_hw_request right now the returned value is considered to be always valid. However, when playing with HID-BPF, the return value can be arbitrary big, because it's the return value of dispatch_hid_bpf_raw_requests(), which calls the struct_ops and we have no guarantees that the value makes sense.

Published
4/3/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 / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 6.11, < 6.12.78

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.18.20

Verify advisory

Source
linux kernel
linux
≥ 6.19, < 6.19.10

Verify advisory

Source
linux kernel
linux
7.0

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 8bd0488b5ea58655ad6fdcbe0408ef49b16882b1, < d6efaa50af62fb0790dd1fd4e7e5506b46312510

Verify advisory

Source
Linux
Linux
≥ 8bd0488b5ea58655ad6fdcbe0408ef49b16882b1, < 73c5b5aea1c443239c8cb4191b4af7a4bd6fd7b1

Verify advisory

Source
Linux
Linux
≥ 8bd0488b5ea58655ad6fdcbe0408ef49b16882b1, < eb57dae20fdf6f3069cdc07821fa3bb46de381d7

Verify advisory

Source
Linux
Linux
≥ 8bd0488b5ea58655ad6fdcbe0408ef49b16882b1, < 2b658c1c442ec1cd9eec5ead98d68662c40fe645

Verify advisory

Source
Linux
Linux
6.11

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.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. 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.