media: v4l2-tpg: prevent the risk of a division by zero
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 054931ca3cfcb8e8fa036e887d6f379942b02565, Kernel 0bfc6e38ee2250f0503d96f1a1de441c31d88715, Kernel 0cdb42ba0b28f548c1a4e86bb8489dba0d78fc21 and 5 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =3.18, >=63881df94d3ecbb0deafa0b77da62ff2f32961c4 <054931ca3cfcb8e8fa036e887d6f379942b02565, >=63881df94d3ecbb0deafa0b77da62ff2f32961c4 <0bfc6e38ee2250f0503d96f1a1de441c31d88715, >=63881df94d3ecbb0deafa0b77da62ff2f32961c4 <0cdb42ba0b28f548c1a4e86bb8489dba0d78fc21, >=63881df94d3ecbb0deafa0b77da62ff2f32961c4 <2d0f01aa602fd15a805771bdf3f4d9a9b4df7f47, >=63881df94d3ecbb0deafa0b77da62ff2f32961c4 <a749c15dccc58d9cbad9cd23bd8ab4b5fa96cf47, >=63881df94d3ecbb0deafa0b77da62ff2f32961c4 <c63c30c9d9f2c8de34b16cd2b8400240533b914e, >=63881df94d3ecbb0deafa0b77da62ff2f32961c4 <e3c36d0bde309f690ed1f9cd5f7e63b3a513f94a, >=63881df94d3ecbb0deafa0b77da62ff2f32961c4 <e6a3ea83fbe15d4818d01804e904cbb0e64e543b | 054931ca3cfcb8e8fa036e887d6f379942b02565, 0bfc6e38ee2250f0503d96f1a1de441c31d88715, 0cdb42ba0b28f548c1a4e86bb8489dba0d78fc21, 2d0f01aa602fd15a805771bdf3f4d9a9b4df7f47, a749c15dccc58d9cbad9cd23bd8ab4b5fa96cf47, c63c30c9d9f2c8de34b16cd2b8400240533b914e, e3c36d0bde309f690ed1f9cd5f7e63b3a513f94a, e6a3ea83fbe15d4818d01804e904cbb0e64e543b |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket