CVE-2024-49892

medium

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Initialize get_bytes_per_element's default to 1 Variables, used as denominators and maybe not assigned to other values, should not be 0. bytes_per_element_y & bytes_per_element_c are initialized by get_bytes_per_element() which should never return 0. This fixes 10 DIVIDE_BY_ZERO issues reported by Coverity.

References

https://git.kernel.org/stable/c/f921335123f6620c3dce5c96fbb95f18524a021c

https://git.kernel.org/stable/c/c7630935d9a4986e8c0ed91658a781b7a77d73f7

https://git.kernel.org/stable/c/bc00d211da4ffad5314a2043b50bdc8ff8a33724

https://git.kernel.org/stable/c/a23d6029e730f8a151b1a34afb169baac1274583

https://git.kernel.org/stable/c/8f0abb39c16e719129de10596b3ae3363fa178b4

https://git.kernel.org/stable/c/4067f4fa0423a89fb19a30b57231b384d77d2610

https://git.kernel.org/stable/c/3334ab72cbba55a632f24579cd47c4a4e5e69cda

https://git.kernel.org/stable/c/1f9f8186e239222f1c8d3dd73bf3bc6ae86c5e76

Details

Source: Mitre, NVD

Published: 2024-10-21

Updated: 2024-11-08

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium