{"id":"CVE-2024-26778","aliases":["CVE-2024-26778"],"related":[],"kind":"vulnerability","state":"published","title":"fbdev: savage: Error out if pixclock equals zero","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nfbdev: savage: Error out if pixclock equals zero\n\nThe userspace program could pass any values to the driver through\nioctl() interface. If the driver doesn't check the value of pixclock,\nit may cause divide-by-zero error.\n\nAlthough pixclock is checked in savagefb_decode_var(), but it is not\nchecked properly in savagefb_probe(). Fix this by checking whether\npixclock is zero in the function savagefb_check_var() before\ninfo->var.pixclock is used as the divisor.\n\nThis is similar to CVE-2022-3061 in i740fb which was fixed by\ncommit 15cf0b8.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nfbdev: savage: Error out if pixclock equals zero\n\nThe userspace program could pass any values to the driver through\nioctl() interface. If the driver doesn't check the value of pixclock,\nit may cause divide-by-zero error.\n\nAlthough pixclock is checked in savagefb_decode_var(), but it is not\nchecked properly in savagefb_probe(). Fix this by checking whether\npixclock is zero in the function savagefb_check_var() before\ninfo->var.pixclock is used as the divisor.\n\nThis is similar to CVE-2022-3061 in i740fb which was fixed by\ncommit 15cf0b8.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: fbdev: savage: error si pixclock es igual a cero. El programa de espacio de usuario podría pasar cualquier valor al controlador a través de la interfaz ioctl(). Si el controlador no verifica el valor de pixclock, puede causar un error de división por cero. Aunque pixclock está marcado en savagefb_decode_var(), no está marcado correctamente en savagefb_probe(). Solucione este problema verificando si pixclock es cero en la función savagefb_check_var() antes de usar info-&gt;var.pixclock como divisor. Esto es similar a CVE-2022-3061 en i740fb que se solucionó mediante el commit 15cf0b8.","source":"nvd"}],"published":"2024-04-03T17:01:08.782Z","modified":"2026-06-17T07:18:19.327Z","severity":{"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"},"severities":[{"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":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"224453de8505aede1890f007be973925a3edf6a1","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"84dce0f6a4cc5b7bfd7242ef9290db8ac1dd77ff","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"512ee6d6041e007ef5bf200c6e388e172a2c5b24","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"8c54acf33e5adaad6374bf3ec1e3aff0591cc8e1","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"070398d32c5f3ab0e890374904ad94551c76aec4","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"bc3c2e58d73b28b9a8789fca84778ee165a72d13","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"a9ca4e80d23474f90841251f4ac0d941fa337a01","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"04e5eac8f3ab2ff52fa191c187a46d4fdbc1e288","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.12","status":"unaffected"},{"type":"semver","introduced":"4.19.308","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.270","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.211","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.150","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.80","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.19","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.7.7","lastAffected":"6.7.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.8","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","fixed":"4.19.308"},{"status":"affected","introduced":"4.20","fixed":"5.4.270"},{"status":"affected","introduced":"5.5","fixed":"5.10.211"},{"status":"affected","introduced":"5.11","fixed":"5.15.150"},{"status":"affected","introduced":"5.16","fixed":"6.1.80"},{"status":"affected","introduced":"6.2","fixed":"6.6.19"},{"status":"affected","introduced":"6.7","fixed":"6.7.7"},{"status":"affected","version":"6.8"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/224453de8505aede1890f007be973925a3edf6a1","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/84dce0f6a4cc5b7bfd7242ef9290db8ac1dd77ff","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/512ee6d6041e007ef5bf200c6e388e172a2c5b24","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8c54acf33e5adaad6374bf3ec1e3aff0591cc8e1","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/070398d32c5f3ab0e890374904ad94551c76aec4","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bc3c2e58d73b28b9a8789fca84778ee165a72d13","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a9ca4e80d23474f90841251f4ac0d941fa337a01","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/04e5eac8f3ab2ff52fa191c187a46d4fdbc1e288","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["mailing-list","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html","tags":["mailing-list","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-06-21T16:06:44.068Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-26778","url":"https://www.cve.org/CVERecord?id=CVE-2024-26778","licence":"CVE Terms of Use","modified":"2026-05-11T20:03:59.650Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-26778","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26778","licence":"Public domain","modified":"2026-06-17T07:18:19.327Z"}],"updatedAt":"2026-11-25T22:58:38.699Z","epss":{"score":0.00254,"percentile":0.18108,"date":"2026-12-01T12:00:22.000Z"}}