CVE-2024-50287
Published: Nov 19, 2024
Modified: May 11, 2026
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.
| Vendor | Product | Versions |
|---|---|---|
Linux | Linux | affected 63881df94d3ecbb0deafa0b77da62ff2f32961c4 - < e3c36d0bde309f690ed1f9cd5f7e63b3a513f94aaffected 63881df94d3ecbb0deafa0b77da62ff2f32961c4 - < 0bfc6e38ee2250f0503d96f1a1de441c31d88715affected 63881df94d3ecbb0deafa0b77da62ff2f32961c4 - < 054931ca3cfcb8e8fa036e887d6f379942b02565affected 63881df94d3ecbb0deafa0b77da62ff2f32961c4 - < a749c15dccc58d9cbad9cd23bd8ab4b5fa96cf47affected 63881df94d3ecbb0deafa0b77da62ff2f32961c4 - < c63c30c9d9f2c8de34b16cd2b8400240533b914e+3 more versions |
Linux | Linux | affected 3.18unaffected 0 - < 3.18unaffected 4.19.324 - <= 4.19.*unaffected 5.4.286 - <= 5.4.*unaffected 5.10.230 - <= 5.10.*+5 more versions |
References
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now