CVE-2024-42120

Source
https://cve.org/CVERecord?id=CVE-2024-42120
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42120.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-42120
Downstream
Related
Published
2024-07-30T07:46:12.136Z
Modified
2026-06-18T03:55:28.873332487Z
Summary
drm/amd/display: Check pipe offset before setting vblank
Details

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

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

pipectx has a size of MAXPIPES so checking its index before accessing the array.

This fixes an OVERRUN issue reported by Coverity.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42120.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / 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/osv-test-cve-osv-conversion/osv-output/CVE-2024-42120.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
5.10.222
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.163
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.98
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.39
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.9.9

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42120.json"