CVE-2026-72352
HID: bpf: Fix hid_bpf_get_data() range check
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.
INFO
Published Date :
Aug. 15, 2026, 6:22 a.m.
Last Modified :
Aug. 17, 2026, 6:18 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Apply the kernel patch that addresses the range check issue.
- Update the Linux kernel to a patched version.
- Ensure the HID subsystem range checks are properly validated.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-72352.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-72352 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-72352
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-72352 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-72352 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 17, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '658ee5a64fcfbbf758447fa3af425729eaabb0dc', 'lessThan': 'ca373549140dfb386aa2de38364b58441b1f4885', 'versionType': 'git'}, {'status': 'affected', 'version': '658ee5a64fcfbbf758447fa3af425729eaabb0dc', 'lessThan': '61a959b82f1aecd6d2d35c208013dd077cac9d10', 'versionType': 'git'}, {'status': 'affected', 'version': '658ee5a64fcfbbf758447fa3af425729eaabb0dc', 'lessThan': 'f81bc5a709dcbaf2a3bbef4ca7167f93900cc39f', 'versionType': 'git'}, {'status': 'affected', 'version': '658ee5a64fcfbbf758447fa3af425729eaabb0dc', 'lessThan': '2d044049421dd48212b28646a850749d4a2d57fa', 'versionType': 'git'}], 'programFiles': ['drivers/hid/bpf/hid_bpf_dispatch.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.3'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.3', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc3', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/hid/bpf/hid_bpf_dispatch.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '658ee5a64fcfbbf758447fa3af425729eaabb0dc', 'lessThan': 'ca373549140dfb386aa2de38364b58441b1f4885', 'versionType': 'git'}, {'status': 'affected', 'version': '658ee5a64fcfbbf758447fa3af425729eaabb0dc', 'lessThan': '61a959b82f1aecd6d2d35c208013dd077cac9d10', 'versionType': 'git'}, {'status': 'affected', 'version': '658ee5a64fcfbbf758447fa3af425729eaabb0dc', 'lessThan': 'f81bc5a709dcbaf2a3bbef4ca7167f93900cc39f', 'versionType': 'git'}, {'status': 'affected', 'version': '658ee5a64fcfbbf758447fa3af425729eaabb0dc', 'lessThan': '2d044049421dd48212b28646a850749d4a2d57fa', 'versionType': 'git'}], 'programFiles': ['drivers/hid/bpf/hid_bpf_dispatch.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.3'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.3', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/hid/bpf/hid_bpf_dispatch.c'], 'defaultStatus': 'affected'}] -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 15, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '658ee5a64fcfbbf758447fa3af425729eaabb0dc', 'lessThan': 'ca373549140dfb386aa2de38364b58441b1f4885', 'versionType': 'git'}, {'status': 'affected', 'version': '658ee5a64fcfbbf758447fa3af425729eaabb0dc', 'lessThan': '61a959b82f1aecd6d2d35c208013dd077cac9d10', 'versionType': 'git'}, {'status': 'affected', 'version': '658ee5a64fcfbbf758447fa3af425729eaabb0dc', 'lessThan': 'f81bc5a709dcbaf2a3bbef4ca7167f93900cc39f', 'versionType': 'git'}, {'status': 'affected', 'version': '658ee5a64fcfbbf758447fa3af425729eaabb0dc', 'lessThan': '2d044049421dd48212b28646a850749d4a2d57fa', 'versionType': 'git'}], 'programFiles': ['drivers/hid/bpf/hid_bpf_dispatch.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.3'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.3', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc3', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/hid/bpf/hid_bpf_dispatch.c'], 'defaultStatus': 'affected'}] Added 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. Added Reference https://git.kernel.org/stable/c/2d044049421dd48212b28646a850749d4a2d57fa Added Reference https://git.kernel.org/stable/c/61a959b82f1aecd6d2d35c208013dd077cac9d10 Added Reference https://git.kernel.org/stable/c/ca373549140dfb386aa2de38364b58441b1f4885 Added Reference https://git.kernel.org/stable/c/f81bc5a709dcbaf2a3bbef4ca7167f93900cc39f