CVE-2024-50287: Linux Kernel

Medium severity, CVSS 5.5. EPSS: 0.3% chance of exploitation in the next 30 days.

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.

Affected products

  • Linux Linux Kernel: from 3.18, before 4.19.324 (fixed in 4.19.324); from 4.20, before 5.4.286 (fixed in 5.4.286); from 5.5, before 5.10.230 (fixed in 5.10.230); from 5.11, before 5.15.172 (fixed in 5.15.172); from 5.16, before 6.1.117 (fixed in 6.1.117); from 6.2, before 6.6.61 (fixed in 6.6.61); …

Published 2024-11-19. Last modified 2026-06-17.