CWE
369
Advisory Published
Updated

CVE-2024-50233: staging: iio: frequency: ad9832: fix division by zero in ad9832_calc_freqreg()

First published: Sat Nov 09 2024(Updated: )

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.

Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Affected SoftwareAffected VersionHow to fix
Linux Kernel>=2.6.39<5.4.285
Linux Kernel>=5.5<5.10.229
Linux Kernel>=5.11<5.15.171
Linux Kernel>=5.16<6.1.116
Linux Kernel>=6.2<6.6.60
Linux Kernel>=6.7<6.11.7
Linux Kernel=6.12-rc1
Linux Kernel=6.12-rc2
Linux Kernel=6.12-rc3
Linux Kernel=6.12-rc4
Linux Kernel=6.12-rc5

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-50233?

    CVE-2024-50233 has a medium severity rating due to the potential for a division by zero error in the Linux kernel.

  • How do I fix CVE-2024-50233?

    To fix CVE-2024-50233, update your Linux kernel to a version that addresses the division by zero vulnerability.

  • Which versions of the Linux kernel are affected by CVE-2024-50233?

    CVE-2024-50233 affects multiple versions of the Linux kernel ranging from 2.6.39 to 6.12-rc5.

  • What components are impacted by CVE-2024-50233?

    CVE-2024-50233 impacts the iio: frequency: ad9832 component of the Linux kernel.

  • Is CVE-2024-50233 exploitable remotely?

    CVE-2024-50233 is not considered remotely exploitable since the vulnerability requires local access to trigger the division by zero.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203