CVE-2024-50233
Linux Kernel Ad9832 Divide by Zero Integer Overflow Buffer Overflow
Description
In the Linux kernel, the following vulnerability has been resolved: staging: iio: frequency: ad9832: fix division by zero in ad9832_calc_freqreg() In the ad9832_write_frequency() function, clk_get_rate() might return 0. This can lead to a division by zero when calling ad9832_calc_freqreg(). The check if (fout > (clk_get_rate(st->mclk) / 2)) does not protect against the case when fout is 0. The ad9832_write_frequency() function is called from ad9832_write(), and fout is derived from a text buffer, which can contain any value.
INFO
Published Date :
Nov. 9, 2024, 11:15 a.m.
Last Modified :
Nov. 13, 2024, 6:25 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
3.6
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-50233
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-50233
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-50233
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Nov. 13, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Changed Reference Type https://git.kernel.org/stable/c/2f39548f45693d86e950647012a214da6917dc9f No Types Assigned https://git.kernel.org/stable/c/2f39548f45693d86e950647012a214da6917dc9f Patch Changed Reference Type https://git.kernel.org/stable/c/442f786c5bff8cfd756ebdeaa4aadbf05c22aa5a No Types Assigned https://git.kernel.org/stable/c/442f786c5bff8cfd756ebdeaa4aadbf05c22aa5a Patch Changed Reference Type https://git.kernel.org/stable/c/6bd301819f8f69331a55ae2336c8b111fc933f3d No Types Assigned https://git.kernel.org/stable/c/6bd301819f8f69331a55ae2336c8b111fc933f3d Patch Changed Reference Type https://git.kernel.org/stable/c/adfbc08b94e7df08b9ed5fa26b969cc1b54c84ec No Types Assigned https://git.kernel.org/stable/c/adfbc08b94e7df08b9ed5fa26b969cc1b54c84ec Patch Changed Reference Type https://git.kernel.org/stable/c/ccbc10647aafe2b7506edb4b10e19c6c2416c162 No Types Assigned https://git.kernel.org/stable/c/ccbc10647aafe2b7506edb4b10e19c6c2416c162 Patch Changed Reference Type https://git.kernel.org/stable/c/dd9e1cf619c945f320e686dcaf13e37ef0b05fdd No Types Assigned https://git.kernel.org/stable/c/dd9e1cf619c945f320e686dcaf13e37ef0b05fdd Patch Changed Reference Type https://git.kernel.org/stable/c/fcd6b59f7a774558e2525251c68aa37aff748e55 No Types Assigned https://git.kernel.org/stable/c/fcd6b59f7a774558e2525251c68aa37aff748e55 Patch Added CWE NIST CWE-369 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 2.6.39 up to (excluding) 5.4.285 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.229 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.171 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.116 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.60 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.11.7 *cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.12:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.12:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.12:rc5:*:*:*:*:*:* -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 09, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: staging: iio: frequency: ad9832: fix division by zero in ad9832_calc_freqreg() In the ad9832_write_frequency() function, clk_get_rate() might return 0. This can lead to a division by zero when calling ad9832_calc_freqreg(). The check if (fout > (clk_get_rate(st->mclk) / 2)) does not protect against the case when fout is 0. The ad9832_write_frequency() function is called from ad9832_write(), and fout is derived from a text buffer, which can contain any value. Added Reference kernel.org https://git.kernel.org/stable/c/fcd6b59f7a774558e2525251c68aa37aff748e55 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/442f786c5bff8cfd756ebdeaa4aadbf05c22aa5a [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/2f39548f45693d86e950647012a214da6917dc9f [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/ccbc10647aafe2b7506edb4b10e19c6c2416c162 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/adfbc08b94e7df08b9ed5fa26b969cc1b54c84ec [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/dd9e1cf619c945f320e686dcaf13e37ef0b05fdd [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/6bd301819f8f69331a55ae2336c8b111fc933f3d [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-50233
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-50233
weaknesses.