CVE-2024-50287

MEDIUM

Linux Kernel < 4.19.324 - Divide By Zero

Title source: rule
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0002
EPSS Percentile 6.2%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-369
Status published
Products (9)
linux/Kernel 3.18.0 - 4.19.324linux
linux/Kernel 4.20.0 - 5.4.286linux
linux/Kernel 5.11.0 - 5.15.172linux
linux/Kernel 5.16.0 - 6.1.117linux
linux/Kernel 5.5.0 - 5.10.230linux
linux/Kernel 6.2.0 - 6.6.61linux
linux/Kernel 6.7.0 - 6.11.8linux
linux/linux_kernel 6.12 rc1 (6 CPE variants)
linux/linux_kernel 3.18 - 4.19.324
Published Nov 19, 2024
Tracked Since Feb 18, 2026