{"id":"CVE-2024-50287","published":"2024-11-19T01:30:31Z","modified":"2026-05-11T20:49:13Z","title":"media: v4l2-tpg: prevent the risk of a division by zero","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: v4l2-tpg: prevent the risk of a division by zero\n\nAs reported by Coverity, the logic at tpg_precalculate_line()\nblindly rescales the buffer even when scaled_witdh is equal to\nzero. If this ever happens, this will cause a division by zero.\n\nInstead, add a WARN_ON_ONCE() to trigger such cases and return\nwithout doing any precalculation.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00316,"percentile":0.16971,"provenance":"source"},"cwes":[{"id":"CWE-369","name":"Divide By Zero"}],"references":[{"url":"https://git.kernel.org/stable/c/e3c36d0bde309f690ed1f9cd5f7e63b3a513f94a","tags":[]},{"url":"https://git.kernel.org/stable/c/0bfc6e38ee2250f0503d96f1a1de441c31d88715","tags":[]},{"url":"https://git.kernel.org/stable/c/054931ca3cfcb8e8fa036e887d6f379942b02565","tags":[]},{"url":"https://git.kernel.org/stable/c/a749c15dccc58d9cbad9cd23bd8ab4b5fa96cf47","tags":[]},{"url":"https://git.kernel.org/stable/c/c63c30c9d9f2c8de34b16cd2b8400240533b914e","tags":[]},{"url":"https://git.kernel.org/stable/c/2d0f01aa602fd15a805771bdf3f4d9a9b4df7f47","tags":[]},{"url":"https://git.kernel.org/stable/c/0cdb42ba0b28f548c1a4e86bb8489dba0d78fc21","tags":[]},{"url":"https://git.kernel.org/stable/c/e6a3ea83fbe15d4818d01804e904cbb0e64e543b","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[]}],"priority":{"score":7.2,"factors":[{"name":"EPSS percentile","points":3.39},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < e3c36d0bde309f690ed1f9cd5f7e63b3a513f94a",">= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 0bfc6e38ee2250f0503d96f1a1de441c31d88715",">= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 054931ca3cfcb8e8fa036e887d6f379942b02565",">= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < a749c15dccc58d9cbad9cd23bd8ab4b5fa96cf47",">= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < c63c30c9d9f2c8de34b16cd2b8400240533b914e",">= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 2d0f01aa602fd15a805771bdf3f4d9a9b4df7f47",">= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 0cdb42ba0b28f548c1a4e86bb8489dba0d78fc21",">= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < e6a3ea83fbe15d4818d01804e904cbb0e64e543b"]},{"vendor":"Linux","product":"Linux","versions":["3.18"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T20:14:30.746046Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-44789","exploited":false,"provenance":"source"}}