Divide by Zero Vulnerability in Linux Kernel

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1001460: video: fbdev: cirrusfb: check pixclock to avoid divide by zero. Affects Kernel versions < 45800c42ef000f417270bcfc08630e42486fca99. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Linux Kernel is a critical component of the Linux operating system, responsible for managing system resources and providing an interface between hardware and software. It is widely used in various devices, including servers, desktops, and embedded systems. The vulnerability identified in this report affects the video subsystem of the Linux Kernel, specifically the cirrusfb driver. This driver is responsible for supporting the Cirrus Logic graphics controller family. The vulnerability arises due to a lack of proper validation in the handling of the pixclock parameter, which can lead to a divide by zero error.

Vulnerability Detail

The divide by zero vulnerability in the cirrusfb driver of the Linux Kernel can be exploited by an attacker to cause a denial-of-service condition or potentially execute arbitrary code with kernel privileges. By providing a specially crafted value for the pixclock parameter, an attacker can trigger a divide by zero error, leading to a system crash or potential privilege escalation. This vulnerability can be exploited remotely if the affected system is running a service that utilizes the cirrusfb driver, such as a virtual machine host.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

If updating the Linux Kernel is not immediately feasible, a temporary workaround can be implemented by disabling the cirrusfb driver. This can be achieved by blacklisting the 'cirrus' module or removing it from the kernel configuration. However, it is important to note that this workaround may result in the loss of functionality provided by the cirrusfb driver, such as support for Cirrus Logic graphics controllers.

Conclusion

The divide by zero vulnerability in the cirrusfb driver of the Linux Kernel can have serious consequences, including system crashes and potential privilege escalation. It is crucial for users to update their Linux Kernel to the fixed version or implement the provided workaround to mitigate the risk. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to a system crash or potential privilege escalation, allowing an attacker to disrupt the affected system or execute arbitrary code with kernel privileges.

Yes, this vulnerability can be exploited remotely if the affected system is running a service that utilizes the cirrusfb driver, such as a virtual machine host.

Yes, the vulnerability has been fixed in the Linux Kernel version v5.16.19 by commit 45800c42ef000f417270bcfc08630e42486fca99.

To update the Linux Kernel, users can obtain the updated kernel source code from the official Linux Kernel repository and compile it for their specific system configuration. Alternatively, they can wait for their Linux distribution to provide an updated package containing the fixed kernel version.

Yes, a temporary workaround is to disable the cirrusfb driver by blacklisting the 'cirrus' module or removing it from the kernel configuration. However, this may result in the loss of functionality provided by the cirrusfb driver.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback