CVE-2024-50287

Medium

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.

SeverityMedium
CVSS5.5
Exploit probability—
ProductLinux Kernel
PublishedNov 19, 2024
First seenNov 19, 2024
Weakness typeCWE-369CWE-369

How to fix

Update
  • linux linux_kernel4.19.324, 5.4.286, 5.10.230, 5.15.172, 6.1.117, 6.6.61, 6.11.8 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel3.18 ≤ v < 4.19.324, 4.20 ≤ v < 5.4.286, 5.5 ≤ v < 5.10.230, 5.11 ≤ v < 5.15.172, 5.16 ≤ v < 6.1.117, 6.2 ≤ v < 6.6.61, 6.7 ≤ v < 6.11.8, 6.124.19.324, 5.4.286, 5.10.230, 5.15.172, 6.1.117, 6.6.61, 6.11.8

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2024-50287 · Linux Kernel · Dark Radar