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.
References
Configurations
Configuration 1 (hide)
|
History
03 Nov 2025, 23:17
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
03 Nov 2025, 21:17
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
Information
Published : 2024-11-19 02:16
Updated : 2025-11-03 23:17
NVD link : CVE-2024-50287
Mitre link : CVE-2024-50287
CVE.ORG link : CVE-2024-50287
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-369
Divide By Zero
