{"id":"CVE-2026-72352","aliases":["CVE-2026-72352"],"related":[],"kind":"vulnerability","state":"published","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->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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->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.","source":"cvelist"}],"published":"2026-08-15T05:55:54.809Z","modified":"2026-10-21T13:19:35.593Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"658ee5a64fcfbbf758447fa3af425729eaabb0dc","fixed":"f72176bde0cc0e709e41ab170c71e8f229232af6","status":"affected"},{"type":"git","introduced":"658ee5a64fcfbbf758447fa3af425729eaabb0dc","fixed":"ca373549140dfb386aa2de38364b58441b1f4885","status":"affected"},{"type":"git","introduced":"658ee5a64fcfbbf758447fa3af425729eaabb0dc","fixed":"61a959b82f1aecd6d2d35c208013dd077cac9d10","status":"affected"},{"type":"git","introduced":"658ee5a64fcfbbf758447fa3af425729eaabb0dc","fixed":"f81bc5a709dcbaf2a3bbef4ca7167f93900cc39f","status":"affected"},{"type":"git","introduced":"658ee5a64fcfbbf758447fa3af425729eaabb0dc","fixed":"2d044049421dd48212b28646a850749d4a2d57fa","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.3","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.97","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/f72176bde0cc0e709e41ab170c71e8f229232af6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ca373549140dfb386aa2de38364b58441b1f4885","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/61a959b82f1aecd6d2d35c208013dd077cac9d10","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f81bc5a709dcbaf2a3bbef4ca7167f93900cc39f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2d044049421dd48212b28646a850749d4a2d57fa","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T18:47:53.495Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72352","url":"https://www.cve.org/CVERecord?id=CVE-2026-72352","licence":"CVE Terms of Use","modified":"2026-10-21T12:44:39.607Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72352","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72352","licence":"Public domain","modified":"2026-10-21T13:19:35.593Z"}],"updatedAt":"2026-11-25T22:59:33.092Z","epss":{"score":0.00175,"percentile":0.07367,"date":"2026-12-01T12:00:22.000Z"}}