{"id":"CVE-2026-72352","title":"HID: bpf: Fix hid_bpf_get_data() range check","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: bpf: Fix hid_bpf_get_data() range check\n\nhid_bpf_get_data() returns a pointer into the HID-BPF context data when\nthe caller-provided offset and size fit inside ctx…","severity":"high","cvss":7.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cvssSource":"cna","cwe":["CWE-787"],"vendor":"Linux","product":"Linux","affected":["Linux >= 658ee5a64fcfbbf758447fa3af425729eaabb0dc < f72176bde0cc0e709e41ab170c71e8f229232af6","Linux >= 658ee5a64fcfbbf758447fa3af425729eaabb0dc < ca373549140dfb386aa2de38364b58441b1f4885","Linux >= 658ee5a64fcfbbf758447fa3af425729eaabb0dc < 61a959b82f1aecd6d2d35c208013dd077cac9d10","Linux >= 658ee5a64fcfbbf758447fa3af425729eaabb0dc < f81bc5a709dcbaf2a3bbef4ca7167f93900cc39f","Linux >= 658ee5a64fcfbbf758447fa3af425729eaabb0dc < 2d044049421dd48212b28646a850749d4a2d57fa","Linux 6.3"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-16T18:47:53.495070Z"},"published":"2026-08-15","updated":"2026-10-21","sourceUpdated":"2026-10-21T12:44:39.607Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-72352","references":[{"url":"https://git.kernel.org/stable/c/f72176bde0cc0e709e41ab170c71e8f229232af6"},{"url":"https://git.kernel.org/stable/c/ca373549140dfb386aa2de38364b58441b1f4885"},{"url":"https://git.kernel.org/stable/c/61a959b82f1aecd6d2d35c208013dd077cac9d10"},{"url":"https://git.kernel.org/stable/c/f81bc5a709dcbaf2a3bbef4ca7167f93900cc39f"},{"url":"https://git.kernel.org/stable/c/2d044049421dd48212b28646a850749d4a2d57fa"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-72352.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-72352"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2516733"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-72352"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72352"},{"url":"https://lore.kernel.org/linux-cve-announce/2026081512-CVE-2026-72352-9ba2@gregkh/T"}],"tags":["cve.org","csaf","vex","red-hat","score-dispute"],"epss":0.00175,"epssPercentile":0.06993,"scores":{"cna":7.8,"vendor":5.5},"ingestedAt":"2026-10-16T19:46:24.405Z","slug":"CVE-2026-72352","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nHID: bpf: Fix hid_bpf_get_data() range check\n\nhid_bpf_get_data() returns a pointer into the HID-BPF context data when\nthe caller-provided offset and size fit inside ctx->allocated_size.\n\nThe current check adds rdwr_buf_size and offset before comparing the\nresult against ctx->allocated_size. Since both values are unsigned, a\nvery large size can wrap the sum below ctx->allocated_size and make the\nhelper return a pointer even though the requested range is not contained\nin the backing buffer.\n\nUse check_add_overflow() to reject wrapped range ends before comparing\nthe requested range end against ctx->allocated_size.\n\n## Affected\n\n- `Linux >= 658ee5a64fcfbbf758447fa3af425729eaabb0dc < f72176bde0cc0e709e41ab170c71e8f229232af6`\n- `Linux >= 658ee5a64fcfbbf758447fa3af425729eaabb0dc < ca373549140dfb386aa2de38364b58441b1f4885`\n- `Linux >= 658ee5a64fcfbbf758447fa3af425729eaabb0dc < 61a959b82f1aecd6d2d35c208013dd077cac9d10`\n- `Linux >= 658ee5a64fcfbbf758447fa3af425729eaabb0dc < f81bc5a709dcbaf2a3bbef4ca7167f93900cc39f`\n- `Linux >= 658ee5a64fcfbbf758447fa3af425729eaabb0dc < 2d044049421dd48212b28646a850749d4a2d57fa`\n- `Linux 6.3`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9 · updated 2026-10-16 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-72352.json)","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[{"seq":227197,"id":"CVE-2026-72352","ts":1792586992872,"field":"cvss","old":"5.5","new":"7.8"},{"seq":227196,"id":"CVE-2026-72352","ts":1792586992872,"field":"severity","old":"medium","new":"high"},{"seq":223653,"id":"CVE-2026-72352","ts":1792238347825,"field":"cvss","old":"7.8","new":"5.5"},{"seq":223652,"id":"CVE-2026-72352","ts":1792238347825,"field":"severity","old":"high","new":"medium"}]}