CVE-2024-50287
media: v4l2-tpg: prevent the risk of a division by zero
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
3.18
References 8
git.kernel.org
- stable/c/e3c36d0bde309f690ed1f9cd5f7e63b3a513f94a
- stable/c/0bfc6e38ee2250f0503d96f1a1de441c31d88715
- stable/c/054931ca3cfcb8e8fa036e887d6f379942b02565
- stable/c/a749c15dccc58d9cbad9cd23bd8ab4b5fa96cf47
- stable/c/c63c30c9d9f2c8de34b16cd2b8400240533b914e
- stable/c/2d0f01aa602fd15a805771bdf3f4d9a9b4df7f47
- stable/c/0cdb42ba0b28f548c1a4e86bb8489dba0d78fc21
- stable/c/e6a3ea83fbe15d4818d01804e904cbb0e64e543b