{"id":"CVE-2024-50233","summary":"staging: iio: frequency: ad9832: fix division by zero in ad9832_calc_freqreg()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: iio: frequency: ad9832: fix division by zero in ad9832_calc_freqreg()\n\nIn the ad9832_write_frequency() function, clk_get_rate() might return 0.\nThis can lead to a division by zero when calling ad9832_calc_freqreg().\nThe check if (fout \u003e (clk_get_rate(st-\u003emclk) / 2)) does not protect\nagainst the case when fout is 0. The ad9832_write_frequency() function\nis called from ad9832_write(), and fout is derived from a text buffer,\nwhich can contain any value.","modified":"2026-04-16T04:39:12.951117451Z","published":"2024-11-09T10:14:43.442Z","related":["SUSE-SU-2024:4314-1","SUSE-SU-2024:4315-1","SUSE-SU-2024:4316-1","SUSE-SU-2024:4318-1","SUSE-SU-2024:4364-1","SUSE-SU-2024:4376-1","SUSE-SU-2024:4387-1","SUSE-SU-2025:20163-1","SUSE-SU-2025:20164-1","SUSE-SU-2025:20246-1","SUSE-SU-2025:20247-1","USN-7276-1","USN-7277-1","openSUSE-SU-2024:14500-1","openSUSE-SU-2025:14705-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50233.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2f39548f45693d86e950647012a214da6917dc9f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/442f786c5bff8cfd756ebdeaa4aadbf05c22aa5a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6bd301819f8f69331a55ae2336c8b111fc933f3d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/adfbc08b94e7df08b9ed5fa26b969cc1b54c84ec"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ccbc10647aafe2b7506edb4b10e19c6c2416c162"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dd9e1cf619c945f320e686dcaf13e37ef0b05fdd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fcd6b59f7a774558e2525251c68aa37aff748e55"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50233.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50233"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ea707584bac187c9c6c64c4eacd1c09bcc08f37b"},{"fixed":"fcd6b59f7a774558e2525251c68aa37aff748e55"},{"fixed":"442f786c5bff8cfd756ebdeaa4aadbf05c22aa5a"},{"fixed":"2f39548f45693d86e950647012a214da6917dc9f"},{"fixed":"ccbc10647aafe2b7506edb4b10e19c6c2416c162"},{"fixed":"adfbc08b94e7df08b9ed5fa26b969cc1b54c84ec"},{"fixed":"dd9e1cf619c945f320e686dcaf13e37ef0b05fdd"},{"fixed":"6bd301819f8f69331a55ae2336c8b111fc933f3d"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50233.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}