---
id: CVE-2024-35922
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  fbmon: prevent division by zero in fb_videomode_from_videomode()

  The expression htotal * vtotal can have a zero value on
  overflow
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  fbmon: prevent division by zero in fb_videomode_from_videomode()

  The expression htotal * vtotal can have a zero value on
  overflow. It is necessary to prevent division …
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 < 4.19.312
  - 'linux_kernel >= 4.20, < 5.4.274'
  - 'linux_kernel >= 5.5, < 5.10.215'
  - 'linux_kernel >= 5.11, < 5.15.155'
  - 'linux_kernel >= 5.16, < 6.1.86'
  - 'linux_kernel >= 6.2, < 6.6.27'
  - 'linux_kernel >= 6.7, < 6.8.6'
  - debian_linux = 10.0
patched:
  - linux_kernel 6.8.6
published: '2024-05-19'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T01:17:53.067'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-35922'
references:
  - url: 'https://git.kernel.org/stable/c/1b107d637fed68a787da77a3514ad06e57abd0b4'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/1fb52bc1de55e9e0bdf71fe078efd4da0889710f'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/3d4b909704bf2114f64f87363fa22b5ef8ac4a33'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/48d6bcfc31751ca2e753d901a2d82f27edf8a029'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/664206ff8b019bcd1e55b10b2eea3add8761b971'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/72d091b7515e0532ee015e144c906f3bcfdd6270'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/951838fee462aa01fa2a6a91d56f9a495082e7f0'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/c2d953276b8b27459baed1277a4fdd5dd9bd4126'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/1b107d637fed68a787da77a3514ad06e57abd0b4'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/1fb52bc1de55e9e0bdf71fe078efd4da0889710f'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/3d4b909704bf2114f64f87363fa22b5ef8ac4a33'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/48d6bcfc31751ca2e753d901a2d82f27edf8a029'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/664206ff8b019bcd1e55b10b2eea3add8761b971'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/72d091b7515e0532ee015e144c906f3bcfdd6270'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/951838fee462aa01fa2a6a91d56f9a495082e7f0'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/c2d953276b8b27459baed1277a4fdd5dd9bd4126'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-265688.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00225
epssPercentile: 0.1306
ingestedAt: '2026-10-15T03:30:12.688Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2024-05-23T19:23:14.469241Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

fbmon: prevent division by zero in fb_videomode_from_videomode()

The expression htotal * vtotal can have a zero value on
overflow. It is necessary to prevent division by zero like in
fb_var_to_videomode().

Found by Linux Verification Center (linuxtesting.org) with Svace.

## Affected

- `linux_kernel < 4.19.312`
- `linux_kernel >= 4.20, < 5.4.274`
- `linux_kernel >= 5.5, < 5.10.215`
- `linux_kernel >= 5.11, < 5.15.155`
- `linux_kernel >= 5.16, < 6.1.86`
- `linux_kernel >= 6.2, < 6.6.27`
- `linux_kernel >= 6.7, < 6.8.6`
- `debian_linux = 10.0`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.8.6`
