CVE-2024-50233
staging: iio: frequency: ad9832: fix division by zero in ad9832_calc_freqreg()
Check your servers for CVE-2024-50233
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-50233 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.31%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 16.1% of all scored CVEs. Scores of 29 Nov 2026.
The assessment of CISA (SSVC, 1 Oct 2025):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-369 Divide By Zero
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from ea707584bac187c9c6c64c4eacd1c09bcc08f37b, before fcd6b59f7a774558e2525251c68aa37aff748e55 affected from ea707584bac187c9c6c64c4eacd1c09bcc08f37b, before 442f786c5bff8cfd756ebdeaa4aadbf05c22aa5a affected from ea707584bac187c9c6c64c4eacd1c09bcc08f37b, before 2f39548f45693d86e950647012a214da6917dc9f affected from ea707584bac187c9c6c64c4eacd1c09bcc08f37b, before ccbc10647aafe2b7506edb4b10e19c6c2416c162 affected from ea707584bac187c9c6c64c4eacd1c09bcc08f37b, before adfbc08b94e7df08b9ed5fa26b969cc1b54c84ec affected from ea707584bac187c9c6c64c4eacd1c09bcc08f37b, before dd9e1cf619c945f320e686dcaf13e37ef0b05fdd affected from ea707584bac187c9c6c64c4eacd1c09bcc08f37b, before 6bd301819f8f69331a55ae2336c8b111fc933f3d
Other versions: unaffected
|
| Linux |
affected 2.6.39 unaffected before 2.6.39 unaffected from 5.4.285 up to and including 5.4.* unaffected from 5.10.229 up to and including 5.10.* unaffected from 5.15.171 up to and including 5.15.* unaffected from 6.1.116 up to and including 6.1.* unaffected from 6.6.60 up to and including 6.6.* unaffected from 6.11.7 up to and including 6.11.* unaffected 6.12 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-50233 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-50233
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-50233
trivy image --scanners vuln IMAGE | grep CVE-2024-50233
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/fcd6b59f7a774558e2525251c68aa37aff748e55 git.kernel.org
- https://git.kernel.org/stable/c/442f786c5bff8cfd756ebdeaa4aadbf05c22aa5a git.kernel.org
- https://git.kernel.org/stable/c/2f39548f45693d86e950647012a214da6917dc9f git.kernel.org
- https://git.kernel.org/stable/c/ccbc10647aafe2b7506edb4b10e19c6c2416c162 git.kernel.org
- https://git.kernel.org/stable/c/adfbc08b94e7df08b9ed5fa26b969cc1b54c84ec git.kernel.org
- https://git.kernel.org/stable/c/dd9e1cf619c945f320e686dcaf13e37ef0b05fdd git.kernel.org
- https://git.kernel.org/stable/c/6bd301819f8f69331a55ae2336c8b111fc933f3d git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
Source: the record CVE-2024-50233 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse