# CVE-2023-53646: drm/i915/perf: add sentinel to xehp_oa_b_counters

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-10-07T15:19:44.412Z
- Modified: 2026-08-05T09:15:21.134Z
- Weaknesses: CWE-125
- Assigned by: Linux

## Description

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

drm/i915/perf: add sentinel to xehp_oa_b_counters

Arrays passed to reg_in_range_table should end with empty record.

The patch solves KASAN detected bug with signature:
BUG: KASAN: global-out-of-bounds in xehp_is_valid_b_counter_addr+0x2c7/0x350 [i915]
Read of size 4 at addr ffffffffa1555d90 by task perf/1518

CPU: 4 PID: 1518 Comm: perf Tainted: G U 6.4.0-kasan_438-g3303d06107f3+ #1
Hardware name: Intel Corporation Meteor Lake Client Platform/MTL-P DDR5 SODIMM SBS RVP, BIOS MTLPFWI1.R00.3223.D80.2305311348 05/31/2023
Call Trace:
<TASK>
...
xehp_is_valid_b_counter_addr+0x2c7/0x350 [i915]

(cherry picked from commit 2f42c5afb34b5696cf5fe79e744f99be9b218798)

(As written by CVE List.)

## Affected

- Linux Linux: from 0fa9349dda030fa847b36f880a5eea25c3202b66 before 21d92025e80629fd5c25cd6751f8cf38c784dd4a; from 0fa9349dda030fa847b36f880a5eea25c3202b66 before 785b3f667b4bf98804cad135005e964df0c750de; 6.2 (not affected: before 6.2; from 6.4.7 up to 6.4.*; from 6.5 up to *)
- linux linux_kernel: from 6.2 before 6.4.7; 6.5

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/21d92025e80629fd5c25cd6751f8cf38c784dd4a> (patch)
- <https://git.kernel.org/stable/c/785b3f667b4bf98804cad135005e964df0c750de> (patch)

## Sources

- CVE List: [CVE-2023-53646](https://www.cve.org/CVERecord?id=CVE-2023-53646), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2023-53646](https://nvd.nist.gov/vuln/detail/CVE-2023-53646), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2023-53646 · Whole record: https://cve.day/CVE-2023-53646.json · Rebuilt by cve.day 2026-11-25T22:58:34.984Z
