CVE-2026-72352 HID: bpf: Fix hid_bpf_get_data() range check
An integer overflow in the Linux kernel HID-BPF subsystem allows out-of-bounds memory access, potentially leading to code execution or privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-72352?
CVE-2026-72352 is a high-severity vulnerability in Linux, published on 15 Aug 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2026-72352?
How do I fix CVE-2026-72352?
Apply the vendor's patch.
Is CVE-2026-72352 being exploited?
There is no known exploitation of CVE-2026-72352 in the wild and no public exploit code.
Sources
Also known as BELL-CVE-2026-72352, DEBIAN-CVE-2026-72352, GHSA-p43j-9ghf-j8hh, UBUNTU-CVE-2026-72352.