{"id":"CVE-2024-50232","published":"2024-11-09T10:14:42Z","modified":"2026-05-11T20:47:56Z","title":"iio: adc: ad7124: fix division by zero in ad7124_set_channel_odr()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: adc: ad7124: fix division by zero in ad7124_set_channel_odr()\n\nIn the ad7124_write_raw() function, parameter val can potentially\nbe zero. This may lead to a division by zero when DIV_ROUND_CLOSEST()\nis called within ad7124_set_channel_odr(). The ad7124_write_raw()\nfunction is invoked through the sequence: iio_write_channel_raw() ->\niio_write_channel_attribute() -> iio_channel_write(), with no checks\nin place to ensure val is non-zero.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00249,"percentile":0.16491,"provenance":"source"},"cwes":[{"id":"CWE-369","name":"Divide By Zero"}],"references":[{"url":"https://git.kernel.org/stable/c/4f588fffc307a4bc2761aee6ff275bb4b433e451","tags":[]},{"url":"https://git.kernel.org/stable/c/f51343f346e6abde094548a7fb34472b0d4cae91","tags":[]},{"url":"https://git.kernel.org/stable/c/3dc0eda2cd5c653b162852ae5f0631bfe4ca5e95","tags":[]},{"url":"https://git.kernel.org/stable/c/0ac0beb4235a9a474f681280a3bd4e2a5bb66569","tags":[]},{"url":"https://git.kernel.org/stable/c/efa353ae1b0541981bc96dbf2e586387d0392baa","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[]}],"priority":{"score":7.1,"factors":[{"name":"EPSS percentile","points":3.3},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 7b8d045e497a04dd88546da51f34fa3b102778d2, < 4f588fffc307a4bc2761aee6ff275bb4b433e451",">= 7b8d045e497a04dd88546da51f34fa3b102778d2, < f51343f346e6abde094548a7fb34472b0d4cae91",">= 7b8d045e497a04dd88546da51f34fa3b102778d2, < 3dc0eda2cd5c653b162852ae5f0631bfe4ca5e95",">= 7b8d045e497a04dd88546da51f34fa3b102778d2, < 0ac0beb4235a9a474f681280a3bd4e2a5bb66569",">= 7b8d045e497a04dd88546da51f34fa3b102778d2, < efa353ae1b0541981bc96dbf2e586387d0392baa"]},{"vendor":"Linux","product":"Linux","versions":["5.13"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T20:16:36.439869Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-44734","exploited":false,"provenance":"source"}}