Vulnerabilities · 2024 · Linux
CVE-2024-50287
Linux Kernel vulnerability
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 products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/054931ca3cfcb8e8fa036e887d6f379942b02565 · Patch
- git.kernel.org/stable/c/0bfc6e38ee2250f0503d96f1a1de441c31d88715 · Patch
- git.kernel.org/stable/c/0cdb42ba0b28f548c1a4e86bb8489dba0d78fc21 · Patch
- git.kernel.org/stable/c/2d0f01aa602fd15a805771bdf3f4d9a9b4df7f47 · Patch
- git.kernel.org/stable/c/a749c15dccc58d9cbad9cd23bd8ab4b5fa96cf47 · Patch
- git.kernel.org/stable/c/c63c30c9d9f2c8de34b16cd2b8400240533b914e · Patch
- git.kernel.org/stable/c/e3c36d0bde309f690ed1f9cd5f7e63b3a513f94a · Patch
- git.kernel.org/stable/c/e6a3ea83fbe15d4818d01804e904cbb0e64e543b · Patch
- nvd.nist.gov/vuln/detail/CVE-2024-50287
- cve.org/CVERecord?id=CVE-2024-50287
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.