Local system crash via zero sampling frequency
Published Nov 9, 2024 · Updated May 11, 2026
Divide-by-zero in the Linux kernel AD7124 IIO ADC driver allows local users to crash the system through a zero sampling frequency. The ad7124_write_raw() path accepts a zero val parameter and passes it to ad7124_set_channel_odr(), where DIV_ROUND_CLOSEST() divides by that value without a nonzero check. Reachability requires local low-privilege access to a writable IIO channel attribute backed by AD7124 hardware; triggering the flaw crashes the kernel and interrupts the host.
Summary
What happened
Divide-by-zero in the Linux kernel AD7124 IIO ADC driver allows local users to crash the system through a zero sampling frequency. The ad7124_write_raw() path accepts a zero val parameter and passes it to ad7124_set_channel_odr(), where DIV_ROUND_CLOSEST() divides by that value without a nonzero check. Reachability requires local low-privilege access to a writable IIO channel attribute backed by AD7124 hardware; triggering the flaw crashes the kernel and interrupts the host.
The record
- CVE
- CVE-2024-50232
- Published
- Nov 9, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-369, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Nov 9, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.13
- Affected versionversion=7b8d045e497a04dd88546da51f34fa3b102778d2 <0ac0beb4235a9a474f681280a3bd4e2a5bb66569
- Affected versionversion=7b8d045e497a04dd88546da51f34fa3b102778d2 <3dc0eda2cd5c653b162852ae5f0631bfe4ca5e95
- Affected versionversion=7b8d045e497a04dd88546da51f34fa3b102778d2 <4f588fffc307a4bc2761aee6ff275bb4b433e451
- Affected versionversion=7b8d045e497a04dd88546da51f34fa3b102778d2 <efa353ae1b0541981bc96dbf2e586387d0392baa
- Affected versionversion=7b8d045e497a04dd88546da51f34fa3b102778d2 <f51343f346e6abde094548a7fb34472b0d4cae91
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo