Refcount Leak in cleanup_dev() in char: xillybus

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1003213: char: xillybus: fix a refcount leak in cleanup_dev(). Affects Kernel versions < bc8fceda3b89006e8a7dda8a097d36045d044c25. 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 char: xillybus package is a component of the Linux Kernel, which is responsible for managing communication between user space and FPGA devices. It provides a character device interface for FPGA-based devices, allowing users to read from and write to these devices. The cleanup_dev() function is a part of this package and is responsible for cleaning up resources associated with a device when it is no longer needed.

Vulnerability Detail

The vulnerability in the cleanup_dev() function of char: xillybus is a refcount leak. When a device is being cleaned up, the function fails to properly release a reference count, leading to a resource leak. This can result in memory leaks and other resource-related issues. An attacker may be able to exploit this vulnerability to exhaust system resources, leading to a denial of service condition or potentially escalating their privileges.

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

There is no specific workaround provided for this vulnerability. Users are strongly encouraged to apply the fix by updating their Linux Kernel.

Conclusion

In conclusion, the refcount leak vulnerability in the cleanup_dev() function of char: xillybus can lead to resource leaks and potential system resource exhaustion or privilege escalation. Users are advised to update their Linux Kernel to version v5.15.47 or later to apply the fix. If you have any further questions or need assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability can lead to resource leaks, including memory leaks, and potentially allow attackers to exhaust system resources or escalate their privileges.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file, and Vulert will analyze it for any open-source vulnerabilities, including this one.

At the time of this report, there is no known exploit for this vulnerability. However, it is important to apply the fix as soon as possible to mitigate any potential risks.

If you are unable to update your Linux Kernel immediately, it is recommended to monitor your system for any signs of resource exhaustion or unusual behavior. Implementing additional security measures, such as strict access controls and network segmentation, can also help mitigate the risk.

You can find more information about this vulnerability in the Linux Kernel's Git repository. The specific commit that fixes this issue is bc8fceda3b89006e8a7dda8a097d36045d044c25.

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