Skip to main content
Network Thinking Solutions Logo

CVE-2024-50287

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.

All CVEs
CVE-2024-50287Published 11/19/2024

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.

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
11/19/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 3.18, < 4.19.324

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.286

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.230

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.172

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.117

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.61

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.11.8

Verify advisory

Source
linux kernel
linux
6.12

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < e3c36d0bde309f690ed1f9cd5f7e63b3a513f94a

Verify advisory

Source
Linux
Linux
≥ 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 0bfc6e38ee2250f0503d96f1a1de441c31d88715

Verify advisory

Source
Linux
Linux
≥ 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 054931ca3cfcb8e8fa036e887d6f379942b02565

Verify advisory

Source
Linux
Linux
≥ 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < a749c15dccc58d9cbad9cd23bd8ab4b5fa96cf47

Verify advisory

Source
Linux
Linux
≥ 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < c63c30c9d9f2c8de34b16cd2b8400240533b914e

Verify advisory

Source
Linux
Linux
≥ 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 2d0f01aa602fd15a805771bdf3f4d9a9b4df7f47

Verify advisory

Source
Linux
Linux
≥ 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 0cdb42ba0b28f548c1a4e86bb8489dba0d78fc21

Verify advisory

Source
Linux
Linux
≥ 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < e6a3ea83fbe15d4818d01804e904cbb0e64e543b

Verify advisory

Source
Linux
Linux
3.18

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.