CVE-2024-50287
MediumIn 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 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-369CVE-2024-50287 is a Divide By Zero vulnerability
What is Divide By Zero?
The product divides a value by zero, causing a crash or unexpected behaviour. Learn more on MITRE CWE
Affected versions
Linux kernel versions
3.18
and later are affected. Fixed in
4.19.324,
5.4.286,
5.10.230,
5.15.172,
6.1.117,
6.6.61,
6.11.8,
6.12
and their respective stable series.
References
The following references provide additional information about CVE-2024-50287 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
-
-
PatchKernel patch commithttps://git.kernel.org/stable/c/054931ca3cfcb8e8fa036e887d6f379942b02565
-
PatchKernel patch commithttps://git.kernel.org/stable/c/0bfc6e38ee2250f0503d96f1a1de441c31d88715
-
PatchKernel patch commithttps://git.kernel.org/stable/c/0cdb42ba0b28f548c1a4e86bb8489dba0d78fc21
Frequently asked questions
-
What is CVE-2024-50287?
CVE-2024-50287 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as a Divide By Zero flaw (CWE-369) . It affects Linux kernel versions from 3.18 onward and has been patched in 4.19.324, 5.4.286, 5.10.230 and others. CVE-2024-50287 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-50287?
CVE-2024-50287 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2024-50287?
Yes — CVE-2024-50287 has been patched. Fixed versions include 4.19.324, 5.4.286, 5.10.230 and others. If you are running Linux kernel 3.18 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-50287 actively exploited?
No — CVE-2024-50287 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Divide By Zero (CWE-369)?
The product divides a value by zero, causing a crash or unexpected behaviour. View CWE-369 on MITRE CWE →