CVE-2024-50232
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-50232 is a division by zero vulnerability discovered in the Linux kernel's AD7124 ADC driver. The vulnerability was identified on October 22, 2024, and affects the ad7124_write_raw() function where the parameter val can potentially be zero, leading to a division by zero condition when DIV_ROUND_CLOSEST() is called within ad7124_set_channel_odr(). The vulnerability affects Linux kernel versions from 5.13 through 6.11.7 (NVD).

Technical details

The vulnerability exists in the Linux kernel's Industrial I/O (IIO) subsystem, specifically in the AD7124 ADC driver. The issue occurs in the ad7124_write_raw() function which can be called through the sequence: iio_write_channel_raw() -> iio_write_channel_attribute() -> iio_channel_write(). The function lacks proper validation to ensure the 'val' parameter is non-zero before performing division operations. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability can lead to a division by zero error when DIV_ROUND_CLOSEST() is called within ad7124_set_channel_odr(), potentially causing a kernel crash or denial of service condition. The impact is limited to systems using the AD7124 ADC driver (NVD).

Mitigation and workarounds

The vulnerability has been patched in the Linux kernel. The fix involves adding a check for val == 0 in the ad7124_write_raw() function to prevent the division by zero condition. The patch has been backported to affected stable kernel versions. Users should update to the patched kernel versions: 5.15.171, 6.1.116, 6.6.60, or 6.11.7 and later (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • kernel-cross-headers
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-modules-core
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management