# CVE-2024-39475: fbdev: savage: Handle err return when savagefb_check_var failed

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-07-05T06:55:05.886Z
- Modified: 2026-06-17T07:41:59.673Z
- Weaknesses: CWE-369
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

fbdev: savage: Handle err return when savagefb_check_var 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 savagefb_probe doesn't handle the error return of
savagefb_check_var. When pixclock is 0, it will cause divide-by-zero error.

(As written by CVE List.)

## Affected

- Linux Linux: from 224453de8505aede1890f007be973925a3edf6a1 before be754cbd77eaf2932408a4e18532e4945274a5c7; from 84dce0f6a4cc5b7bfd7242ef9290db8ac1dd77ff before 86435f39c18967cdd937d7a49ba539cdea7fb547; from 512ee6d6041e007ef5bf200c6e388e172a2c5b24 before 32f92b0078ebf79dbe4827288e0acb50d89d3d5b; from 8c54acf33e5adaad6374bf3ec1e3aff0591cc8e1 before 4b2c67e30b4e1d2ae19dba8b8e8f3b5fd3cf8089; from 070398d32c5f3ab0e890374904ad94551c76aec4 before edaa57480b876e8203b51df7c3d14a51ea6b09e3; from bc3c2e58d73b28b9a8789fca84778ee165a72d13 before b8385ff814ca4cb7e63789841e6ec2a14c73e1e8; from 04e5eac8f3ab2ff52fa191c187a46d4fdbc1e288 before 5f446859bfa46df0ffb34149499f48a2c2d8cd95; from 04e5eac8f3ab2ff52fa191c187a46d4fdbc1e288 before 6ad959b6703e2c4c5d7af03b4cfd5ff608036339; a9ca4e80d23474f90841251f4ac0d941fa337a01; from 4.19.308 before 4.19.316; from 5.4.270 before 5.4.278; from 5.10.211 before 5.10.219; and 5 more (not affected: before 6.8; from 4.19.316 up to 4.19.*; from 5.4.278 up to 5.4.*; from 5.10.219 up to 5.10.*; from 5.15.161 up to 5.15.*; from 6.1.94 up to 6.1.*; from 6.6.34 up to 6.6.*; from 6.9.5 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: from 4.19 before 4.19.316; from 5.4 before 5.4.278; from 5.10 before 5.10.219; from 5.15 before 5.15.161; from 6.1 before 6.1.94; from 6.6 before 6.6.34; from 6.9 before 6.9.5

## References

- <https://git.kernel.org/stable/c/be754cbd77eaf2932408a4e18532e4945274a5c7> (mailing-list, patch)
- <https://git.kernel.org/stable/c/86435f39c18967cdd937d7a49ba539cdea7fb547> (mailing-list, patch)
- <https://git.kernel.org/stable/c/32f92b0078ebf79dbe4827288e0acb50d89d3d5b> (mailing-list, patch)
- <https://git.kernel.org/stable/c/4b2c67e30b4e1d2ae19dba8b8e8f3b5fd3cf8089> (mailing-list, patch)
- <https://git.kernel.org/stable/c/edaa57480b876e8203b51df7c3d14a51ea6b09e3> (mailing-list, patch)
- <https://git.kernel.org/stable/c/b8385ff814ca4cb7e63789841e6ec2a14c73e1e8> (mailing-list, patch)
- <https://git.kernel.org/stable/c/5f446859bfa46df0ffb34149499f48a2c2d8cd95> (mailing-list, patch)
- <https://git.kernel.org/stable/c/6ad959b6703e2c4c5d7af03b4cfd5ff608036339> (mailing-list, patch)

## Sources

- CVE List: [CVE-2024-39475](https://www.cve.org/CVERecord?id=CVE-2024-39475), CVE Terms of Use, modified 2026-05-23
- NVD: [CVE-2024-39475](https://nvd.nist.gov/vuln/detail/CVE-2024-39475), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-39475 · Whole record: https://cve.day/CVE-2024-39475.json · Rebuilt by cve.day 2026-11-25T22:58:42.517Z
