CVE-2024-50287
published medium CVSS 3.1 · 5.5media: v4l2-tpg: prevent the risk of a division by zero
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux63881df94d3ecbb0deafa0b77da62ff2f32961c4 to < e3c36d0bde309f690ed1f9cd5f7e63b3a513f94a · 63881df94d3ecbb0deafa0b77da62ff2f32961c4 to < 0bfc6e38ee2250f0503d96f1a1de441c31d88715 · 63881df94d3ecbb0deafa0b77da62ff2f32961c4 to < 054931ca3cfcb8e8fa036e887d6f379942b02565 · 63881df94d3ecbb0deafa0b77da62ff2f32961c4 to < a749c15dccc58d9cbad9cd23bd8ab4b5fa96cf47 · 63881df94d3ecbb0deafa0b77da62ff2f32961c4 to < c63c30c9d9f2c8de34b16cd2b8400240533b914e · 63881df94d3ecbb0deafa0b77da62ff2f32961c4 to < 2d0f01aa602fd15a805771bdf3f4d9a9b4df7f47 · 63881df94d3ecbb0deafa0b77da62ff2f32961c4 to < 0cdb42ba0b28f548c1a4e86bb8489dba0d78fc21 · 63881df94d3ecbb0deafa0b77da62ff2f32961c4 to < e6a3ea83fbe15d4818d01804e904cbb0e64e543b · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux3.18 (affected) · 0 to < 3.18 (unaffected · semver) · 4.19.324 through 4.19.* (unaffected · semver) · 5.4.286 through 5.4.* (unaffected · semver) · 5.10.230 through 5.10.* (unaffected · semver) · 5.15.172 through 5.15.* (unaffected · semver) · 6.1.117 through 6.1.* (unaffected · semver) · 6.6.61 through 6.6.* (unaffected · semver) · 6.11.8 through 6.11.* (unaffected · semver) · 6.12 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected; No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bookworm | linux | Advisory build | 6.1.119-1 | DSA-5818-1 |
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.340.4.1.el7uek | ELSA-2025-20100 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultaarch64 | Advisory build | 4.12.14-122.244.1 | SUSE-SU-2025:0236-1 |
| Debian | bullseye | linux | Advisory build | 5.10.234-1 | DLA-4075-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.119-1~deb11u1 | DLA-4008-1 |
| Oracle Linux | 7 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.340.4.1.el7uek | ELSA-2025-20100 |
| Oracle Linux | 7 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.340.4.1.el7uek | ELSA-2025-20100 |
| Oracle Linux | 7 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.340.4.1.el7uek | ELSA-2025-20100 |
| Oracle Linux | 7 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.340.4.1.el7uek | ELSA-2025-20100 |
| Oracle Linux | 7 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.340.4.1.el7uek | ELSA-2025-20100 |
| Oracle Linux | 7 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2136.340.4.1.el7uek | ELSA-2025-20100 |
| Oracle Linux | 7 | kernel-uek-toolsx86_64 | Advisory build | 0:5.4.17-2136.340.4.1.el7uek | ELSA-2025-20100 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2136.340.4.1.el8uek | ELSA-2025-20100 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.340.4.1.el8uek | ELSA-2025-20100 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.340.4.1.el8uek | ELSA-2025-20100 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.340.4.1.el8uek | ELSA-2025-20100 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.4.17-2136.340.4.1.el8uek | ELSA-2025-20100 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.340.4.1.el8uek | ELSA-2025-20100 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.4.17-2136.340.4.1.el8uek | ELSA-2025-20100 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.340.4.1.el8uek | ELSA-2025-20100 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.4.17-2136.340.4.1.el8uek | ELSA-2025-20100 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.340.4.1.el8uek | ELSA-2025-20100 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.4.17-2136.340.4.1.el8uek | ELSA-2025-20100 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2136.340.4.1.el8uek | ELSA-2025-20100 |
| Oracle Linux | 8 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 8 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-305.176.4.el8uek | ELSA-2025-20095 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| Oracle Linux | 9 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultppc64le | Advisory build | 4.12.14-122.244.1 | SUSE-SU-2025:0236-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaults390x | Advisory build | 4.12.14-122.244.1 | SUSE-SU-2025:0236-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultx86_64 | Advisory build | 4.12.14-122.244.1 | SUSE-SU-2025:0236-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultaarch64 | Advisory build | 4.12.14-122.244.1 | SUSE-SU-2025:0236-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultppc64le | Advisory build | 4.12.14-122.244.1 | SUSE-SU-2025:0236-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaults390x | Advisory build | 4.12.14-122.244.1 | SUSE-SU-2025:0236-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultx86_64 | Advisory build | 4.12.14-122.244.1 | SUSE-SU-2025:0236-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultaarch64 | Advisory build | 4.12.14-122.244.1 | SUSE-SU-2025:0236-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultppc64le | Advisory build | 4.12.14-122.244.1 | SUSE-SU-2025:0236-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaults390x | Advisory build | 4.12.14-122.244.1 | SUSE-SU-2025:0236-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultx86_64 | Advisory build | 4.12.14-122.244.1 | SUSE-SU-2025:0236-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultaarch64 | Advisory build | 4.12.14-122.244.1 | SUSE-SU-2025:0236-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultppc64le | Advisory build | 4.12.14-122.244.1 | SUSE-SU-2025:0236-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaults390x | Advisory build | 4.12.14-122.244.1 | SUSE-SU-2025:0236-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultx86_64 | Advisory build | 4.12.14-122.244.1 | SUSE-SU-2025:0236-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-baseaarch64 | Advisory build | 4.12.14-122.244.1 | SUSE-SU-2025:0236-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-baseppc64le | Advisory build | 4.12.14-122.244.1 | SUSE-SU-2025:0236-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-bases390x | Advisory build | 4.12.14-122.244.1 | SUSE-SU-2025:0236-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-basex86_64 | Advisory build | 4.12.14-122.244.1 | SUSE-SU-2025:0236-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develaarch64 | Advisory build | 4.12.14-122.244.1 | SUSE-SU-2025:0236-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 63881df94d3ecbb0deafa0b77da62ff2f32961c4 to < e3c36d0bde309f690ed1f9cd5f7e63b3a513f94a (affected · git)63881df94d3ecbb0deafa0b77da62ff2f32961c4 to < 0bfc6e38ee2250f0503d96f1a1de441c31d88715 (affected · git)63881df94d3ecbb0deafa0b77da62ff2f32961c4 to < 054931ca3cfcb8e8fa036e887d6f379942b02565 (affected · git)63881df94d3ecbb0deafa0b77da62ff2f32961c4 to < a749c15dccc58d9cbad9cd23bd8ab4b5fa96cf47 (affected · git)63881df94d3ecbb0deafa0b77da62ff2f32961c4 to < c63c30c9d9f2c8de34b16cd2b8400240533b914e (affected · git)63881df94d3ecbb0deafa0b77da62ff2f32961c4 to < 2d0f01aa602fd15a805771bdf3f4d9a9b4df7f47 (affected · git)63881df94d3ecbb0deafa0b77da62ff2f32961c4 to < 0cdb42ba0b28f548c1a4e86bb8489dba0d78fc21 (affected · git)63881df94d3ecbb0deafa0b77da62ff2f32961c4 to < e6a3ea83fbe15d4818d01804e904cbb0e64e543b (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 3.18 (affected)0 to < 3.18 (unaffected · semver)4.19.324 through 4.19.* (unaffected · semver)5.4.286 through 5.4.* (unaffected · semver)5.10.230 through 5.10.* (unaffected · semver)5.15.172 through 5.15.* (unaffected · semver)6.1.117 through 6.1.* (unaffected · semver)6.6.61 through 6.6.* (unaffected · semver)6.11.8 through 6.11.* (unaffected · semver)6.12 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-369 CWE-369 Divide By Zero
References
10- https://git.kernel.org/stable/c/054931ca3cfcb8e8fa036e887d6f379942b02565
- https://git.kernel.org/stable/c/0bfc6e38ee2250f0503d96f1a1de441c31d88715
- https://git.kernel.org/stable/c/0cdb42ba0b28f548c1a4e86bb8489dba0d78fc21
- https://git.kernel.org/stable/c/2d0f01aa602fd15a805771bdf3f4d9a9b4df7f47
- https://git.kernel.org/stable/c/a749c15dccc58d9cbad9cd23bd8ab4b5fa96cf47
- https://git.kernel.org/stable/c/c63c30c9d9f2c8de34b16cd2b8400240533b914e
- https://git.kernel.org/stable/c/e3c36d0bde309f690ed1f9cd5f7e63b3a513f94a
- https://git.kernel.org/stable/c/e6a3ea83fbe15d4818d01804e904cbb0e64e543b
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html
Provider assertions
3Linux · cna
media: v4l2-tpg: prevent the risk of a division by zero
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2fbe692cf4f6b5283e24801fde83c66a99dc83551ad425f115187a0ee0fbcfd2
- Ingested
- 23 Sep 2026, 08:29:52 UTC
- Source record
- Official CVE record