CVE-2024-50287

MEDIUM EPSS 16.6%
Published Nov 19, 20241y ago · Modified Jun 17, 20262w ago
5.5 CVSS 3.1
Medium
Find Similar
Published Nov 19, 2024 1y ago
Last Modified Jun 17, 2026 2w ago

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.

CVSS Details

Base Score
5.5
Exploitability
1.8
Impact
3.6
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High

Threat Intelligence

EPSS Exploit Probability
16.6% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-369

Affected Products 13

VendorProductVersionRange
linuxlinux_kernel*≥3.18  –  <4.19.324
linuxlinux_kernel*≥4.20  –  <5.4.286
linuxlinux_kernel*≥5.5  –  <5.10.230
linuxlinux_kernel*≥5.11  –  <5.15.172
linuxlinux_kernel*≥5.16  –  <6.1.117
linuxlinux_kernel*≥6.2  –  <6.6.61
linuxlinux_kernel*≥6.7  –  <6.11.8
linuxlinux_kernel6.12any
linuxlinux_kernel6.12any
linuxlinux_kernel6.12any
linuxlinux_kernel6.12any
linuxlinux_kernel6.12any
linuxlinux_kernel6.12any

References 10

  • git.kernel.org https://git.kernel.org/stable/c/054931ca3cfcb8e8fa036e887d6f379942b02565
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/0bfc6e38ee2250f0503d96f1a1de441c31d88715
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/0cdb42ba0b28f548c1a4e86bb8489dba0d78fc21
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/2d0f01aa602fd15a805771bdf3f4d9a9b4df7f47
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/a749c15dccc58d9cbad9cd23bd8ab4b5fa96cf47
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/c63c30c9d9f2c8de34b16cd2b8400240533b914e
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/e3c36d0bde309f690ed1f9cd5f7e63b3a513f94a
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/e6a3ea83fbe15d4818d01804e904cbb0e64e543b
    Patch
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html

Remediation

  • git.kernel.org https://git.kernel.org/stable/c/054931ca3cfcb8e8fa036e887d6f379942b02565
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/0bfc6e38ee2250f0503d96f1a1de441c31d88715
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/0cdb42ba0b28f548c1a4e86bb8489dba0d78fc21
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/2d0f01aa602fd15a805771bdf3f4d9a9b4df7f47
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/a749c15dccc58d9cbad9cd23bd8ab4b5fa96cf47
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/c63c30c9d9f2c8de34b16cd2b8400240533b914e
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/e3c36d0bde309f690ed1f9cd5f7e63b3a513f94a
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/e6a3ea83fbe15d4818d01804e904cbb0e64e543b
    Patch