CVE-2026-72352

Source
https://cve.org/CVERecord?id=CVE-2026-72352
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72352.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-72352
Downstream
Published
2026-08-15T05:55:54.809Z
Modified
2026-08-16T03:48:34.318735081Z
Summary
HID: bpf: Fix hid_bpf_get_data() range check
Details

In the Linux kernel, the following vulnerability has been resolved:

HID: bpf: Fix hidbpfget_data() range check

hidbpfgetdata() returns a pointer into the HID-BPF context data when the caller-provided offset and size fit inside ctx->allocatedsize.

The current check adds rdwrbufsize and offset before comparing the result against ctx->allocatedsize. Since both values are unsigned, a very large size can wrap the sum below ctx->allocatedsize and make the helper return a pointer even though the requested range is not contained in the backing buffer.

Use checkaddoverflow() to reject wrapped range ends before comparing the requested range end against ctx->allocated_size.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72352.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
658ee5a64fcfbbf758447fa3af425729eaabb0dc
Fixed
ca373549140dfb386aa2de38364b58441b1f4885
Fixed
61a959b82f1aecd6d2d35c208013dd077cac9d10
Fixed
f81bc5a709dcbaf2a3bbef4ca7167f93900cc39f
Fixed
2d044049421dd48212b28646a850749d4a2d57fa

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72352.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.3.0
Fixed
6.12.97
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.40
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72352.json"