Vulnerabilities

CVE-2024-50287

Medium 5.5 CVSS 3.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.

Description as published by the source, in English.

Key facts

Published
2024-11-19
Last modified
2026-06-17
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.3 % higher than 17 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Linux Linux Kernel 6.12 Affected
Linux Linux Kernel ≥ 3.18, < 4.19.324 Affected
Linux Linux Kernel ≥ 4.20, < 5.4.286 Affected
Linux Linux Kernel ≥ 5.11, < 5.15.172 Affected
Linux Linux Kernel ≥ 5.16, < 6.1.117 Affected
Linux Linux Kernel ≥ 5.5, < 5.10.230 Affected
Linux Linux Kernel ≥ 6.2, < 6.6.61 Affected
Linux Linux Kernel ≥ 6.7, < 6.11.8 Affected

Weakness type

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities