{"id":"CVE-2024-26778","published":"2024-04-03T17:01:08Z","modified":"2026-05-11T20:03:59Z","title":"fbdev: savage: Error out if pixclock equals zero","vendor":"Linux","product":"Linux","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00324,"percentile":0.17934,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/224453de8505aede1890f007be973925a3edf6a1","tags":[]},{"url":"https://git.kernel.org/stable/c/84dce0f6a4cc5b7bfd7242ef9290db8ac1dd77ff","tags":[]},{"url":"https://git.kernel.org/stable/c/512ee6d6041e007ef5bf200c6e388e172a2c5b24","tags":[]},{"url":"https://git.kernel.org/stable/c/8c54acf33e5adaad6374bf3ec1e3aff0591cc8e1","tags":[]},{"url":"https://git.kernel.org/stable/c/070398d32c5f3ab0e890374904ad94551c76aec4","tags":[]},{"url":"https://git.kernel.org/stable/c/bc3c2e58d73b28b9a8789fca84778ee165a72d13","tags":[]},{"url":"https://git.kernel.org/stable/c/a9ca4e80d23474f90841251f4ac0d941fa337a01","tags":[]},{"url":"https://git.kernel.org/stable/c/04e5eac8f3ab2ff52fa191c187a46d4fdbc1e288","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html","tags":["x_transferred"]}],"priority":{"score":3.6,"factors":[{"name":"EPSS percentile","points":3.59}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 224453de8505aede1890f007be973925a3edf6a1",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 84dce0f6a4cc5b7bfd7242ef9290db8ac1dd77ff",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 512ee6d6041e007ef5bf200c6e388e172a2c5b24",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8c54acf33e5adaad6374bf3ec1e3aff0591cc8e1",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 070398d32c5f3ab0e890374904ad94551c76aec4",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < bc3c2e58d73b28b9a8789fca84778ee165a72d13",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a9ca4e80d23474f90841251f4ac0d941fa337a01",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 04e5eac8f3ab2ff52fa191c187a46d4fdbc1e288"]},{"vendor":"Linux","product":"Linux","versions":["2.6.12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-21T16:06:44.068367Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-24040","exploited":false,"provenance":"source"},"lineage":{"parents":[{"from":"CVE-2022-3061","to":"CVE-2024-26778","relation":"related","confidence":"low","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"This is similar to CVE-2022-3061 in i740fb which was fixed by commit 15cf0b8.","from":"CVE.org","in":"CVE-2024-26778"}]}]}}