---
id: CVE-2024-49892
title: |-
  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
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_ele…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-369
vendor: linux
product: linux_kernel
affected:
  - linux_kernel < 5.10.227
  - 'linux_kernel >= 5.11, < 5.15.168'
  - 'linux_kernel >= 5.16, < 6.1.113'
  - 'linux_kernel >= 6.2, < 6.6.55'
  - 'linux_kernel >= 6.7, < 6.10.14'
  - 'linux_kernel >= 6.11, < 6.11.3'
patched:
  - linux_kernel 6.11.3
published: '2024-10-21'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T01:19:00.113'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-49892'
references:
  - url: 'https://git.kernel.org/stable/c/1f9f8186e239222f1c8d3dd73bf3bc6ae86c5e76'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/3334ab72cbba55a632f24579cd47c4a4e5e69cda'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/4067f4fa0423a89fb19a30b57231b384d77d2610'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/8f0abb39c16e719129de10596b3ae3363fa178b4'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/a23d6029e730f8a151b1a34afb169baac1274583'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/bc00d211da4ffad5314a2043b50bdc8ff8a33724'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/c7630935d9a4986e8c0ed91658a781b7a77d73f7'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/f921335123f6620c3dce5c96fbb95f18524a021c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-265688.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-355557.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00257
epssPercentile: 0.16259
ingestedAt: '2026-10-15T03:30:12.752Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2024-10-22T13:44:09.911849Z'
---

## Overview

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.

## Affected

- `linux_kernel < 5.10.227`
- `linux_kernel >= 5.11, < 5.15.168`
- `linux_kernel >= 5.16, < 6.1.113`
- `linux_kernel >= 6.2, < 6.6.55`
- `linux_kernel >= 6.7, < 6.10.14`
- `linux_kernel >= 6.11, < 6.11.3`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.11.3`
