CVE-2024-50233
staging: iio: frequency: ad9832: fix division by zero in ad9832_calc_freqreg()
Mitigation
- Upgrade Linux to 6bd301819f8f69331a55ae2336c8b111fc933f3d or later.
Who should check
- Anyone running Linux >= ea707584bac187c9c6c64c4eacd1c09bcc08f37b, < fcd6b59f7a774558e2525251c68aa37aff748e55; >= ea707584bac187c9c6c64c4eacd1c09bcc08f37b, < 442f786c5bff8cfd756ebdeaa4aadbf05c22aa5a; >= ea707584bac187c9c6c64c4eacd1c09bcc08f37b, < 2f39548f45693d86e950647012a214da6917dc9f; >= ea707584bac187c9c6c64c4eacd1c09bcc08f37b, < ccbc10647aafe2b7506edb4b10e19c6c2416c162; >= ea707584bac187c9c6c64c4eacd1c09bcc08f37b, < adfbc08b94e7df08b9ed5fa26b969cc1b54c84ec; >= ea707584bac187c9c6c64c4eacd1c09bcc08f37b, < dd9e1cf619c945f320e686dcaf13e37ef0b05fdd; >= ea707584bac187c9c6c64c4eacd1c09bcc08f37b, < 6bd301819f8f69331a55ae2336c8b111fc933f3d
- Anyone running Linux 2.6.39
Vulnerability facts
- Affected
- Linux >= ea707584bac187c9c6c64c4eacd1c09bcc08f37b, < fcd6b59f7a774558e2525251c68aa37aff748e55; >= ea707584bac187c9c6c64c4eacd1c09bcc08f37b, < 442f786c5bff8cfd756ebdeaa4aadbf05c22aa5a; >= ea707584bac187c9c6c64c4eacd1c09bcc08f37b, < 2f39548f45693d86e950647012a214da6917dc9f; >= ea707584bac187c9c6c64c4eacd1c09bcc08f37b, < ccbc10647aafe2b7506edb4b10e19c6c2416c162; >= ea707584bac187c9c6c64c4eacd1c09bcc08f37b, < adfbc08b94e7df08b9ed5fa26b969cc1b54c84ec; >= ea707584bac187c9c6c64c4eacd1c09bcc08f37b, < dd9e1cf619c945f320e686dcaf13e37ef0b05fdd; >= ea707584bac187c9c6c64c4eacd1c09bcc08f37b, < 6bd301819f8f69331a55ae2336c8b111fc933f3d; Linux 2.6.39
- Fixed in
- Linux 442f786c5bff8cfd756ebdeaa4aadbf05c22aa5a, Linux 2f39548f45693d86e950647012a214da6917dc9f, Linux 6bd301819f8f69331a55ae2336c8b111fc933f3d
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- CWE
- CWE-369
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= ea707584bac187c9c6c64c4eacd1c09bcc08f37b, < fcd6b59f7a774558e2525251c68aa37aff748e55; >= ea707584bac187c9c6c64c4eacd1c09bcc08f37b, < 442f786c5bff8cfd756ebdeaa4aadbf05c22aa5a; >= ea707584bac187c9c6c64c4eacd1c09bcc08f37b, < 2f39548f45693d86e950647012a214da6917dc9f; >= ea707584bac187c9c6c64c4eacd1c09bcc08f37b, < ccbc10647aafe2b7506edb4b10e19c6c2416c162; >= ea707584bac187c9c6c64c4eacd1c09bcc08f37b, < adfbc08b94e7df08b9ed5fa26b969cc1b54c84ec; >= ea707584bac187c9c6c64c4eacd1c09bcc08f37b, < dd9e1cf619c945f320e686dcaf13e37ef0b05fdd; >= ea707584bac187c9c6c64c4eacd1c09bcc08f37b, < 6bd301819f8f69331a55ae2336c8b111fc933f3d | — | cvelist |
| Linux | 2.6.39 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-50233. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-50233.md Affected: Linux >= ea707584bac187c9c6c64c4eacd1c09bcc08f37b, < fcd6b59f7a774558e2525251c68aa37aff748e55; >= ea707584bac187c9c6c64c4eacd1c09bcc08f37b, < 442f786c5bff8cfd756ebdeaa4aadbf05c22aa5a; >= ea707584bac187c9c6c64c4eacd1c09bcc08f37b, < 2f39548f45693d86e950647012a214da6917dc9f; >= ea707584bac187c9c6c64c4… Fixed in: Linux 442f786c5bff8cfd756ebdeaa4aadbf05c22aa5a, Linux 2f39548f45693d86e950647012a214da6917dc9f, Linux 6bd301819f8f69331a55ae2336c8b111fc933f3d Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/fcd6b59f7a774558e2525251c68aa37aff748e55
- https://git.kernel.org/stable/c/442f786c5bff8cfd756ebdeaa4aadbf05c22aa5a
- https://git.kernel.org/stable/c/2f39548f45693d86e950647012a214da6917dc9f
- https://git.kernel.org/stable/c/ccbc10647aafe2b7506edb4b10e19c6c2416c162
- https://git.kernel.org/stable/c/adfbc08b94e7df08b9ed5fa26b969cc1b54c84ec
- https://git.kernel.org/stable/c/dd9e1cf619c945f320e686dcaf13e37ef0b05fdd
- https://git.kernel.org/stable/c/6bd301819f8f69331a55ae2336c8b111fc933f3d
FAQ
Is CVE-2024-50233 being exploited?
There is no confirmed exploitation: CVE-2024-50233 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-50233?
Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-50233?
Linux >= ea707584bac187c9c6c64c4eacd1c09bcc08f37b, < fcd6b59f7a774558e2525251c68aa37aff748e55; >= ea707584bac187c9c6c64c4eacd1c09bcc08f37b, < 442f786c5bff8cfd756ebdeaa4aadbf05c22aa5a; >= ea707584bac187c9c6c64c4eacd1c09bcc08f37b, < 2f39548f45693d86e950647012a214da6917dc9f; >= ea707584bac187c9c6c64c4eacd1c09bcc08f37b, < ccbc10647aafe2b7506edb4b10e19c6c2416c162; >= ea707584bac187c9c6c64c4eacd1c09bcc08f37b, < adfbc08b94e7df08b9ed5fa26b969cc1b54c84ec; >= ea707584bac187c9c6c64c4eacd1c09bcc08f37b, < dd9e1cf619c945f320e686dcaf13e37ef0b05fdd; >= ea707584bac187c9c6c64c4eacd1c09bcc08f37b, < 6bd301819f8f69331a55ae2336c8b111fc933f3d; Linux 2.6.39.
Is there a fix for CVE-2024-50233?
Yes. Fixed in Linux 442f786c5bff8cfd756ebdeaa4aadbf05c22aa5a, Linux 2f39548f45693d86e950647012a214da6917dc9f, Linux 6bd301819f8f69331a55ae2336c8b111fc933f3d. Upgrade Linux to 6bd301819f8f69331a55ae2336c8b111fc933f3d or later.
How do I check if I'm affected by CVE-2024-50233?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.