# CVE-2024-42066: drm/xe: Fix potential integer overflow in page size calculation

- 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.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2024-07-29T15:52:30.984Z
- Modified: 2026-08-05T11:35:24.979Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

drm/xe: Fix potential integer overflow in page size calculation

Explicitly cast tbo->page_alignment to u64 before bit-shifting to
prevent overflow when assigning to min_page_size.

(As written by CVE List.)

## Affected

- Linux Linux: from dd08ebf6c3525a7ea2186e636df064ea47281987 before 79d54ddf0e292b810887994bb04709c5ac0e1531; from dd08ebf6c3525a7ea2186e636df064ea47281987 before 4f4fcafde343a54465f85a2909fc684918507a4b; 6.8 (not affected: before 6.8; from 6.9.8 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: before 6.9.8

## 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 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/79d54ddf0e292b810887994bb04709c5ac0e1531> (patch)
- <https://git.kernel.org/stable/c/4f4fcafde343a54465f85a2909fc684918507a4b> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2024-42066 · Whole record: https://cve.day/CVE-2024-42066.json · Rebuilt by cve.day 2026-11-25T22:58:43.334Z
