{"id":"CVE-2024-42120","summary":"drm/amd/display: Check pipe offset before setting vblank","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Check pipe offset before setting vblank\n\npipe_ctx has a size of MAX_PIPES so checking its index before accessing\nthe array.\n\nThis fixes an OVERRUN issue reported by Coverity.","modified":"2026-04-16T04:31:57.615662633Z","published":"2024-07-30T07:46:12.136Z","related":["SUSE-SU-2024:2892-1","SUSE-SU-2024:2901-1","SUSE-SU-2024:2940-1","SUSE-SU-2024:3190-1","SUSE-SU-2024:3194-1","SUSE-SU-2024:3195-1","SUSE-SU-2024:3209-1","SUSE-SU-2024:3383-1","SUSE-SU-2024:3483-1","SUSE-SU-2025:20044-1","SUSE-SU-2025:20047-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42120.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0b3702f9d43d163fd05e43b7d7e22e766dbef329"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5396a70e8cf462ec5ccf2dc8de103c79de9489e6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/96bf81cc1bd058bb8af6e755a548e926e934dfd1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b2e9abc95583ac7bbb2c47da4d476a798146dfd6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c5ec2afeeee4c91cebc4eff6d4f1ecf4047259f4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d2c3645a4a5ae5d933b4116c305d9d82b8199dbf"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42120.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42120"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c"},{"fixed":"b2e9abc95583ac7bbb2c47da4d476a798146dfd6"},{"fixed":"0b3702f9d43d163fd05e43b7d7e22e766dbef329"},{"fixed":"d2c3645a4a5ae5d933b4116c305d9d82b8199dbf"},{"fixed":"96bf81cc1bd058bb8af6e755a548e926e934dfd1"},{"fixed":"c5ec2afeeee4c91cebc4eff6d4f1ecf4047259f4"},{"fixed":"5396a70e8cf462ec5ccf2dc8de103c79de9489e6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42120.json"}}],"schema_version":"1.7.5"}