CVE-2024-50232
iio: adc: ad7124: fix division by zero in ad7124_set_channel_odr()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 7b8d045e497a04dd88546da51f34fa3b102778d2, < 4f588fffc307a4bc2761aee6ff275bb4b433e451; >= 7b8d045e497a04dd88546da51f34fa3b102778d2, < f51343f346e6abde094548a7fb34472b0d4cae91; >= 7b8d045e497a04dd88546da51f34fa3b102778d2, < 3dc0eda2cd5c653b162852ae5f0631bfe4ca5e95; >= 7b8d045e497a04dd88546da51f34fa3b102778d2, < 0ac0beb4235a9a474f681280a3bd4e2a5bb66569; >= 7b8d045e497a04dd88546da51f34fa3b102778d2, < efa353ae1b0541981bc96dbf2e586387d0392baa
- Anyone running Linux 5.13
Vulnerability facts
- Affected
- Linux >= 7b8d045e497a04dd88546da51f34fa3b102778d2, < 4f588fffc307a4bc2761aee6ff275bb4b433e451; >= 7b8d045e497a04dd88546da51f34fa3b102778d2, < f51343f346e6abde094548a7fb34472b0d4cae91; >= 7b8d045e497a04dd88546da51f34fa3b102778d2, < 3dc0eda2cd5c653b162852ae5f0631bfe4ca5e95; >= 7b8d045e497a04dd88546da51f34fa3b102778d2, < 0ac0beb4235a9a474f681280a3bd4e2a5bb66569; >= 7b8d045e497a04dd88546da51f34fa3b102778d2, < efa353ae1b0541981bc96dbf2e586387d0392baa; Linux 5.13
- Fixed in
- Linux 4f588fffc307a4bc2761aee6ff275bb4b433e451, Linux 3dc0eda2cd5c653b162852ae5f0631bfe4ca5e95, Linux 0ac0beb4235a9a474f681280a3bd4e2a5bb66569
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
- CWE
- CWE-369
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: iio: adc: ad7124: fix division by zero in ad7124_set_channel_odr() In the ad7124_write_raw() function, parameter val can potentially be zero. This may lead to a division by zero when DIV_ROUND_CLOSEST() is called within ad7124_set_channel_odr(). The ad7124_write_raw() function is invoked through the sequence: iio_write_channel_raw() -> iio_write_channel_attribute() -> iio_channel_write(), with no checks in place to ensure val is non-zero.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 7b8d045e497a04dd88546da51f34fa3b102778d2, < 4f588fffc307a4bc2761aee6ff275bb4b433e451; >= 7b8d045e497a04dd88546da51f34fa3b102778d2, < f51343f346e6abde094548a7fb34472b0d4cae91; >= 7b8d045e497a04dd88546da51f34fa3b102778d2, < 3dc0eda2cd5c653b162852ae5f0631bfe4ca5e95; >= 7b8d045e497a04dd88546da51f34fa3b102778d2, < 0ac0beb4235a9a474f681280a3bd4e2a5bb66569; >= 7b8d045e497a04dd88546da51f34fa3b102778d2, < efa353ae1b0541981bc96dbf2e586387d0392baa | — | cvelist |
| Linux | 5.13 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-50232. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-50232.md Affected: Linux >= 7b8d045e497a04dd88546da51f34fa3b102778d2, < 4f588fffc307a4bc2761aee6ff275bb4b433e451; >= 7b8d045e497a04dd88546da51f34fa3b102778d2, < f51343f346e6abde094548a7fb34472b0d4cae91; >= 7b8d045e497a04dd88546da51f34fa3b102778d2, < 3dc0eda2cd5c653b162852ae5f0631bfe4ca5e95; >= 7b8d045e497a04dd88546da… Fixed in: Linux 4f588fffc307a4bc2761aee6ff275bb4b433e451, Linux 3dc0eda2cd5c653b162852ae5f0631bfe4ca5e95, Linux 0ac0beb4235a9a474f681280a3bd4e2a5bb66569 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/4f588fffc307a4bc2761aee6ff275bb4b433e451
- https://git.kernel.org/stable/c/f51343f346e6abde094548a7fb34472b0d4cae91
- https://git.kernel.org/stable/c/3dc0eda2cd5c653b162852ae5f0631bfe4ca5e95
- https://git.kernel.org/stable/c/0ac0beb4235a9a474f681280a3bd4e2a5bb66569
- https://git.kernel.org/stable/c/efa353ae1b0541981bc96dbf2e586387d0392baa
FAQ
Is CVE-2024-50232 being exploited?
There is no confirmed exploitation: CVE-2024-50232 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-50232?
Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-50232?
Linux >= 7b8d045e497a04dd88546da51f34fa3b102778d2, < 4f588fffc307a4bc2761aee6ff275bb4b433e451; >= 7b8d045e497a04dd88546da51f34fa3b102778d2, < f51343f346e6abde094548a7fb34472b0d4cae91; >= 7b8d045e497a04dd88546da51f34fa3b102778d2, < 3dc0eda2cd5c653b162852ae5f0631bfe4ca5e95; >= 7b8d045e497a04dd88546da51f34fa3b102778d2, < 0ac0beb4235a9a474f681280a3bd4e2a5bb66569; >= 7b8d045e497a04dd88546da51f34fa3b102778d2, < efa353ae1b0541981bc96dbf2e586387d0392baa; Linux 5.13.
Is there a fix for CVE-2024-50232?
Yes. Fixed in Linux 4f588fffc307a4bc2761aee6ff275bb4b433e451, Linux 3dc0eda2cd5c653b162852ae5f0631bfe4ca5e95, Linux 0ac0beb4235a9a474f681280a3bd4e2a5bb66569. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2024-50232?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.