Preventing Division by Zero in v4l2-tpg
CVE-2024-50287
What is CVE-2024-50287?
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.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
Linux 63881df94d3ecbb0deafa0b77da62ff2f32961c4
Linux 63881df94d3ecbb0deafa0b77da62ff2f32961c4 < 0bfc6e38ee2250f0503d96f1a1de441c31d88715
Linux 63881df94d3ecbb0deafa0b77da62ff2f32961c4 < 054931ca3cfcb8e8fa036e887d6f379942b02565
References
CVSS V3.1
Timeline
Vulnerability published