{"id":"CVE-2024-50205","aliases":["CVE-2024-50205"],"related":[],"kind":"vulnerability","state":"published","title":"ALSA: firewire-lib: Avoid division by zero in apply_constraint_to_size()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: firewire-lib: Avoid division by zero in apply_constraint_to_size()\n\nThe step variable is initialized to zero. It is changed in the loop,\nbut if it's not changed it will remain zero. Add a variable check\nbefore the division.\n\nThe observed behavior was introduced by commit 826b5de90c0b\n(\"ALSA: firewire-lib: fix insufficient PCM rule for period/buffer size\"),\nand it is difficult to show that any of the interval parameters will\nsatisfy the snd_interval_test() condition with data from the\namdtp_rate_table[] table.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: firewire-lib: Avoid division by zero in apply_constraint_to_size()\n\nThe step variable is initialized to zero. It is changed in the loop,\nbut if it's not changed it will remain zero. Add a variable check\nbefore the division.\n\nThe observed behavior was introduced by commit 826b5de90c0b\n(\"ALSA: firewire-lib: fix insufficient PCM rule for period/buffer size\"),\nand it is difficult to show that any of the interval parameters will\nsatisfy the snd_interval_test() condition with data from the\namdtp_rate_table[] table.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ALSA: firewire-lib: Evitar la división por cero en apply_constraint_to_size() La variable de paso se inicializa a cero. Se cambia en el bucle, pero si no se cambia, permanecerá en cero. Agregue una comprobación de variable antes de la división. El comportamiento observado fue introducido por el commit 826b5de90c0b (\"ALSA: firewire-lib: corregir regla PCM insuficiente para tamaño de período/búfer\"), y es difícil demostrar que alguno de los parámetros de intervalo satisfará la condición snd_interval_test() con datos de la tabla amdtp_rate_table[]. Encontrado por Linux Verification Center (linuxtesting.org) con SVACE.","source":"nvd"}],"published":"2024-11-08T06:07:55.993Z","modified":"2026-10-15T01:19:10.287Z","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":"826b5de90c0bca4e9de6231da9e1730480621588","fixed":"d575414361630b8b0523912532fcd7c79e43468c","status":"affected"},{"type":"git","introduced":"826b5de90c0bca4e9de6231da9e1730480621588","fixed":"5e431f85c87bbffd93a9830d5a576586f9855291","status":"affected"},{"type":"git","introduced":"826b5de90c0bca4e9de6231da9e1730480621588","fixed":"7d4eb9e22131ec154e638cbd56629195c9bcbe9a","status":"affected"},{"type":"git","introduced":"826b5de90c0bca4e9de6231da9e1730480621588","fixed":"d2826873db70a6719cdd9212a6739f3e6234cfc4","status":"affected"},{"type":"git","introduced":"826b5de90c0bca4e9de6231da9e1730480621588","fixed":"4bdc21506f12b2d432b1f2667e5ff4c75eee58e3","status":"affected"},{"type":"git","introduced":"826b5de90c0bca4e9de6231da9e1730480621588","fixed":"3452d39c4704aa12504e4190298c721fb01083c3","status":"affected"},{"type":"git","introduced":"826b5de90c0bca4e9de6231da9e1730480621588","fixed":"72cafe63b35d06b5cfbaf807e90ae657907858da","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.20","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.20","status":"unaffected"},{"type":"semver","introduced":"5.4.285","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.229","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.170","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.115","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.59","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.11.6","lastAffected":"6.11.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.12","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":"4.20","fixed":"5.4.285"},{"status":"affected","introduced":"5.5","fixed":"5.10.229"},{"status":"affected","introduced":"5.11","fixed":"5.15.170"},{"status":"affected","introduced":"5.16","fixed":"6.1.115"},{"status":"affected","introduced":"6.2","fixed":"6.6.59"},{"status":"affected","introduced":"6.7","fixed":"6.11.6"},{"status":"affected","version":"6.12"},{"status":"affected","version":"6.12"},{"status":"affected","version":"6.12"},{"status":"affected","version":"6.12"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/d575414361630b8b0523912532fcd7c79e43468c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5e431f85c87bbffd93a9830d5a576586f9855291","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7d4eb9e22131ec154e638cbd56629195c9bcbe9a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d2826873db70a6719cdd9212a6739f3e6234cfc4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4bdc21506f12b2d432b1f2667e5ff4c75eee58e3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3452d39c4704aa12504e4190298c721fb01083c3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/72cafe63b35d06b5cfbaf807e90ae657907858da","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T20:17:39.245Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-50205","url":"https://www.cve.org/CVERecord?id=CVE-2024-50205","licence":"CVE Terms of Use","modified":"2026-10-15T00:57:26.837Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-50205","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50205","licence":"Public domain","modified":"2026-10-15T01:19:10.287Z"}],"updatedAt":"2026-11-25T22:58:47.915Z","epss":{"score":0.00229,"percentile":0.14714,"date":"2026-12-01T12:00:22.000Z"}}