{"id":"CVE-2024-49892","summary":"drm/amd/display: Initialize get_bytes_per_element's default to 1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Initialize get_bytes_per_element's default to 1\n\nVariables, used as denominators and maybe not assigned to other values,\nshould not be 0. bytes_per_element_y & bytes_per_element_c are\ninitialized by get_bytes_per_element() which should never return 0.\n\nThis fixes 10 DIVIDE_BY_ZERO issues reported by Coverity.","modified":"2026-04-16T04:32:37.335049895Z","published":"2024-10-21T18:01:27.004Z","related":["SUSE-SU-2024:3983-1","SUSE-SU-2024:3984-1","SUSE-SU-2024:3985-1","SUSE-SU-2024:3986-1","SUSE-SU-2024:4318-1","SUSE-SU-2024:4364-1","SUSE-SU-2024:4387-1","SUSE-SU-2025:20163-1","SUSE-SU-2025:20164-1","SUSE-SU-2025:20246-1","SUSE-SU-2025:20247-1","USN-7276-1","USN-7277-1","openSUSE-SU-2024:14500-1","openSUSE-SU-2025:14705-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49892.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1f9f8186e239222f1c8d3dd73bf3bc6ae86c5e76"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3334ab72cbba55a632f24579cd47c4a4e5e69cda"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4067f4fa0423a89fb19a30b57231b384d77d2610"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8f0abb39c16e719129de10596b3ae3363fa178b4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a23d6029e730f8a151b1a34afb169baac1274583"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bc00d211da4ffad5314a2043b50bdc8ff8a33724"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c7630935d9a4986e8c0ed91658a781b7a77d73f7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f921335123f6620c3dce5c96fbb95f18524a021c"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49892.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49892"},{"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":"8f0abb39c16e719129de10596b3ae3363fa178b4"},{"fixed":"f921335123f6620c3dce5c96fbb95f18524a021c"},{"fixed":"1f9f8186e239222f1c8d3dd73bf3bc6ae86c5e76"},{"fixed":"a23d6029e730f8a151b1a34afb169baac1274583"},{"fixed":"c7630935d9a4986e8c0ed91658a781b7a77d73f7"},{"fixed":"bc00d211da4ffad5314a2043b50bdc8ff8a33724"},{"fixed":"3334ab72cbba55a632f24579cd47c4a4e5e69cda"},{"fixed":"4067f4fa0423a89fb19a30b57231b384d77d2610"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-49892.json"}}],"schema_version":"1.7.5"}