Skip to main content
VulnerabilityPublished Updated

CVE-2024-50287: Linux kernel · media: v4l2-tpg: prevent the risk of a division by zero

Source GCVE Database

0
Compare

Not known to be exploited · CVSS 5.5 Medium.

Data as of 29 Oct 2026, 22:59 UTC

CVSS 3.1 base score
5.5Medium
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 19 Nov 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

AI-suggested

A fix has been implemented in the Linux kernel source code by adding a WARN_ON_ONCE() check to prevent division by zero in the affected function. Users should update to the fixed kernel version once available from their distribution or vendor. No additional mitigation steps are indicated by the vendor advisory.

Description

CVE-2024-50287 is a medium severity vulnerability in the Linux kernel's media subsystem, specifically in the v4l2-tpg (test pattern generator) component. The issue arises from a division by zero risk due to the function tpg_precalculate_line() performing a rescaling operation even when the scaled_width parameter is zero. This flaw was identified by Coverity and fixed by adding a WARN_ON_ONCE() check to prevent the division and abort the precalculation when scaled_width is zero.

References

Community reviews

Loading reviews…