Vulnerability in Kernel package: video: fbdev: clcdfb: Fix refcount leak in clcdfb_of_vram_setup

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1004060: video: fbdev: clcdfb: Fix refcount leak in clcdfb_of_vram_setup. Affects Kernel versions >= d10715be03bd8bad59ddc50236cb140c3bd73c7b, < 6c92711db7c90f78e0b67ac2a8944d0fe7e12d83. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Kernel package is a fundamental component of the Linux operating system. It provides the core functionality and interfaces for various hardware devices and software components. The video subsystem within the Kernel package handles graphics and video-related operations. One of the video drivers, clcdfb, is responsible for supporting certain display controllers. However, a vulnerability has been identified in the clcdfb driver that can lead to a refcount leak in the clcdfb_of_vram_setup function.

Vulnerability Detail

The vulnerability in the clcdfb driver occurs due to a refcount leak in the clcdfb_of_vram_setup function. This can result in incorrect handling of memory references, potentially leading to memory corruption or other security issues. An attacker may be able to exploit this vulnerability to gain unauthorized access, escalate privileges, or cause a denial-of-service condition. The vulnerability was introduced in version v3.17 of the Linux Kernel and has been fixed in version v4.9.318.

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 Kernel package is not immediately feasible, a possible workaround is to disable the clcdfb driver or switch to an alternative video driver if available. This can be done by modifying the Kernel configuration and rebuilding the Kernel with the desired changes. However, it is important to note that this workaround may impact the functionality or performance of certain display controllers.

Conclusion

In conclusion, the Kernel package's clcdfb driver is vulnerable to a refcount leak in the clcdfb_of_vram_setup function. This vulnerability can have serious security implications, including unauthorized access, privilege escalation, or denial-of-service. It is crucial to update the Linux Kernel package to version v4.9.318 or later to mitigate this vulnerability. Alternatively, disabling the clcdfb driver or switching to an alternative video driver can serve as a temporary workaround. 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 potentially allow an attacker to gain unauthorized access, escalate privileges, or cause a denial-of-service condition.

You can use tools like Vulert (https://vulert.com) to check if your system is affected by this vulnerability. Vulert uses a manifest file like package-lock.json to monitor and alert in real-time for open-source vulnerabilities.

Yes, the vulnerability has been fixed in version v4.9.318 of the Linux Kernel. It is recommended to update to this version or a later one to mitigate the vulnerability.

Yes, disabling the clcdfb driver or switching to an alternative video driver can serve as a temporary workaround. However, this may impact the functionality or performance of certain display controllers.

For more details about this vulnerability, you can refer to the vulnerability report with ID GSD-2022-1004060 in the GSD database (https://github.com/cloudsecurityalliance/gsd-database).

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