CVE-2024-49892 Information

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.

CVSS Vector

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

Reference

https://git.kernel.org/stable/c/f921335123f6620c3dce5c96fbb95f18524a021c https://git.kernel.org/stable/c/1f9f8186e239222f1c8d3dd73bf3bc6ae86c5e76 https://git.kernel.org/stable/c/a23d6029e730f8a151b1a34afb169baac1274583 https://git.kernel.org/stable/c/c7630935d9a4986e8c0ed91658a781b7a77d73f7 https://git.kernel.org/stable/c/bc00d211da4ffad5314a2043b50bdc8ff8a33724 https://git.kernel.org/stable/c/3334ab72cbba55a632f24579cd47c4a4e5e69cda https://git.kernel.org/stable/c/4067f4fa0423a89fb19a30b57231b384d77d2610

Attack Complexity

LOW

Privileges Required

LOW

User Interaction Required

LOW

Scope

NONE

Confidentiality Impact

UNCHANGED

Integrity Impact

NONE

Availability Impact

NONE

Base Score

HIGH

Base Severity

5.5

Share on: