# CVE-2024-47663: staging: iio: frequency: ad9834: Validate frequency parameter value

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 16% of CVEs (2026-11-30)
- Published: 2024-10-09T14:13:56.514Z
- Modified: 2026-06-17T07:57:29.453Z
- Weaknesses: CWE-369
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

staging: iio: frequency: ad9834: Validate frequency parameter value

In ad9834_write_frequency() clk_get_rate() can return 0. In such case
ad9834_calc_freqreg() call will lead to division by zero. Checking
'if (fout > (clk_freq / 2))' doesn't protect in case of 'fout' is 0.
ad9834_write_frequency() is called from ad9834_write(), where fout is
taken from text buffer, which can contain any value.

Modify parameters checking.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

(As written by CVE List.)

## Affected

- Linux Linux: from 12b9d5bf76bfa20d3207ef24fca9c8254a586a58 before 5edc3a45ef428501000a7b23d0e1777a548907f6; from 12b9d5bf76bfa20d3207ef24fca9c8254a586a58 before 0e727707a239d5c519fc9abc2f0fd913516a7e47; from 12b9d5bf76bfa20d3207ef24fca9c8254a586a58 before 41cc91e3138fe52f8da92a81bebcd0e6cf488c53; from 12b9d5bf76bfa20d3207ef24fca9c8254a586a58 before d8b09a5edc4a634373158c1a405491de3c52e58a; from 12b9d5bf76bfa20d3207ef24fca9c8254a586a58 before 3ba9abfcaa9e16bb91ed7e0e2b42e94a157a953e; from 12b9d5bf76bfa20d3207ef24fca9c8254a586a58 before dc12e49f970b08d8b007b8981b97e2eb93c0e89d; from 12b9d5bf76bfa20d3207ef24fca9c8254a586a58 before 8961b245e8f92bccbaacfbbdf69eba60e3e7c227; from 12b9d5bf76bfa20d3207ef24fca9c8254a586a58 before b48aa991758999d4e8f9296c5bbe388f293ef465; 2.6.38 (not affected: before 2.6.38; from 4.19.323 up to 4.19.*; from 5.4.284 up to 5.4.*; from 5.10.226 up to 5.10.*; from 5.15.167 up to 5.15.*; from 6.1.110 up to 6.1.*; from 6.6.51 up to 6.6.*; from 6.10.10 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: from 2.6.38 before 5.4.284; from 5.5 before 5.10.226; from 5.11 before 5.15.167; from 5.16 before 6.1.110; from 6.2 before 6.6.51; from 6.7 before 6.10.10; 6.11

## References

- <https://git.kernel.org/stable/c/5edc3a45ef428501000a7b23d0e1777a548907f6>
- <https://git.kernel.org/stable/c/0e727707a239d5c519fc9abc2f0fd913516a7e47> (patch)
- <https://git.kernel.org/stable/c/41cc91e3138fe52f8da92a81bebcd0e6cf488c53> (patch)
- <https://git.kernel.org/stable/c/d8b09a5edc4a634373158c1a405491de3c52e58a> (patch)
- <https://git.kernel.org/stable/c/3ba9abfcaa9e16bb91ed7e0e2b42e94a157a953e> (patch)
- <https://git.kernel.org/stable/c/dc12e49f970b08d8b007b8981b97e2eb93c0e89d> (patch)
- <https://git.kernel.org/stable/c/8961b245e8f92bccbaacfbbdf69eba60e3e7c227> (patch)
- <https://git.kernel.org/stable/c/b48aa991758999d4e8f9296c5bbe388f293ef465> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-47663](https://www.cve.org/CVERecord?id=CVE-2024-47663), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-47663](https://nvd.nist.gov/vuln/detail/CVE-2024-47663), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-47663 · Whole record: https://cve.day/CVE-2024-47663.json · Rebuilt by cve.day 2026-11-25T22:58:46.378Z
