CVE-2021-47641

video: fbdev: cirrusfb: check pixclock to avoid divide by zero

5.5 medium EPSS 0.29%

Published 26 Feb 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2021-47641

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2021-47641 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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

video: fbdev: cirrusfb: check pixclock to avoid divide by zero

Do a sanity check on pixclock value to avoid divide by zero.

If the pixclock value is zero, the cirrusfb driver will round up pixclock to get the derived frequency as close to maxclock as possible.

Syzkaller reported a divide error in cirrusfb_check_pixclock.

divide error: 0000 [#1] SMP KASAN PTI CPU: 0 PID: 14938 Comm: cirrusfb_test Not tainted 5.15.0-rc6 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.11.0-2 RIP: 0010:cirrusfb_check_var+0x6f1/0x1260

Call Trace: fb_set_var+0x398/0xf90 do_fb_ioctl+0x4b8/0x6f0 fb_ioctl+0xeb/0x130 __x64_sys_ioctl+0x19d/0x220 do_syscall_64+0x3a/0x80 entry_SYSCALL_64_after_hwframe+0x44/0xae

Severity (CVSS)

5.5 medium CVSS 3.1 from CISA (ADP)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.29%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.2% of all scored CVEs. Scores of 28 Nov 2026.

The assessment of CISA (SSVC, 1 Oct 2025):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Weakness

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before c656d04247a2654ede5cead2ecbf83431dad5261
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 1d3fb46439ad4e8f0c5739eb33d1875ac9e0f135
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 40b13e3d85744210db13457785646634e2d056bd
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 53a2088a396cfa1da92690a1da289634cd73bf0d
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 8c7e2141fb89c620ab4e41512e262fbf25b8260d
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 6fe23ff94e7840097202e85c148688940b37c9b1
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 45800c42ef000f417270bcfc08630e42486fca99
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before e498b504f8c81b07efab9febf8503448de4dc9cf
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 5c6f402bdcf9e7239c6bc7087eda71ac99b31379
Other versions: unaffected
Linux
affected 2.6.12
unaffected before 2.6.12
unaffected from 4.9.311 up to and including 4.9.*
unaffected from 4.14.276 up to and including 4.14.*
unaffected from 4.19.238 up to and including 4.19.*
unaffected from 5.4.189 up to and including 5.4.*
unaffected from 5.10.110 up to and including 5.10.*
unaffected from 5.15.33 up to and including 5.15.*
unaffected from 5.16.19 up to and including 5.16.*
unaffected from 5.17.2 up to and including 5.17.*
unaffected 5.18 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2021-47641 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2021-47641

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2021-47641
trivy image --scanners vuln IMAGE | grep CVE-2021-47641

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2021-47641 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.