HID: bpf: Fix hid_bpf_get_data() range check
CVE-2026-72352 · published 15 Aug 2026
How serious is it
- Severity: high, CVSS score 7.8 out of 10.
- No exploit prediction (EPSS) score yet.
- Not on the CISA list of exploited vulnerabilities.
- No public exploit in Exploit-DB.
Is your app affected by CVE-2026-72352?
Paste this prompt into Claude Code, Cursor or any AI coding tool: it runs a free Shippable scan of your project and fixes what it finds. Built with Lovable, Bolt or v0? Scan your live app. Or upload your package file.
Who is affected
- Linux Linux: 658ee5a64fcfbbf758447fa3af425729eaabb0dc to < f72176bde0cc0e709e41ab170c71e8f229232af6, 658ee5a64fcfbbf758447fa3af425729eaabb0dc to < ca373549140dfb386aa2de38364b58441b1f4885, 658ee5a64fcfbbf758447fa3af425729eaabb0dc to < 61a959b82f1aecd6d2d35c208013dd077cac9d10, 658ee5a64fcfbbf758447fa3af425729eaabb0dc to < f81bc5a709dcbaf2a3bbef4ca7167f93900cc39f
- Linux Linux: 6.3
How to check
- Find out whether you run the affected product and which version, then compare it with the versions above.
How to fix
Copies a prompt for Claude Code, Cursor or Codex that asks it to check whether you run this product.
- Apply the vendor's update or mitigation from the references below. If there is none yet, limit exposure of the affected service until there is.
- If a vulnerable version was live, check your logs and rotate the secrets that server could read.
The advisory
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.
Check your whole app
Dependencies are only half of it. Free and read-only: before you push, run npx shippable-dev scan localhost:3000 in your project folder, no account needed. For your live app, you prove it's yours with a one-line tag first.
References
- git.kernel.org/stable/c/f72176bde0cc0e709e41ab170c71e8f229232af6
- git.kernel.org/stable/c/ca373549140dfb386aa2de38364b58441b1f4885
- git.kernel.org/stable/c/61a959b82f1aecd6d2d35c208013dd077cac9d10
- git.kernel.org/stable/c/f81bc5a709dcbaf2a3bbef4ca7167f93900cc39f
- git.kernel.org/stable/c/2d044049421dd48212b28646a850749d4a2d57fa
Merged from CVE List. Last updated 25 Oct 2026. All vulnerabilities · RSS · JSON