CVE-2024-26778

fbdev: savage: Error out if pixclock equals zero

MEDIUM
5.5
CVSS Score
Published: April 3, 2024 at 05:01 PM UTC
Updated: June 17, 2026 at 07:18 AM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: fbdev: savage: Error out if pixclock equals zero The userspace program could pass any values to the driver through ioctl() interface. If the driver doesn't check the value of pixclock, it may cause divide-by-zero error. Although pixclock is checked in savagefb_decode_var(), but it is not checked properly in savagefb_probe(). Fix this by checking whether pixclock is zero in the function savagefb_check_var() before info->var.pixclock is used as the divisor. This is similar to CVE-2022-3061 in i740fb which was fixed by commit 15cf0b8.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 4.19.3082.6.12 ≤ v < 4.19.3082.6.12 ≤ v < 5.10.2112.6.12 ≤ v < 5.15.1502.6.12 ≤ v < 5.4.2702.6.12 ≤ v < 6.1.802.6.12 ≤ v < 6.6.192.6.12 ≤ v < 6.7.72.6.12 ≤ v < 6.84.20 ≤ v < 5.4.2705.11 ≤ v < 5.15.1505.16 ≤ v < 6.1.805.5 ≤ v < 5.10.2116.2 ≤ v < 6.6.196.7 ≤ v < 6.7.71da177e4c3f41524e886b7f1b8a0c1fc7321cac26.8 rc1
Vendor states this is fixed in 224453de8505aede1890f007be973925a3edf6a1 (fixed)
Vendor states this is fixed in 4e5eac8f3ab2ff52fa191c187a46d4fdbc1e288 (fixed)
Vendor states this is fixed in 512ee6d6041e007ef5bf200c6e388e172a2c5b24 (fixed)
Vendor states this is fixed in 70398d32c5f3ab0e890374904ad94551c76aec4 (fixed)
Vendor states this is fixed in 84dce0f6a4cc5b7bfd7242ef9290db8ac1dd77ff (fixed)
Vendor states this is fixed in 8c54acf33e5adaad6374bf3ec1e3aff0591cc8e1 (fixed)
Vendor states this is fixed in a9ca4e80d23474f90841251f4ac0d941fa337a01 (fixed)
Vendor states this is fixed in bc3c2e58d73b28b9a8789fca84778ee165a72d13 (fixed)
Vendor states this is fixed in 2.6.12 (unaffected)
Vendor states this is fixed in 4.19.308 (unaffected)
Vendor states this is fixed in 5.10.211 (unaffected)
Vendor states this is fixed in 5.15.150 (unaffected)
Vendor states this is fixed in 5.4.270 (unaffected)
Vendor states this is fixed in 6.1.80 (unaffected)
Vendor states this is fixed in 6.6.19 (unaffected)
Vendor states this is fixed in 6.7.7 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/04e5eac8f3ab2ff52fa191c187a46d4fdbc1e288
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/070398d32c5f3ab0e890374904ad94551c76aec4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/224453de8505aede1890f007be973925a3edf6a1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/512ee6d6041e007ef5bf200c6e388e172a2c5b24
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/84dce0f6a4cc5b7bfd7242ef9290db8ac1dd77ff
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8c54acf33e5adaad6374bf3ec1e3aff0591cc8e1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a9ca4e80d23474f90841251f4ac0d941fa337a01
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bc3c2e58d73b28b9a8789fca84778ee165a72d13

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-369

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card