CVE-2024-50232
Last modified
CVE-2024-50232 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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(). EPSS estimates a 0.25% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 5.13, < 5.15.171 | — |
| Linux | Linux Kernel | >= 5.16, < 6.1.116 | — |
| Linux | Linux Kernel | >= 6.2, < 6.6.60 | — |
| Linux | Linux Kernel | >= 6.7, < 6.11.7 | — |
| Linux | Linux Kernel | 6.12 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-50232?
How severe is CVE-2024-50232?
How do I fix CVE-2024-50232?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-50227In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2024-50228Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2024-50229In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-5023Improper Neutralization of Special Elements used in a Comman…9.3
- CVE-2024-50230In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-50231In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50233In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50234In the Linux kernel, the following vulnerability has been re…7
- CVE-2024-50235In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-50236In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50237In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50238In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2024-50232?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
