Vulnerability in udmabuf package: validate ubuf->pagecount

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1001867: udmabuf: validate ubuf->pagecount. Affects Kernel versions >= fbb0de795078190a9834b3409e4b009cfb18a6d4, < 811b667cefbea9cb7511a874b169d6a92907137e. 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 udmabuf package is a component of the Linux Kernel ecosystem. It provides a mechanism for userspace applications to allocate and share contiguous memory buffers with DMA capabilities. These buffers are commonly used in scenarios where direct memory access is required, such as in multimedia applications or device drivers. However, a vulnerability has been discovered in the udmabuf package that could potentially be exploited by attackers.

Vulnerability Detail

The vulnerability in the udmabuf package lies in the validation of the 'ubuf->pagecount' parameter. This parameter represents the number of pages allocated for the buffer. Insufficient validation of this parameter could lead to various security issues, including buffer overflows, memory corruption, and privilege escalation. Attackers may be able to manipulate the 'ubuf->pagecount' value to access sensitive information, execute arbitrary code, or disrupt the system's stability. This vulnerability was introduced in version v4.20 of the Linux Kernel and has been fixed in version v5.15.33.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.15.33 or later. This update includes the necessary patch to validate the 'ubuf->pagecount' parameter properly. Users can obtain the updated kernel from the official Linux Kernel repository: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/

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

Workaround

No specific workaround has been provided for this vulnerability. It is advised to apply the fix mentioned above by updating the Linux Kernel to the recommended version.

Conclusion

The udmabuf package in the Linux Kernel is vulnerable to a validation issue in the 'ubuf->pagecount' parameter. This vulnerability can have severe consequences, including arbitrary code execution and information disclosure. It is crucial to update the Linux Kernel to version v5.15.33 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The udmabuf package is a component of the Linux Kernel ecosystem that allows userspace applications to allocate and share contiguous memory buffers with DMA capabilities.

The vulnerability in the udmabuf package could potentially be exploited by attackers to perform various malicious activities, including executing arbitrary code, accessing sensitive information, and disrupting system stability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.15.33 or later.

No specific workaround has been provided for this vulnerability. It is advised to update the Linux Kernel to the recommended version.

Users can obtain the updated Linux Kernel from the official Linux Kernel repository: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.15.33 or later. This update includes the necessary patch to validate the 'ubuf->pagecount' parameter properly. Users can obtain the updated kernel from the official Linux Kernel repository: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/

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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.