{"id":"CVE-2024-56567","aliases":["CVE-2024-56567"],"related":[],"kind":"vulnerability","state":"published","title":"ad7780: fix division by zero in ad7780_write_raw()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nad7780: fix division by zero in ad7780_write_raw()\n\nIn the ad7780_write_raw() , val2 can be zero, which might lead to a\ndivision by zero error in DIV_ROUND_CLOSEST(). The ad7780_write_raw()\nis based on iio_info's write_raw. While val is explicitly declared that\ncan be zero (in read mode), val2 is not specified to be non-zero.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nad7780: fix division by zero in ad7780_write_raw()\n\nIn the ad7780_write_raw() , val2 can be zero, which might lead to a\ndivision by zero error in DIV_ROUND_CLOSEST(). The ad7780_write_raw()\nis based on iio_info's write_raw. While val is explicitly declared that\ncan be zero (in read mode), val2 is not specified to be non-zero.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ad7780: se corrige la división por cero en ad7780_write_raw() En ad7780_write_raw(), val2 puede ser cero, lo que podría provocar un error de división por cero en DIV_ROUND_CLOSEST(). ad7780_write_raw() se basa en write_raw de iio_info. Si bien se declara explícitamente que val puede ser cero (en modo de lectura), no se especifica que val2 sea distinto de cero.","source":"nvd"}],"published":"2024-12-27T14:23:10.861Z","modified":"2026-06-17T08:12:25.840Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-369"],"affected":[{"ranges":[{"type":"git","introduced":"9085daa4abcc3a1c19ae4eb00e609842ef28275a","fixed":"18fb33df1de83a014d7f784089f9b124facc157f","status":"affected"},{"type":"git","introduced":"9085daa4abcc3a1c19ae4eb00e609842ef28275a","fixed":"afc1e3c00b3f5f0b4f1bc3e974fb9803cb938a90","status":"affected"},{"type":"git","introduced":"9085daa4abcc3a1c19ae4eb00e609842ef28275a","fixed":"68e79b848196a0b0ec006009cc69da1f835d1ae8","status":"affected"},{"type":"git","introduced":"9085daa4abcc3a1c19ae4eb00e609842ef28275a","fixed":"022e13518ba6cc1b4fdd291f49e4f57b2d5718e0","status":"affected"},{"type":"git","introduced":"9085daa4abcc3a1c19ae4eb00e609842ef28275a","fixed":"7e3a8ea3d1ada7f707de5d9d504774b4191eab66","status":"affected"},{"type":"git","introduced":"9085daa4abcc3a1c19ae4eb00e609842ef28275a","fixed":"f25a9f1df1f6738acf1fa05595fb6060a2c08ff1","status":"affected"},{"type":"git","introduced":"9085daa4abcc3a1c19ae4eb00e609842ef28275a","fixed":"c174b53e95adf2eece2afc56cd9798374919f99a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.2","status":"unaffected"},{"type":"semver","introduced":"5.4.287","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.231","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.174","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.120","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.64","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.4","lastAffected":"6.12.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.13","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.2","fixed":"5.4.287"},{"status":"affected","introduced":"5.5","fixed":"5.10.231"},{"status":"affected","introduced":"5.11","fixed":"5.15.174"},{"status":"affected","introduced":"5.16","fixed":"6.1.120"},{"status":"affected","introduced":"6.2","fixed":"6.6.64"},{"status":"affected","introduced":"6.7","fixed":"6.12.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/18fb33df1de83a014d7f784089f9b124facc157f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/afc1e3c00b3f5f0b4f1bc3e974fb9803cb938a90","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/68e79b848196a0b0ec006009cc69da1f835d1ae8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/022e13518ba6cc1b4fdd291f49e4f57b2d5718e0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7e3a8ea3d1ada7f707de5d9d504774b4191eab66","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f25a9f1df1f6738acf1fa05595fb6060a2c08ff1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c174b53e95adf2eece2afc56cd9798374919f99a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T20:02:13.105Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-56567","url":"https://www.cve.org/CVERecord?id=CVE-2024-56567","licence":"CVE Terms of Use","modified":"2026-05-11T20:54:56.013Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-56567","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56567","licence":"Public domain","modified":"2026-06-17T08:12:25.840Z"}],"updatedAt":"2026-11-25T22:58:50.454Z","epss":{"score":0.00236,"percentile":0.15639,"date":"2026-12-01T12:00:22.000Z"}}