CVE-2024-50233

Source
https://cve.org/CVERecord?id=CVE-2024-50233
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-50233.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-50233
Downstream
Related
Published
2024-11-09T10:14:43.442Z
Modified
2026-05-28T03:55:24.001750654Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
staging: iio: frequency: ad9832: fix division by zero in ad9832_calc_freqreg()
Details

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

staging: iio: frequency: ad9832: fix division by zero in ad9832calcfreqreg()

In the ad9832writefrequency() function, clkgetrate() might return 0. This can lead to a division by zero when calling ad9832calcfreqreg(). The check if (fout > (clkgetrate(st->mclk) / 2)) does not protect against the case when fout is 0. The ad9832writefrequency() function is called from ad9832_write(), and fout is derived from a text buffer, which can contain any value.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50233.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / 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/osv-test-cve-osv-conversion/osv-output/CVE-2024-50233.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.39
Fixed
5.4.285
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.229
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.171
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.116
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.60
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.11.7

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-50233.json"