# CVE-2024-42120: drm/amd/display: Check pipe offset before setting vblank

- 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.26%, higher than 19% of CVEs (2026-12-01)
- Published: 2024-07-30T07:46:12.136Z
- Modified: 2026-08-05T11:35:47.547Z
- Weaknesses: CWE-129
- 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/amd/display: Check pipe offset before setting vblank

pipe_ctx has a size of MAX_PIPES so checking its index before accessing
the array.

This fixes an OVERRUN issue reported by Coverity.

(As written by CVE List.)

## Affected

- Linux Linux: from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before b2e9abc95583ac7bbb2c47da4d476a798146dfd6; from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 0b3702f9d43d163fd05e43b7d7e22e766dbef329; from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before d2c3645a4a5ae5d933b4116c305d9d82b8199dbf; from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 96bf81cc1bd058bb8af6e755a548e926e934dfd1; from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before c5ec2afeeee4c91cebc4eff6d4f1ecf4047259f4; from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 5396a70e8cf462ec5ccf2dc8de103c79de9489e6; 4.15 (not affected: before 4.15; from 5.10.222 up to 5.10.*; from 5.15.163 up to 5.15.*; from 6.1.98 up to 6.1.*; from 6.6.39 up to 6.6.*; from 6.9.9 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: from 4.15 before 5.10.222; from 5.11 before 5.15.163; from 5.16 before 6.1.98; from 6.2 before 6.6.39; from 6.7 before 6.9.9

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

## References

- <https://git.kernel.org/stable/c/b2e9abc95583ac7bbb2c47da4d476a798146dfd6> (patch)
- <https://git.kernel.org/stable/c/0b3702f9d43d163fd05e43b7d7e22e766dbef329> (patch)
- <https://git.kernel.org/stable/c/d2c3645a4a5ae5d933b4116c305d9d82b8199dbf> (patch)
- <https://git.kernel.org/stable/c/96bf81cc1bd058bb8af6e755a548e926e934dfd1> (patch)
- <https://git.kernel.org/stable/c/c5ec2afeeee4c91cebc4eff6d4f1ecf4047259f4> (patch)
- <https://git.kernel.org/stable/c/5396a70e8cf462ec5ccf2dc8de103c79de9489e6> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

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

---

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