What’s Vulnerable › Vulnerabilities
CVE-2026-72352: HID: bpf: Fix hid_bpf_get_data() range check
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-15 · updated 2026-10-21
Description
In the Linux kernel, the following vulnerability has been resolved: HID: bpf: Fix hid_bpf_get_data() range check hid_bpf_get_data() returns a pointer into the HID-BPF context data when the caller-provided offset and size fit inside ctx->allocated_size. The current check adds rdwr_buf_size and offset before comparing the result against ctx->allocated_size. Since both values are unsigned, a very large size can wrap the sum below ctx->allocated_size and make the helper return a pointer even though the requested range is not contained in the backing buffer. Use check_add_overflow() to reject wrapped range ends before comparing the requested range end against ctx->allocated_size.
Affected products
- Linux kernel: 6.3 — fixed in 7.2
How to fix
Upgrade to a fixed version: Linux kernel 7.2. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/2d044049421dd48212b28646a850749d4a2d57fa
- https://git.kernel.org/stable/c/61a959b82f1aecd6d2d35c208013dd077cac9d10
- https://git.kernel.org/stable/c/ca373549140dfb386aa2de38364b58441b1f4885
- https://git.kernel.org/stable/c/f72176bde0cc0e709e41ab170c71e8f229232af6
- https://git.kernel.org/stable/c/f81bc5a709dcbaf2a3bbef4ca7167f93900cc39f
Get alerted when CVE-2026-72352 or the next vulnerability affects your stack