Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-42120

published high CVSS 3.1 · 7.8

drm/amd/display: Check pipe offset before setting vblank

Published
30 Jul 2024, 07:46:12 UTC
Updated
05 Aug 2026, 11:35:47 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to < b2e9abc95583ac7bbb2c47da4d476a798146dfd6 · 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to < 0b3702f9d43d163fd05e43b7d7e22e766dbef329 · 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to < d2c3645a4a5ae5d933b4116c305d9d82b8199dbf · 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to < 96bf81cc1bd058bb8af6e755a548e926e934dfd1 · 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to < c5ec2afeeee4c91cebc4eff6d4f1ecf4047259f4 · 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to < 5396a70e8cf462ec5ccf2dc8de103c79de9489e6 · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.15 (affected) · 0 to < 4.15 (unaffected · semver) · 5.10.222 through 5.10.* (unaffected · semver) · 5.15.163 through 5.15.* (unaffected · semver) · 6.1.98 through 6.1.* (unaffected · semver) · 6.6.39 through 6.6.* (unaffected · semver) · 6.9.9 through 6.9.* (unaffected · semver) · 6.10 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Debian bullseye linux Advisory build 5.10.223-1 DSA-5747-1
Oracle Linux 8 bpftoolaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
SUSE / openSUSE SLE-12-SP5 cluster-md-kmp-defaultppc64le Advisory build 4.12.14-122.225.1 SUSE-SU-2024:2940-1
Debian bullseye linux-6.1 Advisory build 6.1.119-1~deb11u1 DLA-4008-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 8 bpftoolx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-containeraarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-coreaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-corex86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 9 bpftoolaarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 bpftoolx86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-containeraarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-containerx86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-corex86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-debugaarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-debugx86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-develaarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-develx86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-docaarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-docx86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
SUSE / openSUSE SLE-12-SP5 cluster-md-kmp-defaults390x Advisory build 4.12.14-122.225.1 SUSE-SU-2024:2940-1
SUSE / openSUSE SLE-12-SP5 cluster-md-kmp-defaultx86_64 Advisory build 4.12.14-122.225.1 SUSE-SU-2024:2940-1
SUSE / openSUSE SLE-12-SP5 cluster-md-kmp-rtx86_64 Advisory build 4.12.14-10.197.1 SUSE-SU-2024:2892-1
SUSE / openSUSE SLE-12-SP5 dlm-kmp-defaultppc64le Advisory build 4.12.14-122.225.1 SUSE-SU-2024:2940-1
SUSE / openSUSE SLE-12-SP5 dlm-kmp-defaults390x Advisory build 4.12.14-122.225.1 SUSE-SU-2024:2940-1
SUSE / openSUSE SLE-12-SP5 dlm-kmp-defaultx86_64 Advisory build 4.12.14-122.225.1 SUSE-SU-2024:2940-1
SUSE / openSUSE SLE-12-SP5 dlm-kmp-rtx86_64 Advisory build 4.12.14-10.197.1 SUSE-SU-2024:2892-1
SUSE / openSUSE SLE-12-SP5 gfs2-kmp-defaultppc64le Advisory build 4.12.14-122.225.1 SUSE-SU-2024:2940-1
SUSE / openSUSE SLE-12-SP5 gfs2-kmp-defaults390x Advisory build 4.12.14-122.225.1 SUSE-SU-2024:2940-1
SUSE / openSUSE SLE-12-SP5 gfs2-kmp-defaultx86_64 Advisory build 4.12.14-122.225.1 SUSE-SU-2024:2940-1
SUSE / openSUSE SLE-12-SP5 gfs2-kmp-rtx86_64 Advisory build 4.12.14-10.197.1 SUSE-SU-2024:2892-1
SUSE / openSUSE SLE-12-SP5 kernel-azurex86_64 Advisory build 4.12.14-16.194.1 SUSE-SU-2024:2901-1
SUSE / openSUSE SLE-12-SP5 kernel-azure-basex86_64 Advisory build 4.12.14-16.194.1 SUSE-SU-2024:2901-1
SUSE / openSUSE SLE-12-SP5 kernel-azure-develx86_64 Advisory build 4.12.14-16.194.1 SUSE-SU-2024:2901-1
SUSE / openSUSE SLE-12-SP5 kernel-defaultaarch64 Advisory build 4.12.14-122.225.1 SUSE-SU-2024:2940-1
SUSE / openSUSE SLE-12-SP5 kernel-defaultppc64le Advisory build 4.12.14-122.225.1 SUSE-SU-2024:2940-1
SUSE / openSUSE SLE-12-SP5 kernel-defaults390x Advisory build 4.12.14-122.225.1 SUSE-SU-2024:2940-1
SUSE / openSUSE SLE-12-SP5 kernel-defaultx86_64 Advisory build 4.12.14-122.225.1 SUSE-SU-2024:2940-1
SUSE / openSUSE SLE-12-SP5 kernel-default-baseaarch64 Advisory build 4.12.14-122.225.1 SUSE-SU-2024:2940-1
SUSE / openSUSE SLE-12-SP5 kernel-default-baseppc64le Advisory build 4.12.14-122.225.1 SUSE-SU-2024:2940-1
SUSE / openSUSE SLE-12-SP5 kernel-default-bases390x Advisory build 4.12.14-122.225.1 SUSE-SU-2024:2940-1
SUSE / openSUSE SLE-12-SP5 kernel-default-basex86_64 Advisory build 4.12.14-122.225.1 SUSE-SU-2024:2940-1
SUSE / openSUSE SLE-12-SP5 kernel-default-develaarch64 Advisory build 4.12.14-122.225.1 SUSE-SU-2024:2940-1
SUSE / openSUSE SLE-12-SP5 kernel-default-develppc64le Advisory build 4.12.14-122.225.1 SUSE-SU-2024:2940-1
SUSE / openSUSE SLE-12-SP5 kernel-default-devels390x Advisory build 4.12.14-122.225.1 SUSE-SU-2024:2940-1
SUSE / openSUSE SLE-12-SP5 kernel-default-develx86_64 Advisory build 4.12.14-122.225.1 SUSE-SU-2024:2940-1
SUSE / openSUSE SLE-12-SP5 kernel-default-extrax86_64 Advisory build 4.12.14-122.225.1 SUSE-SU-2024:2940-1
SUSE / openSUSE SLE-12-SP5 kernel-default-kgraftppc64le Advisory build 4.12.14-122.225.1 SUSE-SU-2024:2940-1
SUSE / openSUSE SLE-12-SP5 kernel-default-kgrafts390x Advisory build 4.12.14-122.225.1 SUSE-SU-2024:2940-1
SUSE / openSUSE SLE-12-SP5 kernel-default-kgraftx86_64 Advisory build 4.12.14-122.225.1 SUSE-SU-2024:2940-1
SUSE / openSUSE SLE-12-SP5 kernel-default-kgraft-develppc64le Advisory build 4.12.14-122.225.1 SUSE-SU-2024:2940-1
SUSE / openSUSE SLE-12-SP5 kernel-default-kgraft-devels390x Advisory build 4.12.14-122.225.1 SUSE-SU-2024:2940-1
SUSE / openSUSE SLE-12-SP5 kernel-default-kgraft-develx86_64 Advisory build 4.12.14-122.225.1 SUSE-SU-2024:2940-1
SUSE / openSUSE SLE-12-SP5 kernel-default-mans390x Advisory build 4.12.14-122.225.1 SUSE-SU-2024:2940-1
SUSE / openSUSE SLE-12-SP5 kernel-develnoarch Advisory build 4.12.14-122.225.1 SUSE-SU-2024:2940-1
SUSE / openSUSE SLE-12-SP5 kernel-devel-azurenoarch Advisory build 4.12.14-16.194.1 SUSE-SU-2024:2901-1
SUSE / openSUSE SLE-12-SP5 kernel-devel-rtnoarch Advisory build 4.12.14-10.197.1 SUSE-SU-2024:2892-1
SUSE / openSUSE SLE-12-SP5 kernel-docsnoarch Advisory build 4.12.14-122.225.2 SUSE-SU-2024:2940-1
SUSE / openSUSE SLE-12-SP5 kernel-macrosnoarch Advisory build 4.12.14-122.225.1 SUSE-SU-2024:2940-1
SUSE / openSUSE SLE-12-SP5 kernel-obs-buildaarch64 Advisory build 4.12.14-122.225.1 SUSE-SU-2024:2940-1
SUSE / openSUSE SLE-12-SP5 kernel-obs-buildppc64le Advisory build 4.12.14-122.225.1 SUSE-SU-2024:2940-1

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

45

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable code is reached only through the local DRM device node `/dev/dri/cardN` — `DRM_IOCTL_WAIT_VBLANK`/`CRTC_QUEUE_SEQUENCE` or an atomic commit requesting a vblank event drives `amdgpu_dm_crtc_enable_vblank`/`disable_vblank`. There is no network or adjacent-network exposure. AC:L - On affected hardware the bad index is fully deterministic — `info->src_id` is a hardcoded 0 in the dce60 VUPDATE table entries, so `dc_interrupt_to_irq_source()` always returns `DC_IRQ_SOURCE_INVALID` and `pipe_offset` always wraps to 178; there is no race, no timing window, and no memory-layout precondition needed to reach the out-of-bounds access, which the attacker triggers at will by toggling vblank. PR:L - `drm_wait_vblank_ioctl` is registered with flags `0` (no DRM_AUTH, DRM_MASTER, or DRM_ROOT_ONLY), so any unprivileged local process holding an open handle to the card node — which the seat user gets automatically via logind ACLs, or any member of the `video` group — can drive the vblank refcount into this path. No root or capability is required. UI:N - The attacking process issues the vblank ioctl itself and the vblank-disable path invokes `amdgpu_dm_crtc_set_vupdate_irq()` unconditionally; no action by another user or victim is needed. S:U - The out-of-bounds access and its consequences are confined to the kernel's own memory and the amdgpu driver's security authority; no VM, hypervisor, IOMMU, or sandbox boundary is crossed. C:H - The read is roughly 400–700 KB past the six-element `pipe_ctx[]` array — far from a strictly bounded few-byte overread — and pulls an arbitrary quadword out of neighbouring kernel allocations; that value is used as the `tg` pointer and its contents feed `arm_vert_intr()` register programming, so it is an unbounded kernel-memory disclosure primitive rather than a small bounded leak. I:H - On the enable path the out-of-bounds value is treated as a `struct timing_generator *` and dereferenced twice with an indirect call — `tg->funcs->arm_vert_intr(tg, 2)` — giving a control-flow hijack primitive if the memory ~178 pipe_ctx entries past the array can be groomed, and the resulting hardware register writes are driven from that attacker-uninfluenced object. A:H - `dc_state` is `kvzalloc`'d and therefore vmalloc-backed with guard pages at this size, so indexing hundreds of kilobytes past `res_ctx.pipe_ctx[]` reads unmapped memory and oopses, and any wild `tg` value that survives the load is then dereferenced and called, panicking the kernel; the attacker can repeat the trigger arbitrarily.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to < b2e9abc95583ac7bbb2c47da4d476a798146dfd6 (affected · git)4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to < 0b3702f9d43d163fd05e43b7d7e22e766dbef329 (affected · git)4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to < d2c3645a4a5ae5d933b4116c305d9d82b8199dbf (affected · git)4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to < 96bf81cc1bd058bb8af6e755a548e926e934dfd1 (affected · git)4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to < c5ec2afeeee4c91cebc4eff6d4f1ecf4047259f4 (affected · git)4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to < 5396a70e8cf462ec5ccf2dc8de103c79de9489e6 (affected · git)Default: unaffected Linux · cna
Linux Linux 4.15 (affected)0 to < 4.15 (unaffected · semver)5.10.222 through 5.10.* (unaffected · semver)5.15.163 through 5.15.* (unaffected · semver)6.1.98 through 6.1.* (unaffected · semver)6.6.39 through 6.6.* (unaffected · semver)6.9.9 through 6.9.* (unaffected · semver)6.10 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

7

Provider assertions

3

Linux · cna

drm/amd/display: Check pipe offset before setting vblank

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
6176e9c412b45296e6d44f65db48feba72f45ad1709fb52a552e8bf964ce72d0
Ingested
23 Sep 2026, 08:26:31 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected