VULNERABILITY INTELLIGENCE

CVE-2024-50287

CVSS score5.5 MEDIUM
EPSS probability0.25%
CISA KEVNot currently listed
Published2024-11-19
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Description

In the Linux kernel, the following vulnerability has been resolved: media: v4l2-tpg: prevent the risk of a division by zero As reported by Coverity, the logic at tpg_precalculate_line() blindly rescales the buffer even when scaled_witdh is equal to zero. If this ever happens, this will cause a division by zero. Instead, add a WARN_ON_ONCE() to trigger such cases and return without doing any precalculation.

Weakness classification

  • nvd@nist.gov: CWE-369
  • 134c704f-9b21-4f2e-91b3-4a467353bcc0: CWE-369

Primary references