CVE-2024-46813

Source
https://cve.org/CVERecord?id=CVE-2024-46813
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-46813.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-46813
Downstream
Related
Published
2024-09-27T12:35:55.786Z
Modified
2026-03-11T07:48:01.032733Z
Summary
drm/amd/display: Check link_index before accessing dc->links[]
Details

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

drm/amd/display: Check link_index before accessing dc->links[]

[WHY & HOW] dc->links[] has max size of MAX_LINKS and NULL is return when trying to access with out-of-bound index.

This fixes 3 OVERRUN and 1 RESOURCE_LEAK issues reported by Coverity.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46813.json"
}
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
032c5407a608ac3b2a98bf4fbda27d12c20c5887
Fixed
ac04759b4a002969cf0f1384f1b8bb2001cfa782
Fixed
8aa2864044b9d13e95fe224f32e808afbf79ecdf

Database specific

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