CVE-2024-49892

Source
https://cve.org/CVERecord?id=CVE-2024-49892
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-49892.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-49892
Downstream
Related
Published
2024-10-21T18:01:27.004Z
Modified
2026-03-20T12:38:09.710389Z
Summary
drm/amd/display: Initialize get_bytes_per_element's default to 1
Details

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

drm/amd/display: Initialize getbytesper_element's default to 1

Variables, used as denominators and maybe not assigned to other values, should not be 0. bytesperelementy & bytesperelementc are initialized by getbytesper_element() which should never return 0.

This fixes 10 DIVIDEBYZERO issues reported by Coverity.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49892.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
8f0abb39c16e719129de10596b3ae3363fa178b4
Fixed
f921335123f6620c3dce5c96fbb95f18524a021c
Fixed
1f9f8186e239222f1c8d3dd73bf3bc6ae86c5e76
Fixed
a23d6029e730f8a151b1a34afb169baac1274583
Fixed
c7630935d9a4986e8c0ed91658a781b7a77d73f7
Fixed
bc00d211da4ffad5314a2043b50bdc8ff8a33724
Fixed
3334ab72cbba55a632f24579cd47c4a4e5e69cda
Fixed
4067f4fa0423a89fb19a30b57231b384d77d2610

Database specific

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