Skip to main content
← All vulnerabilities
CVE-2024-49892

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.4.285, 5.10.227, 5.15.168, 6.1.113, 6.6.55, and 2 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c · fixed in 8f0abb39c16e719129de10596b3ae3363fa178b4; From 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c · fixed in f921335123f6620c3dce5c96fbb95f18524a021c; From 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c · fixed in 1f9f8186e239222f1c8d3dd73bf3bc6ae86c5e76; From 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c · fixed in a23d6029e730f8a151b1a34afb169baac1274583; From 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c · fixed in c7630935d9a4986e8c0ed91658a781b7a77d73f7; From 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c · fixed in bc00d211da4ffad5314a2043b50bdc8ff8a33724; From 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c · fixed in 3334ab72cbba55a632f24579cd47c4a4e5e69cda; From 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c · fixed in 4067f4fa0423a89fb19a30b57231b384d77d2610

  • Linux Linux

    4.15

  • KernelLinux

    From 4.15.0 · fixed in 5.4.285; From 5.5.0 · fixed in 5.10.227; From 5.11.0 · fixed in 5.15.168; From 5.16.0 · fixed in 6.1.113; From 6.2.0 · fixed in 6.6.55; From 6.7.0 · fixed in 6.10.14; From 6.11.0 · fixed in 6.11.3

References 8

git.kernel.org