CVE-2021-47641 Details
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
A vulnerability in the Linux kernel's Cirrus framebuffer driver can lead to a divide-by-zero error. This issue arises because the driver does not properly validate the 'pixclock' value. When 'pixclock' is zero, the driver attempts to round it up to derive a frequency close to the maximum allowed, which can cause a division error. This vulnerability was reported by Syzkaller.
Users can update to the latest version of the Linux kernel where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/1d3fb46439ad4e8f0c5739eb33d1875ac9e0f135 | kernel.org | Patch |
| https://git.kernel.org/stable/c/40b13e3d85744210db13457785646634e2d056bd | kernel.org | Patch |
| https://git.kernel.org/stable/c/45800c42ef000f417270bcfc08630e42486fca99 | kernel.org | Patch |
| https://git.kernel.org/stable/c/53a2088a396cfa1da92690a1da289634cd73bf0d | kernel.org | Patch |
| https://git.kernel.org/stable/c/5c6f402bdcf9e7239c6bc7087eda71ac99b31379 | kernel.org | Patch |
| https://git.kernel.org/stable/c/6fe23ff94e7840097202e85c148688940b37c9b1 | kernel.org | Patch |
| https://git.kernel.org/stable/c/8c7e2141fb89c620ab4e41512e262fbf25b8260d | kernel.org | Patch |
| https://git.kernel.org/stable/c/c656d04247a2654ede5cead2ecbf83431dad5261 | kernel.org | Patch |
| https://git.kernel.org/stable/c/e498b504f8c81b07efab9febf8503448de4dc9cf | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-369 | Divide By Zero | [email protected] |
| CWE-369 | Divide By Zero | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | < 4.9.311 >= 4.10, < 4.14.276 >= 4.15, < 4.19.238 >= 4.20, < 5.4.189 >= 5.5, < 5.10.110 >= 5.11, < 5.15.33 >= 5.16, < 5.16.19 >= 5.17, < 5.17.2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 1, 2025 | CVE Modified | CISA-ADP |
| Mar 18, 2025 | Initial Analysis | [email protected] |
| Feb 26, 2025 | New CVE Received | kernel.org |