CVE-2026-72352
HID: bpf: Fix hid_bpf_get_data() range check
Reported by linux · Published August 15, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.18-modules-extra | Amazon Linux | 1:6.18.41-94.142.amzn2023 |
| bpftool6.18 | Amazon Linux | 1:6.18.41-94.142.amzn2023 |
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.41-94.142.amzn2023 |
| kernel6.18-tools | Amazon Linux | 1:6.18.41-94.142.amzn2023 |
| perf6.18 | Amazon Linux | 1:6.18.41-94.142.amzn2023 |
| kernel6.18-modules-extra-common | Amazon Linux | 1:6.18.41-94.142.amzn2023 |
| kernel6.12-tools-devel | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| kernel6.18-headers | Amazon Linux | 1:6.18.41-94.142.amzn2023 |
| kernel6.12-devel | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 658ee5a64fcfbbf758447fa3af425729eaabb0dc, 658ee5a64fcfbbf758447fa3af425729eaabb0dc, 658ee5a64fcfbbf758447fa3af425729eaabb0dc |
| Linux | Linux | 6.3, 0, 6.6.160 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| linux | linux_kernel | 6.3, 6.3, 6.3 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel-livepatch-6.12.100-125.179 | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel-livepatch-6.18.41-94.142 | 0 |
| amazon:2023 | kernel6.18 | 0 |
…and 7 more
Timeline
- Aug 15, 2026 Coalition ESS Score
- Aug 15, 2026 CVE Published
- Aug 19, 2026 Security Advisory
- Aug 24, 2026 EPSS Score (12 in total, the first dated here)
- Oct 21, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-72352
vulnetix vdb fixes CVE-2026-72352
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-72352/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart