CVE-2024-39475: fbdev: savage: Handle err return when savagefb_check_var failed
In the Linux kernel, the following vulnerability has been resolved:
fbdev: savage: Handle err return when savagefbcheckvar failed
The commit 04e5eac8f3ab("fbdev: savage: Error out if pixclock equals zero") checks the value of pixclock to avoid divide-by-zero error. However the function savagefbprobe doesn't handle the error return of savagefbcheckvar. When pixclock is 0, it will cause divide-by-zero error.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.94-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.9.7-1 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 4.19.316 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.4.278 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.219 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.161 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.94 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.34 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.8 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.9.5 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.221-1Fixed in 6.1.94-1Fixed in 6.9.7-1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-39475?
CVE-2024-39475 has a medium severity rating due to its potential impact on the Linux kernel.
How do I fix CVE-2024-39475?
To fix CVE-2024-39475, update the Linux kernel to a version that includes the commit referenced in the resolution.
What versions of the Linux kernel are affected by CVE-2024-39475?
CVE-2024-39475 affects multiple versions of the Linux kernel, specifically those between 4.19 and certain 5.x and 6.x versions.
What is the primary issue with CVE-2024-39475?
The primary issue with CVE-2024-39475 is that it involves a divide-by-zero error which can cause instability in systems utilizing the fbdev subsystem.
Is CVE-2024-39475 related to specific hardware?
CVE-2024-39475 is related to the Savage framebuffer driver in the Linux kernel, affecting certain hardware configurations.