CVE-2024-50233
MEDIUM 5.5CVSS 3.1In 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.
- Published
- 9 Nov 2024
- Last modified
- 17 Jun 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Modified
- Weakness
- CWE-369
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 2.6.39, < 5.4.285 | 5.4.285 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.5, < 5.10.229 | 5.10.229 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.11, < 5.15.171 | 5.15.171 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.16, < 6.1.116 | 6.1.116 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.2, < 6.6.60 | 6.6.60 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.7, < 6.11.7 | 6.11.7 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:* |
= 6.12 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:* |
= 6.12 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.12:rc3:*:*:*:*:*:* |
= 6.12 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.12:rc4:*:*:*:*:*:* |
= 6.12 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.12:rc5:*:*:*:*:*:* |
= 6.12 |
References
- https://git.kernel.org/stable/c/2f39548f45693d86e950647012a214da6917dc9f · Patch
- https://git.kernel.org/stable/c/442f786c5bff8cfd756ebdeaa4aadbf05c22aa5a · Patch
- https://git.kernel.org/stable/c/6bd301819f8f69331a55ae2336c8b111fc933f3d · Patch
- https://git.kernel.org/stable/c/adfbc08b94e7df08b9ed5fa26b969cc1b54c84ec · Patch
- https://git.kernel.org/stable/c/ccbc10647aafe2b7506edb4b10e19c6c2416c162 · Patch
- https://git.kernel.org/stable/c/dd9e1cf619c945f320e686dcaf13e37ef0b05fdd · Patch
- https://git.kernel.org/stable/c/fcd6b59f7a774558e2525251c68aa37aff748e55 · Patch
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 9 Nov 2024)