CVE-2024-50287media: v4l2-tpg: prevent the risk of a division by zero
- 5.5MediumCVSS base score
- 0.25%Exploitation in 30 daysEPSS · top 83% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
- 29 days later
· 29 days later
Published
- 18 months later
· 18 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.25% · top 83% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected 63881df94d3ecbb0deafa0b77da62ff2f32961c4 – < e3c36d0bde309f690ed1f9cd5f7e63b3a513f94a
- affected 63881df94d3ecbb0deafa0b77da62ff2f32961c4 – < 0bfc6e38ee2250f0503d96f1a1de441c31d88715
- affected 63881df94d3ecbb0deafa0b77da62ff2f32961c4 – < 054931ca3cfcb8e8fa036e887d6f379942b02565
- affected 63881df94d3ecbb0deafa0b77da62ff2f32961c4 – < a749c15dccc58d9cbad9cd23bd8ab4b5fa96cf47
- affected 63881df94d3ecbb0deafa0b77da62ff2f32961c4 – < c63c30c9d9f2c8de34b16cd2b8400240533b914e
- affected 63881df94d3ecbb0deafa0b77da62ff2f32961c4 – < 2d0f01aa602fd15a805771bdf3f4d9a9b4df7f47
- affected 63881df94d3ecbb0deafa0b77da62ff2f32961c4 – < 0cdb42ba0b28f548c1a4e86bb8489dba0d78fc21
- affected 63881df94d3ecbb0deafa0b77da62ff2f32961c4 – < e6a3ea83fbe15d4818d01804e904cbb0e64e543b
- affected 3.18
- unaffected < 3.18
- unaffected 4.19.324 – ≤ 4.19.*
- unaffected 5.4.286 – ≤ 5.4.*
- unaffected 5.10.230 – ≤ 5.10.*
- unaffected 5.15.172 – ≤ 5.15.*
- unaffected 6.1.117 – ≤ 6.1.*
- unaffected 6.6.61 – ≤ 6.6.*
- unaffected 6.11.8 – ≤ 6.11.*
- unaffected 6.12 – ≤ *
References
References10
- https://git.kernel.org/stable/c/e3c36d0bde309f690ed1f9cd5f7e63b3a513f94a (opens in a new tab)
- https://git.kernel.org/stable/c/0bfc6e38ee2250f0503d96f1a1de441c31d88715 (opens in a new tab)
- https://git.kernel.org/stable/c/054931ca3cfcb8e8fa036e887d6f379942b02565 (opens in a new tab)
- https://git.kernel.org/stable/c/a749c15dccc58d9cbad9cd23bd8ab4b5fa96cf47 (opens in a new tab)
- https://git.kernel.org/stable/c/c63c30c9d9f2c8de34b16cd2b8400240533b914e (opens in a new tab)
- https://git.kernel.org/stable/c/2d0f01aa602fd15a805771bdf3f4d9a9b4df7f47 (opens in a new tab)
- https://git.kernel.org/stable/c/0cdb42ba0b28f548c1a4e86bb8489dba0d78fc21 (opens in a new tab)
- https://git.kernel.org/stable/c/e6a3ea83fbe15d4818d01804e904cbb0e64e543b (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-44789 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-50287)Record last updated .