CVE-2021-47641
"CirrusFB Divide by Zero Vulnerability"
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
INFO
Published Date :
Feb. 26, 2025, 6:37 a.m.
Last Modified :
March 18, 2025, 7:09 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
3.6
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-47641
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-47641
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-47641
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Mar. 18, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-369 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.189 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.33 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.17 up to (excluding) 5.17.2 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.15 up to (excluding) 4.19.238 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.110 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 5.16.19 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 4.9.311 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.10 up to (excluding) 4.14.276 Added Reference Type kernel.org: https://git.kernel.org/stable/c/1d3fb46439ad4e8f0c5739eb33d1875ac9e0f135 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/40b13e3d85744210db13457785646634e2d056bd Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/45800c42ef000f417270bcfc08630e42486fca99 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/53a2088a396cfa1da92690a1da289634cd73bf0d Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/5c6f402bdcf9e7239c6bc7087eda71ac99b31379 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/6fe23ff94e7840097202e85c148688940b37c9b1 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/8c7e2141fb89c620ab4e41512e262fbf25b8260d Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/c656d04247a2654ede5cead2ecbf83431dad5261 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/e498b504f8c81b07efab9febf8503448de4dc9cf Types: Patch -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Feb. 26, 2025
Action Type Old Value New Value Added 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 Added Reference https://git.kernel.org/stable/c/1d3fb46439ad4e8f0c5739eb33d1875ac9e0f135 Added Reference https://git.kernel.org/stable/c/40b13e3d85744210db13457785646634e2d056bd Added Reference https://git.kernel.org/stable/c/45800c42ef000f417270bcfc08630e42486fca99 Added Reference https://git.kernel.org/stable/c/53a2088a396cfa1da92690a1da289634cd73bf0d Added Reference https://git.kernel.org/stable/c/5c6f402bdcf9e7239c6bc7087eda71ac99b31379 Added Reference https://git.kernel.org/stable/c/6fe23ff94e7840097202e85c148688940b37c9b1 Added Reference https://git.kernel.org/stable/c/8c7e2141fb89c620ab4e41512e262fbf25b8260d Added Reference https://git.kernel.org/stable/c/c656d04247a2654ede5cead2ecbf83431dad5261 Added Reference https://git.kernel.org/stable/c/e498b504f8c81b07efab9febf8503448de4dc9cf
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-47641
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-47641
weaknesses.